home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / beav / text.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-03  |  13.9 KB  |  380 lines

  1. /*
  2. *   This file contains all text srtings
  3. */
  4. #include    "def.h"
  5.  
  6. /* in basic.c */
  7. char MSG_mark_set[] = "Mark set";
  8. char MSG_no_mark[] = "No mark in this window";
  9. char MSG_go_b_n[] = "Goto byte number: ";
  10. char MSG_bad_num[] = "ERROR: Bad number";
  11. char MSG_lX[] = "%lX";
  12. char MSG_lO[] = "%lo";
  13. char MSG_lD[] = "%ld";
  14.  
  15. /* in buffer.c */
  16. char MSG_use_b[] = "Enter name of buffer to goto: ";
  17. char MSG_kill_b[] = "Enter name of buffer to delete: ";
  18. char MSG_no_del_m[] = "ERROR: Can't delete 'main'";
  19. char MSG_buf_disp[] = "ERROR: Buffer is displayed - continue";
  20. char MSG_main[] = "main";
  21. char MSG_l_buf_h[] = "S T    Size  Buffer           File";
  22. char MSG_l_buf_h1[] = "- -   ------ ------           ----";
  23. char MSG_no_chg[] = "Discard changes";
  24. char MSG_yank_b[] = "Yank from buffer: ";
  25. char MSG_no_buf[] = "ERROR: no such buffer";
  26. char MSG_no_s_yank[] = "ERROR: can't yank to self!";
  27. char MSG_buf_nam[] = "Buffer name: ";
  28. char MSG_bad_l[] = "ERROR: Bad line!";
  29. char MSG_pick[] = "%s: G(oto) or K(ill) S(ave) ";
  30. char MSG_siz_chg[] = "Current buffer size may be changed";
  31. char MSG_no_siz_chg[] = "Current buffer size is locked";
  32. char MSG_up_arrow[] = "^";
  33. char MSG_null[] = "";
  34. char MSG_cnt_al_b[] = "ERROR: Cannot allocate BUFFER block";
  35. char MSG_ins_cnt[] = "Insert %s bytes, Hit Ctl-G to quit.";
  36.  
  37. /* in display.c */
  38. char MSG_prn_to[] = "Print to: ";
  39. char MSG_disp_r_n[] = "\r\n";
  40. char MSG_11lX[] = "%11lX:";
  41. char MSG_11lo[] = "%11lo:";
  42. char MSG_11ld[] = "%11ld:";
  43. char MSG_03o[] = "%03o";
  44. char MSG_06o[] = "%06o";
  45. char MSG_011lo[] = "%011lo";
  46. char MSG_03u[] = "%03u";
  47. char MSG_05u[] = "%05u";
  48. char MSG_010lu[] = "%010lu";
  49. char MSG_116e[] = "%+1.16e";
  50. char MSG_02X[] = "%02X";
  51. char MSG_04X[] = "%04X";
  52. char MSG_08lX[] = "%08lX";
  53. char MSG_prog_name[] = "BEAV";
  54. char MSG_init_file[] = "beav.ini";
  55. char MSG_init_var[]  = "INIT";
  56. char MSG_init_path[] = "PATH";
  57. char MSG_disp_b_lst[] = " Buffer List ";
  58. char MSG_file[] = "File: ";
  59. char MSG_RO[] = " [RO]";
  60. char MSG_WL[] = " [WL]";
  61. char MSG_RW[] = " [RW]";
  62. char MSG_AU[] = "[AU]";
  63. char MSG_NOT_AU[] = "    ";
  64. char MSG_curs_asc[] = "CURSOR=%08lX,   ASCII";
  65. char MSG_curs_ebc[] = "CURSOR=%08lX,  EBCDIC";
  66. char MSG_curs_hex[] = "CURSOR=%08lX,%2X   HEX";
  67. char MSG_curs_bin[] = "CURSOR=%08lX,%2X   BIN";
  68. char MSG_curs_dec[] = "CURSOR=%08lu,%2u   DEC";
  69. char MSG_curs_flt[] = "CURSOR=%08lu,%2u FLOAT";
  70. char MSG_curs_oct[] = "CURSOR=%08lo,%2o OCTAL";
  71. char MSG_siz_8[] = " 8 ";
  72. char MSG_siz_16[] = " 16";
  73. char MSG_siz_32[] = " 32";
  74. char MSG_siz_null[] = "   ";
  75. char MSG_int_shift[] = " S%X";
  76. char MSG_mot_shift[] = "  %X";
  77. char MSG_print1[] = "Writing: %s; Hit Ctl-G to quit";
  78. char MSG_print2[] = "Wrote %s lines";
  79. char MSG_cnt_al_v[] = "ERROR: Cannot allocate memory fot VIDEO";
  80.  
  81. /*  in ebcdic.c */
  82. #if RUNCHK
  83. char ERR_ebcdic[] =
  84. "ERROR: Character %s not found in EBCDIC table\n";
  85. #endif
  86.  
  87. /* in echo.c */
  88. char MSG_y_n[] = "%s [y/n]? ";
  89. char MSG_hex_dig[] = "0123456789ABCDEF";
  90. char MSG_hit_key[] = "  Hit Ctl-G to continue";
  91.  
  92. /* in extend.c */
  93. char MSG_not_now[] = "Not now";
  94. char MSG_func[] = "Function: ";
  95. char MSG_unk_func[] = "ERROR: Unknown function for binding";
  96. char MSG_cmd_t_ex[] = "Command to execute: ";
  97. char MSG_unk_ext[] = "ERROR: Unknown extended command";
  98. char MSG_unk_rc[] = "ERROR: Unknown rc command: ";
  99. char MSG_d_b[] =
  100. "Display key binding for which key? (hit key now!)";
  101. char MSG_unbd[] = "%s is unbound";
  102. char MSG_bnd_to[] = "%s is bound to %s";
  103. char MSG_ins_self[] = "ins-self";
  104. char MSG_bnd_file[] = "Binding file: ";
  105. char MSG_bld_wall[] = "Building help buffer";
  106. char MSG_wall_head[] = "#  Function name                Key binding        Key code";
  107. char MSG_beavrc[] = "beavrc";
  108.  
  109. /* in file.c */
  110. char MSG_rd_file[] = "Read file: ";
  111. char MSG_trash[] = "#tempbuf#";
  112. char MSG_ins_file[] = "Insert file: ";
  113. char MSG_not_fnd[] = "Not found";
  114. char MSG_visit[] = "Visit file: ";
  115. char MSG_view[] = "View file (read only): ";
  116. char MSG_buf_ex[] = "ERROR: Buffer exists";
  117. char MSG_old_buf[] = "ERROR: Old buffer";
  118. char MSG_cnt_cr[] = "ERROR: Cannot create buffer";
  119. char MSG_reading[] = "reading <%s>";
  120. char MSG_read_lx[] = "Read %s bytes, Hit Ctl-G to quit.";
  121. char MSG_no_mem_rd[] =
  122. "ERROR: Insufficient memory, buffer set to read only";
  123. char MSG_wr_file[] = "Write file: ";
  124. char MSG_no_fn[] = "ERROR: No file name";
  125. char MSG_bk_err[] = "ERROR: Backup error, save anyway";
  126. char MSG_writing[] = "writing <%s>";
  127. char MSG_wrot_n[] = "Wrote %s bytes, Hit Ctl-G to quit.";
  128. char MSG_fil_nam[] = "File name: ";
  129. #if RUNCHK
  130. char ERR_parse_fn[] =
  131. "ERROR: Starting address (%s) must preceede ending address (%s)";
  132. char ERR_addr_neg[] = "ERROR: Addresses cannot be negative";
  133. char ERR_f_size[] =
  134. "ERROR: Cannot access past end of file. (file size = %s)";
  135. #endif
  136.  
  137. /* in fileio.c */
  138. char MSG_cnt_wr[] = "ERROR: Cannot open file for writing";
  139. char MSG_cnt_rd[] = "ERROR: Cannot open file for reading";
  140. char MSG_wr_io_er[] = "ERROR: Write I/O error";
  141. char MSG_rd_er[] = "ERROR: File read error";
  142. #if UNIX
  143. char MSG_bak[] = ".~";
  144. #else
  145. char MSG_bak[] = ".bak";
  146. #endif
  147. char MSG_backup[] = "Back-up of %s to %s";
  148. char MSG_back_er[] = "ERROR: Back-up of %s to %s FAILED !!";
  149. char MSG_back_of[] = "%s - Back-up of  <%s> to <%s>\n";
  150.  
  151. /* in format.c */
  152. char hex_str[] = "%X";
  153. char hex_l_str[] = "%lX";
  154. char octal_str[] = "%o";
  155. char octal_l_str[] = "%lo";
  156. char decimal_str[] = "%u";
  157. char decimal_l_str[] = "%lu";
  158. char float_str[] = "%e";
  159. char char_str[] = "%c";
  160.  
  161. /* in kbd.c */
  162. char MSG_tab[] = "Tab";
  163. char MSG_ret[] = "Return";
  164. char MSG_bksp[] = "Backspace";
  165. char MSG_space[] = "Space";
  166. char MSG_rubout[] = "Rubout";
  167.  
  168. /* in line.c */
  169. char MSG_cnt_alloc[] = "ERROR: Cannot allocate %s bytes for a line";
  170. char MSG_save_buf[] = "save-buffer";
  171.  
  172. /* in main.c */
  173. char MSG_ok[] = "ok";
  174. char MSG_no_mod[] = "ERROR: Buffer can not be modified";
  175. char MSG_no_s_chg[] = "ERROR: Buffer size can not be changed";
  176. char MSG_auto_fl[] = "Doing auto buffer flush";
  177. char MSG_quit[] = "quit-no-save";
  178. char MSG_st_mac[] = "Start macro";
  179. char MSG_end_mac[] = "End macro";
  180. char MSG_num_mod[] = "Number of modifcations per update: ";
  181. char version[] = "BEAV, Ver 1.33,  Aug. 9, 1992";
  182.  
  183. /*  in random.c */
  184. char MSG_sh_pos[] =
  185. "Cursor: %s, Mark: %s,  Buffer Size: %s, File Size: %s";
  186. char MSG_sh_pos1[] =
  187. "Cursor: %s, No Mark, Buffer Size: %s, File Size: %s";
  188. char MSG_f_str[] = ", File: <%s>";
  189. char MSG_3u[] = "%3u";
  190. char MSG_5u[] = "%5u";
  191. char MSG_lu[] = "%lu";
  192. char MSG_lnk[] = "All windows on buffer <%s> are %s";
  193. char MSG_unlink[] = "unlinked";
  194. char MSG_link[] = "linked";
  195. char MSG_bad_key[] = "ERROR: bad key = ";
  196. char MSG_esc[] = "Esc,";
  197. char MSG_ctl_x[] = "Ctl-X,";
  198. char MSG_ctl[] = "Ctl-";
  199. char MSG_fn[] = "FN,";
  200. char MSG_key_code[] = "%s, %s";
  201. char MSG_w_not_empty[] = "Destination buffer must be empty and modifiable";
  202. char MSG_procing[] = "Processing at %s, Hit Ctl-G to quit.";
  203. char MSG_edit_float[] = "ERROR: Cannot edit floating point display.";
  204.  
  205. /* in region.c */
  206. char MSG_sv_in_b[] = "Save in buffer: ";
  207. char MSG_sav_slf[] = "ERROR: Can't save to self!";
  208.  
  209. /* in search.c */
  210. char MSG_sch_str[] = " Search String";
  211. char MSG_bsrc_str[] = "Back Search String";
  212. char MSG_rpl_str[] = "Replace String";
  213. char MSG_pat_fnd[] = "Pattern found at %s";
  214. char MSG_no_srch[] = "ERROR: No last search";
  215. char MSG_fnd_at[] =
  216. "Found at %s, (R)eplace, (S)kip, (A)ll, (O)ne, (Q)uit.";
  217. char MSG_no_rpl[] = "No replacements done";
  218. char MSG_1_rpl[] = "1 replacement done";
  219. char MSG_n_rpl[] = "%s replacements done";
  220. char MSG_srcing[] = "Searching at %s, Hit Ctl-G to quit.";
  221. char MSG_curs[] = "%s; Curs = %s, %s Len = %s => ";
  222. char MSG_cmp_end[] = "Compare reached the end of a buffer";
  223. char MSG_cmp_term[] = "Compare terminated by user";
  224. char MSG_cmp_dif[] =
  225. "Difference is detected at the two cursor positions";
  226. char MSG_only_2[] =
  227. "ERROR: There must be exactly two windows displayed to use Compare";
  228. char MSG_cmping[] = "Comparing at %s, Hit Ctl-G to quit.";
  229.  
  230. /* in spawn.c */
  231. char MSG_shell[] = "COMSPEC";
  232. #ifdef OS2
  233. char MSG_def_shell[] = "cmd.exe";
  234. #else
  235. char MSG_def_shell[] = "/command.com";
  236. #endif
  237. char MSG_pmpt[] = "PROMPT=[BEAV]";
  238. char MSG_pt[] = "PROMPT";
  239. char MSG_pme[] = "PROMPT=";
  240.  
  241. /* in symbol.c */
  242. char MSG_byte_shift[] = "display-byte-shift";
  243. char MSG_back_char[] = "move-back-char";
  244. char MSG_forw_del_char[] = "delete-forw-char";
  245. char MSG_toggle_swap[] = "display-swap-order";
  246. char MSG_forw_char[] = "move-forw-char";
  247. char MSG_abort[] = "abort-cmd";
  248. char MSG_back_del_char[] = "delete-back-char";
  249. char MSG_refresh[] = "refresh-screen";
  250. char MSG_forw_line[] = "move-forw-line";
  251. char MSG_back_line[] = "move-back-line";
  252. char MSG_quote[] = "insert-literally";
  253. char MSG_recall[] = "recall-srch-string";
  254. char MSG_twiddle[] = "unit-twiddle";
  255. char MSG_forw_page[] = "move-forw-page";
  256. char MSG_kill_region[] = "delete-mark-to-cursor";
  257. char MSG_yank[] = "yank";
  258. char MSG_down_window[] = "move-window-down";
  259. char MSG_ins_toggle[] = "insert-toggle";
  260. char MSG_display_buffers[] = "buffers-display";
  261. char MSG_exit_flush_all[] = "quit-save-all";
  262. char MSG_set_file_name[] = "buffer-set-file-name";
  263. char MSG_file_insert[] = "insert-file";
  264. char MSG_buf_size_lock[] = "buffer-size-lock";
  265. char MSG_flush_all[] = "save-all-buffers";
  266. char MSG_up_window[] = "move-window-up";
  267. char MSG_file_read[] = "file-read";
  268. char MSG_file_save[] = "file-save";
  269. char MSG_file_visit[] = "file-visit";
  270. char MSG_file_write[] = "file-write";
  271. char MSG_swap_dot_and_mark[] = "swap-cursor-and-mark";
  272. char MSG_shrink_window[] = "window-shrink";
  273. char MSG_display_position[] = "show-position";
  274. char MSG_start_macro[] = "macro-start";
  275. char MSG_end_macro[] = "macro-end";
  276. char MSG_help[] = "binding-for-key";
  277. char MSG_only_window[] = "window-single";
  278. char MSG_del_window[] = "window-delete";
  279. char MSG_split_window[] = "window-split";
  280. char MSG_scr_row[] = "screen-rows";
  281. char MSG_use_buffer[] = "change-buffer";
  282. char MSG_spawn_cli[] = "spawn-shell";
  283. char MSG_execute_macro[] = "macro-execute";
  284. char MSG_goto_line[] = "move-to-byte";
  285. char MSG_ins_unit[] = "insert-unit";
  286. char MSG_kill_buffer[] = "kill-buffer";
  287. char MSG_load_bindings[] = "bindings-load";
  288. char MSG_forw_window[] = "change-window-forw";
  289. char MSG_back_window[] = "change-window-back";
  290. char MSG_view_file[] = "file-view";
  291. char MSG_enlarge_window[] = "window-enlarge";
  292. char MSG_ascii_mode[] = "display-ascii";
  293. char MSG_binary_mode[] = "display-binary";
  294. char MSG_n_combine[] = "n-way-combine";
  295. char MSG_buffer_name[] = "buffer-set-name";
  296. char MSG_decimal_mode[] = "display-decimal";
  297. char MSG_ebcdic_mode[] = "display-ebcdic";
  298. char MSG_float_mode[] = "display-float";
  299. char MSG_hex_mode[] = "display-hex";
  300. char MSG_back_del_unit[] = "delete-back-unit";
  301. char MSG_octal_mode[] = "display-octal";
  302. char MSG_n_split[] = "n-way-split";
  303. char MSG_display_version[] = "show-version";
  304. char MSG_show_save_buf[] = "show-save-buf";
  305. char MSG_unit_size1[] = "display-bytes";
  306. char MSG_unit_size2[] = "display-words";
  307. char MSG_unit_size4[] = "display-double-words";
  308. char MSG_reposition_window[] = "window-reposition";
  309. char MSG_set_mark[] = "mark-set";
  310. char MSG_goto_eob[] = "move-to-end";
  311. char MSG_goto_bob[] = "move-to-begining";
  312. char MSG_next_buff[] = "change-to-next-buffer";
  313. char MSG_prev_buff[] = "change-to-prev-buffer";
  314. char MSG_query_replace[] = "replace";
  315. char MSG_display_bindings[] = "help";
  316. char MSG_auto_save[] = "auto-save";
  317. char MSG_back_unit[] = "move-back-unit";
  318. char MSG_compare[] = "compare";
  319. char MSG_forw_del_unit[] = "delete-forw-unit";
  320. char MSG_forw_unit[] = "move-forw-unit";
  321. char MSG_link_windows[] = "window-link";
  322. char MSG_print[] = "print-mark-to-cursor";
  323. char MSG_back_search[] = "search-back";
  324. char MSG_forw_search[] = "search-forw";
  325. char MSG_back_page[] = "move-back-page";
  326. char MSG_copy_region[] = "copy-mark-to-cursor";
  327. char MSG_extended_command[] = "extended-command";
  328. char MSG_search_again[] = "search-again";
  329. char MSG_bind_to_key[] = "bind-to-key";
  330. char MSG_file_visit_split[] = "file-visit-split";
  331. char MSG_yank_buffer[] = "yank-buffer";
  332. char MSG_save_region[] = "save-mark-to-cursor";
  333. char MSG_use_buffer_split[] = "move-to-buffer-split";
  334. char MSG_no_f_tb[] =
  335. "ERROR: Could not find <%s> in look up table\n";
  336.  
  337. /* in ttykbd.c */
  338. char MSG_sp_key[] = "%u special keys bound\n";
  339.  
  340. /* in window.c */
  341. char MSG_no_splt[] = "ERROR: Cannot split a %s line window";
  342. char MSG_cnt_al_w[] = "ERROR: Cannot allocate WINDOW block";
  343. char MSG_one_w[] = "ERROR: Only one window";
  344. char MSG_imp_chg[] = "ERROR: Impossible change";
  345. char MSG_scrn_rows[] = "Number of screen rows: ";
  346.  
  347. #if RUNCHK
  348. /* in basic.c */
  349. char ERR_bas_1[] = "ERROR: unknown r_type in basic #1";
  350.  
  351. /* in display.c */
  352. char ERR_disp_1[] = "ERROR: unknown r_type in display #1";
  353. char ERR_disp_2[] = "ERROR: unknown r_type in display #2";
  354. char ERR_disp_3[] = "ERROR: row less than zero\n";
  355. char ERR_disp_4[] = "ERROR: row greater then window size\n";
  356. char ERR_disp_5[] = "ERROR: unknown r_type in display #3";
  357. char ERR_disp_6[] = "ERROR: unknown r_size in display ";
  358. /* in line.c */
  359. char ERR_no_alloc[] =
  360. "ERROR: new line was allocated during read pattern\n";
  361. char ERR_db_dalloc[] =
  362. "ERROR: line was deallocated during read pattern\n";
  363. char ERR_lock[] = "ERROR: This is size locked, cannot insert.";
  364. char ERR_lock_del[] = "ERROR: This is size locked, cannot delete.";
  365. /* in random.c */
  366. char ERR_rnd_1[] = "ERROR: unknown r_type in random #1";
  367. char ERR_rnd_2[] = "ERROR: unknown r_size in random #2";
  368. char ERR_rnd_3[] = "ERROR: unknown r_type in random #3";
  369. char ERR_rnd_4[] = "ERROR: unknown r_size in random #4";
  370. char ERR_rnd_5[] = "ERROR: unknown r_size in random #5";
  371. char ERR_rnd_6[] = "ERROR: unknown r_size in random #6";
  372. char ERR_rnd_7[] = "ERROR: unknown r_size in random #7";
  373. /* in search.c */
  374. char ERR_rdpat[] = "ERROR: bad r_type in readpattern\n";
  375. char ERR_mask[] = "ERROR: size of mask pattern, pat=%d, mask=%d\n";
  376. char ERR_m_cl[] = "ERROR: in ascii mode mask byte was not cleared\n";
  377. /* in ttyio.c */
  378. char ERR_bd_pl[] = "ERROR: bad call to putline\n";
  379. #endif
  380.