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