home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / rru_reso.z / rru_reso / slib / X11 / app-defaults.gray / Asedit < prev    next >
Encoding:
Text File  |  1994-09-26  |  22.6 KB  |  635 lines

  1. !
  2. !    Asedit app-defaults file for asedit program (ver. 1.2)
  3. !       (C) A. Stochniol, 1991 - 1993
  4. !
  5. !    English version
  6. !
  7. !    Resources are grouped according to the probability of their
  8. !       changes by the user. For a typical user probably only part 1
  9. !    is all what is needed. So we recommend to construct the personal
  10. !    (private) customization file that consists mainly of part 1.
  11. !
  12. !
  13. !
  14.  
  15.  
  16. !    Resources - part 1 (the most likely to be customized by a user).
  17. !    ----------------------------------------------------------------
  18. !
  19. !   colours for menu_bar ( = all menus & most dialogs), help_dialog
  20. !   and save_warning,  and main text area (i.e. all the rest)
  21. !   NOTE: colours are done in rgb just in case your colour database is "weird"
  22. !      (or simply you use the program in your "locale" and the colour
  23. !       names are completely different)
  24. *menu_bar*background:     Coral
  25. *help_dialog*background:  SandyBrown
  26. *background:          SandyBrown
  27. *XmText*background:          SandyBrown
  28. !   colours for important warning/error messages
  29. !   NOTE: colours are done in rgb ... (see above)
  30. *save_warning*background: sandybrown
  31. *menu_bar*error_message*background: sandybrown
  32.  
  33. !
  34. !   Fonts .....
  35. !
  36.  
  37. *menu_bar*fontList:          -*-helvetica-bold-r-normal-*-14-100-*-*-*-*-iso8859-1
  38. *menu_bar*XmText.fontList:         -*-helvetica-bold-r-normal-*-14-100-*-*-*-*-iso8859-1
  39. *help_dialog*fontList:        -*-helvetica-bold-r-normal-*-14-100-*-*-*-*-iso8859-1
  40. *save_warning*fontList:        -*-helvetica-bold-r-normal-*-14-100-*-*-*-*-iso8859-1
  41.  
  42. *XmText.fontList:           -bitstream-courier-bold-r-normal-*-*-140-*-*-m-*-iso8859-1
  43. *bottom_row*fontList:         -bitstream-courier-medium-r-normal-*-*-140-*-*-m-*-iso8859-1
  44.  
  45. !
  46. !   Start up sizes of main text widget and hypertext text widget
  47. !
  48. *edit_text.rows:    24
  49. *edit_text.columns:    80
  50.  
  51. *hypertext_text.rows:    20
  52. *hypertext_text.columns: 60
  53.  
  54. !   Setup for local printers/print queues ...
  55. *print_dialog.listItems:                        lp \,lp -d hp \,lp -d nechp \,qprt -da -Pps
  56. !   the following line should contain the count from the above line (number of printers)!!!
  57. *print_dialog.listItemCount:                    4
  58. *print_dialog.listVisibleItemCount:             3
  59.  
  60. !   default start-up Untitled file name  ("NoName")
  61. *noname:            NoName
  62.  
  63. !   Redefinition of system temporary directory (usually /tmp) is done by
  64. !   specifying tmpDir resource (uncomment and edit the following line)
  65. !*tmpDir:    /tmp
  66.  
  67. !   Redefinition of help directory (set during installation) is done by
  68. !   specifying helpDir resource (uncomment and edit the following line)
  69. !*helpDir:    /usr/lib/X11
  70.  
  71. !   Redefinition of backupFileSuffix (set during installation) is done by
  72. !   specifying backupFileSuffix resource (uncomment and edit the following line)
  73. !*backupFileSuffix:    .bak
  74.  
  75.  
  76.  
  77. !    Part 2 - general & visual consistency resources.
  78. !    ------------------------------------------------
  79.  
  80. !    general appearance and behaviour defaults
  81. !
  82. *allowShellResize:        true
  83. *borderWidth:            0
  84. *highlightThickness:        2
  85. !
  86. !    display all the toggles even when they are not on
  87. *visibleWhenOff:        true
  88. !
  89. !    Specific resources for Motif 1.0.
  90. !    In Motif 1.0 we have to use the    following lines to enable traversal
  91. !    to take place (these are the default values since Motif 1.1, so for
  92. !    Motif 1.1, 1.2 you may not specify these if you like)
  93. !
  94. *traversalOn:                    true
  95. *XmLabel.traversalOn:                false
  96. *XmSeparator.traversalOn:            false
  97. *XmScrolledWindow.XmScrollbar.traversalOn:    false
  98. !
  99. !
  100. !    specific defaults for asedit
  101. !
  102. !   setting the same visual pleasing margin (8) for all buttons and labels
  103. !   (for separators the default margin 0 is the appropriate one )
  104. !
  105. *XmPushButton.marginWidth:      8
  106. *XmLabel.marginWidth:           8
  107. *XmCascadeButton.marginWidth:   8
  108.  
  109. !   increase the standard label setting to align them with text widgets
  110. *XmRowColumn*XmLabel.marginHeight:      4
  111.  
  112. !   setting margins in the status row (bottom_row):
  113. *bottom_row*XmLabel.marginWidth:        3
  114.  
  115. !   setting offsets affecting the status row (form_frame_bottom)
  116. *form_frame_bottom*topOffset:        2
  117. *form_frame_bottom*bottomOffset:    2
  118. *form_frame_bottom*leftOffset:        2
  119. *form_frame_bottom*rightOffset:        2
  120.  
  121. !
  122. !   If you would like to have your personalized appl defaults file I recommend
  123. !   to copy ONLY the above parts of this file (part 1 might be just enough).
  124. !
  125.  
  126.  
  127.  
  128.  
  129. !    Part 3 - language dependent resources (to preserve consistency
  130. !    any changes here *should* be reflected in the on-line help file !)
  131. !    ----------------------------------------------------------------
  132.  
  133. !
  134. !   Menu bar & all menus resources:
  135. !   All necessary resources for an international application are specified
  136. !   here. This includes labels, mnemonics, accelerators and accelerator text.
  137. !   Note: you may safely add/remove/change accelerators and mnemonics, but
  138. !   be sure that the acceleratorText changes with accelerator. You may also
  139. !   change the labelString values (but do NOT remove them).
  140. !
  141. !   Menu bar:
  142. !
  143. *menu_bar.File.labelString:     File
  144. *menu_bar.File.mnemonic:     F
  145. *menu_bar.Edit.labelString:     Edit
  146. *menu_bar.Edit.mnemonic:     E
  147. *menu_bar.Search.labelString:     Search
  148. *menu_bar.Search.mnemonic:     S
  149. *menu_bar.Help.labelString:     Help
  150. *menu_bar.Help.mnemonic:     H
  151.  
  152.  
  153. ! General (standard) labels for buttons in the dialogs
  154. !
  155. *OK.labelString:        OK
  156. *Apply.labelString:        Apply
  157. *Cancel.labelString:        Cancel
  158. *Help.labelString:        Help
  159.  
  160.  
  161. !
  162. !   File PullDown menu:
  163. !
  164.  
  165. *File_PullDown.Open.labelString:      Open...
  166. *File_PullDown.Open.mnemonic:         O
  167. *File_PullDown.Open.acceleratorText:  F3
  168. *File_PullDown.Open.accelerator:      <Key>F3:
  169.  
  170. *File_PullDown.New.labelString:       New
  171. *File_PullDown.New.mnemonic:          N
  172.  
  173. *File_PullDown.Close.labelString:     Close
  174. *File_PullDown.Close.mnemonic:        C
  175.  
  176. *File_PullDown.Save.labelString:      Save
  177. *File_PullDown.Save.mnemonic:         S
  178. *File_PullDown.Save.acceleratorText:  F2
  179. *File_PullDown.Save.accelerator:      <Key>F2:
  180.  
  181. *File_PullDown.Save_As.labelString:   Save As...
  182. *File_PullDown.Save_As.mnemonic:      A
  183.  
  184. *File_PullDown.Insert.labelString:     Insert...
  185. *File_PullDown.Insert.mnemonic:        I
  186.  
  187. *File_PullDown.Print.labelString:     Print...
  188. *File_PullDown.Print.mnemonic:        P
  189.  
  190. *File_PullDown.Exit.labelString:      Exit
  191. *File_PullDown.Exit.mnemonic:         x
  192. *File_PullDown.Exit.acceleratorText:  Alt+x
  193. *File_PullDown.Exit.accelerator:      Meta<Key>q:
  194.  
  195. !
  196. !   Edit PullDown menu:
  197. !   (for hpux (HP Unix) you should define replace in accelerator definitions
  198. !    Delete by DeleteChar and Insert by InsertChar)
  199. !
  200. *Edit_PullDown.Undo.labelString:      Undo
  201. *Edit_PullDown.Undo.mnemonic:         U
  202. *Edit_PullDown.Undo.acceleratorText:  Alt+BkSp
  203. *Edit_PullDown.Undo.accelerator:      ~Shift Meta <Key>BackSpace:
  204.  
  205. *Edit_PullDown.Redo.labelString:      Redo
  206. *Edit_PullDown.Redo.mnemonic:         R
  207. *Edit_PullDown.Redo.acceleratorText:  Shift+Alt+BkSp
  208. *Edit_PullDown.Redo.accelerator:      Shift Meta <Key>BackSpace:
  209.  
  210. *Edit_PullDown.Cut.labelString:       Cut
  211. *Edit_PullDown.Cut.mnemonic:          t
  212. *Edit_PullDown.Cut.acceleratorText:   Shift+Del
  213. *Edit_PullDown.Cut.accelerator:       Shift<Key>Delete:
  214.  
  215. *Edit_PullDown.Copy.labelString:      Copy
  216. *Edit_PullDown.Copy.mnemonic:         C
  217. *Edit_PullDown.Copy.acceleratorText:  Ctrl+Ins
  218. *Edit_PullDown.Copy.accelerator:      Ctrl<Key>Insert:
  219.  
  220. *Edit_PullDown.Paste.labelString:     Paste
  221. *Edit_PullDown.Paste.mnemonic:        P
  222. *Edit_PullDown.Paste.acceleratorText: Shift+Ins
  223. *Edit_PullDown.Paste.accelerator:     Shift<Key>Insert:
  224.  
  225. *Edit_PullDown.Clear.labelString:     Clear
  226. *Edit_PullDown.Clear.mnemonic:        e
  227. *Edit_PullDown.Clear.acceleratorText: Del
  228. ! the above is a text of pseudo accelerator (we don't need to define
  229. ! accelerator because the text widget already handles that acttion properly)
  230. !
  231. !   Search PullDown menu:
  232. !
  233. *Search_PullDown.Find.labelString:    Find...
  234. *Search_PullDown.Find.mnemonic:       F
  235. *Search_PullDown.Find.acceleratorText:  ^q^f
  236.  
  237. *Search_PullDown.Repeat.labelString:  Repeat last Find
  238. *Search_PullDown.Repeat.mnemonic:     R
  239. *Search_PullDown.Repeat.accelerator:  Ctrl<Key>l:
  240. *Search_PullDown.Repeat.acceleratorText:  ^l
  241.  
  242. *Search_PullDown.Change.labelString:  Change...
  243. *Search_PullDown.Change.mnemonic:     C
  244. *Search_PullDown.Change.acceleratorText:  ^q^a
  245.  
  246. *Search_PullDown.Go_to.labelString:   Go to line...
  247. *Search_PullDown.Go_to.mnemonic:      G
  248.  
  249. *Search_PullDown.Mark.labelString:   Bookmark
  250. *Search_PullDown.Mark.mnemonic:      B
  251.  
  252.  
  253. !
  254. !    Mark PullDown menu:
  255. !
  256. *Mark_PullDown.Set.labelString:   Set
  257. *Mark_PullDown.Set.mnemonic:      S
  258.  
  259. *Mark_PullDown.Go_to.labelString:   Go to
  260. *Mark_PullDown.Go_to.mnemonic:      G
  261.  
  262. !
  263. !    Set & Go_to PullDown menu: (only accelerator text)
  264. !
  265. *Set_PullDown.0.acceleratorText:  ^k^0
  266. *Set_PullDown.1.acceleratorText:  ^k^1
  267. *Set_PullDown.2.acceleratorText:  ^k^2
  268. *Set_PullDown.3.acceleratorText:  ^k^3
  269. *Set_PullDown.4.acceleratorText:  ^k^4
  270. *Set_PullDown.5.acceleratorText:  ^k^5
  271. *Set_PullDown.6.acceleratorText:  ^k^6
  272. *Set_PullDown.7.acceleratorText:  ^k^7
  273. *Set_PullDown.8.acceleratorText:  ^k^8
  274. *Set_PullDown.9.acceleratorText:  ^k^9
  275.  
  276. *Go_to_PullDown.0.acceleratorText:  ^q^0
  277. *Go_to_PullDown.1.acceleratorText:  ^q^1
  278. *Go_to_PullDown.2.acceleratorText:  ^q^2
  279. *Go_to_PullDown.3.acceleratorText:  ^q^3
  280. *Go_to_PullDown.4.acceleratorText:  ^q^4
  281. *Go_to_PullDown.5.acceleratorText:  ^q^5
  282. *Go_to_PullDown.6.acceleratorText:  ^q^6
  283. *Go_to_PullDown.7.acceleratorText:  ^q^7
  284. *Go_to_PullDown.8.acceleratorText:  ^q^8
  285. *Go_to_PullDown.9.acceleratorText:  ^q^9
  286.  
  287.  
  288. !
  289. !   Help PullDown menu:
  290. !
  291. *Help_PullDown.On_Keys.labelString:   On Keys
  292. *Help_PullDown.On_Keys.mnemonic:      K
  293.  
  294. *Help_PullDown.Index.labelString:     Index
  295. *Help_PullDown.Index.mnemonic:        I
  296.  
  297. *Help_PullDown.On_Help.labelString:   On Help
  298. *Help_PullDown.On_Help.mnemonic:      H
  299.  
  300. *Help_PullDown.About.labelString:     About...
  301. *Help_PullDown.About.mnemonic:        A
  302.  
  303.  
  304. !
  305. ! Dialog resources ......
  306.  
  307. *help_dialog.title:            asedit - Help
  308. *help_dialog*Follow.labelString:    Follow
  309. *help_dialog*Back.labelString:        Back
  310. *help_dialog*Index.labelString:        Index
  311. *help_dialog*Close.labelString:        Close
  312. *help_dialog*Help.labelString:        Help
  313.  
  314.  
  315. *open_dialog.dialogTitle:         asedit - Load a File
  316. *open_dialog*fileListLabelString:        Files
  317. *open_dialog*filterLabelString:            Filter
  318. *open_dialog*dirListLabelString:        Directories
  319. *open_dialog*Selection.labelString:         Selection
  320. *open_dialog*applyLabelString:                  Filter
  321. *open_dialog*open_view_only.labelString:    Open for view only
  322.  
  323. !   replace dialog resources
  324. !    Note: the title for the change_verify_button will be dynamically set
  325. !    according to the use of the button in "Find" dialog or "Change" dialog
  326.  
  327. *replace_dialog.okLabelString:            Find & Verify
  328. *replace_dialog.applyLabelString:        Change All
  329. *replace_dialog.cancelLabelString:        Close
  330. *replace_dialog*text_to_find_title.labelString: Text to Find:
  331. *replace_dialog*new_text_title.labelString:     Change To:
  332.  
  333. *replace_dialog*options_title.labelString:      Options
  334. *replace_dialog*case_sensitive.labelString:    Case sensitive
  335. *replace_dialog*whole_words.labelString:    Whole words only
  336.  
  337. *replace_dialog*direction_title.labelString:    Direction
  338. *replace_dialog*Forward.labelString:        Forward
  339. *replace_dialog*Backward.labelString:        Backward
  340.  
  341. *change_prompt.dialogTitle:             asedit - Change Prompt
  342. *change_prompt.okLabelString:            Change
  343. *change_prompt.applyLabelString:        Skip
  344.  
  345. *continue_search_question.dialogTitle:         asedit - Search
  346. *continue_search_question.okLabelString:    Yes
  347. *continue_search_question.cancelLabelString:    No
  348.  
  349. *search_end_message.dialogTitle:         asedit - Change All
  350. *search_end_message.cancelLabelString:        Close
  351.  
  352. *go_to_line.dialogTitle:             asedit - Go to Line
  353. *go_to_line.selectionLabelString:        Enter new line number:
  354.  
  355. !
  356. !   overwrite question dialog
  357.  
  358. *overwrite_question.dialogTitle:         asedit - Overwrite ?
  359. *overwrite_question.okLabelString:        Yes
  360. *overwrite_question.cancelLabelString:        Cancel
  361.  
  362. !   error message dialog resources (cancel button used to dismiss dialog)
  363. *error_message.dialogTitle:             asedit - Error!
  364. *error_message.cancelLabelString:        OK
  365. *error_message.messageString:            Error message
  366.  
  367. *save_dialog.dialogTitle:             asedit - Save As
  368. *save_dialog.selectionLabelString:        Save File As
  369.  
  370. *print_dialog.dialogTitle:            asedit - Print
  371. *print_dialog.listLabelString:             Printers
  372. *print_dialog.selectionLabelString:        Print using:
  373. *print_dialog.okLabelString:            Print
  374. *print_dialog*range_title.labelString:        Range
  375. *print_dialog*selection.labelString:        Selected text only
  376. *print_dialog*complete.labelString:        Complete document
  377. ! NOTE: that part of the print_dialog was set up at the beginning of that file
  378.  
  379. *insert_dialog.dialogTitle:               asedit - Insert a File
  380. *insert_dialog*fileListLabelString:               Files
  381. *insert_dialog*filterLabelString:                 Filter
  382. *insert_dialog*dirListLabelString:                Directories
  383. *insert_dialog*Selection.labelString:             Selection
  384. *insert_dialog*applyLabelString:                  Filter
  385.  
  386.  
  387. *save_warning.dialogTitle:             asedit - File not Saved!
  388. *save_warning.okLabelString:            Yes
  389. *save_warning.applyLabelString:            No
  390.  
  391. *about.dialogTitle:                asedit - About
  392. *about.cancelLabelString:            Close
  393.  
  394. *bottom_row.line.labelString:            Line:
  395. *bottom_row.column.labelString:            Col:
  396.  
  397. !   Language specific messages/questions etc....
  398. !
  399. !   fm_... file messages ...
  400. *fm_unable_to_open:        Error: unable to open file:\n
  401. !
  402. !
  403. *fm_unable_to_save:        Error: unable to save file:\n
  404. *fm_not_closed:            .\nFile not closed!
  405. *fm_print_failed:        Print failed !
  406. *fm_exit_aborted:        .\nExit aborted!
  407. *fm_not_printed:        .\nFile not printed.
  408. *fm_not_regular:        not a regular file.
  409. *fm_no_selection:        Can't print selection. Text not selected!
  410. *fm_no_printer:            Select or specify a printer, please!
  411.  
  412. !   fq_... file questions ...
  413. *fq_overwrite:            Overwrite existing file:\n
  414. *fq_save_changes:        Do you want to save changes to
  415.  
  416. !   labels for find/change buttons (shared widget)
  417. *find_label:            Find
  418. *find_next_label:        Find Next
  419. *change_label:            Change
  420. *find_n_verify_label:         Find & Verify
  421.  
  422. !   titles for find/change dialogs (shared widget)
  423. *find_dialogTitle:        asedit - Find
  424. *change_dialogTitle:          asedit - Change
  425.  
  426. !   sm_... search messages ...
  427. *sm_have_to_enter:        You have to enter a string to search for!
  428. *sm_not_found:             Search string not found
  429. *sm_change_all_completed:     Change All has been completed.\nNumber of items changed:
  430. *sm_line_range:            Line number is not within the legal range.\nLegal range is:
  431.  
  432. !   sq_... search questions ...
  433. *sq_change:             Change this occurrence ?
  434. *sq_doc_end:            Reached end of document.\nContinue search at beginning ?
  435. *sq_doc_beg:            Reached beginning of document.\nContinue search at end ?
  436.  
  437. !   string (character) to be shown for read-only files
  438. *read_only_marker:        R
  439.  
  440. !   text used in the ht_help.c (hypertext help)
  441. *help_err_fopen:        Help ERROR. Can't open Help file
  442. *help_err_finc:            Help ERROR. Incorrect Help file
  443. *help_no_info:            SORRY. No help information for this item.
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. !    Part 4  - keyboard bindings.
  451. !    ----------------------------
  452.  
  453. !-----------------------------------------------------------------------------
  454. !
  455. !    Keyboard bindings (do NOT change unless you really have to do that;
  456. !    if you change anything there might be inconsistency with the
  457. !    help file! )
  458. !
  459.  
  460. ! special bindings for hypertext Help widget and Emacs bindings
  461.  
  462. *hypertext_text.translations: #override\n\
  463.              <Btn1Down>:        move-destination()\n\
  464.              <Btn1Up>(2):       activate()\n\
  465.              <Btn2Up>(2):       activate()\n\
  466.              <Key>Return:       activate()\n\
  467.         Ctrl <Key>b:            backward-character()\n\
  468.     Alt <Key>b:             backward-word()\n\
  469.         Meta <Key>b:            backward-word()\n\
  470.         Alt <Key>[:             backward-paragraph()\n\
  471.     Meta <Key>[:            backward-paragraph()\n\
  472.         Alt <Key><:             beginning-of-file()\n\
  473.         Meta <Key><:            beginning-of-file()\n\
  474.     Ctrl <Key>a:            beginning-of-line()\n\
  475.         Alt <Key>>:             end-of-file()\n\
  476.         Meta <Key>>:            end-of-file()\n\
  477.         Ctrl <Key>e:            end-of-line()\n\
  478.         Ctrl Alt <Key>f:        forward-word()\n\
  479.         Ctrl Meta <Key>f:       forward-word()\n\
  480.         Ctrl <Key>f:            forward-character()\n\
  481.     Alt <Key>]:             forward-paragraph()\n\
  482.         Meta <Key>]:            forward-paragraph()\n\
  483.         Ctrl <Key>n:            next-line()\n\
  484.         Ctrl <Key>p:            previous-line()\n\
  485.     ~Ctrl <Key>osfBeginLine: beginning-of-line()\n\
  486.     Ctrl <Key>osfBeginLine:  beginning-of-file()\n\
  487.     ~Ctrl <Key>osfEndLine:   end-of-line()\n\
  488.     Ctrl <Key>osfEndLine:    end-of-file()\n\
  489.          ~Ctrl <Key>osfPageDown: next-page()\n\
  490.      ~Ctrl <Key>osfPageUp:   previous-page()\n\
  491.         Ctrl <Key>osfPageDown:   end-of-file()\n\
  492.         Ctrl <Key>osfPageUp:     beginning-of-file()\n
  493.  
  494. ! Emacs style bindings for the main edit window & some other functional
  495. ! bindings (Note that Emacs Ctrl-k was redefined to Ctrl-k, Ctrl-k to avoid
  496. ! clash with setting markers !!!)
  497. !
  498. *edit_text.translations: #override\n\
  499.         <Key>Return:    newline-and-indent()\n\
  500.     Ctrl <Key>q, Ctrl <Key>f: asedit-find()\n\
  501.         Ctrl <Key>q, Ctrl <Key>a: asedit-change()\n\
  502.         Ctrl <Key>k, Ctrl <Key>0: asedit-mark-set(0)\n\
  503.         Ctrl <Key>k, Ctrl <Key>1: asedit-mark-set(1)\n\
  504.         Ctrl <Key>k, Ctrl <Key>2: asedit-mark-set(2)\n\
  505.         Ctrl <Key>k, Ctrl <Key>3: asedit-mark-set(3)\n\
  506.         Ctrl <Key>k, Ctrl <Key>4: asedit-mark-set(4)\n\
  507.         Ctrl <Key>k, Ctrl <Key>5: asedit-mark-set(5)\n\
  508.         Ctrl <Key>k, Ctrl <Key>6: asedit-mark-set(6)\n\
  509.         Ctrl <Key>k, Ctrl <Key>7: asedit-mark-set(7)\n\
  510.         Ctrl <Key>k, Ctrl <Key>8: asedit-mark-set(8)\n\
  511.         Ctrl <Key>k, Ctrl <Key>9: asedit-mark-set(9)\n\
  512.         Ctrl <Key>q, Ctrl <Key>0: asedit-mark-goto(0)\n\
  513.         Ctrl <Key>q, Ctrl <Key>1: asedit-mark-goto(1)\n\
  514.         Ctrl <Key>q, Ctrl <Key>2: asedit-mark-goto(2)\n\
  515.         Ctrl <Key>q, Ctrl <Key>3: asedit-mark-goto(3)\n\
  516.         Ctrl <Key>q, Ctrl <Key>4: asedit-mark-goto(4)\n\
  517.         Ctrl <Key>q, Ctrl <Key>5: asedit-mark-goto(5)\n\
  518.         Ctrl <Key>q, Ctrl <Key>6: asedit-mark-goto(6)\n\
  519.     Ctrl <Key>q, Ctrl <Key>7: asedit-mark-goto(7)\n\
  520.         Ctrl <Key>q, Ctrl <Key>8: asedit-mark-goto(8)\n\
  521.         Ctrl <Key>q, Ctrl <Key>9: asedit-mark-goto(9)\n\
  522.         Meta <Key>h:            backward-character()\n\
  523.         Meta <Key>b:            backward-word()\n\
  524.         Shift Meta <Key>b:      backward-word(extend)\n\
  525.     Shift Meta <Key>[:      backward-paragraph(extend)\n\
  526.         Meta <Key>[:            backward-paragraph()\n\
  527.         Meta <Key><:            beginning-of-file()\n\
  528.         Shift Meta <Key>0:      beginning-of-line(extend)\n\
  529.         Meta <Key>caret:        beginning-of-line()\n\
  530.         Meta <Key>>:            end-of-file()\n\
  531.         Meta <Key>dollar:       end-of-line(extend)\n\
  532.         Meta <Key>w:            forward-word()\n\
  533.         Meta <Key>l:            forward-character()\n\
  534.         Shift Meta <Key>]:      forward-paragraph(extend)\n\
  535.         Meta <Key>]:            forward-paragraph()\n\
  536.         Shift Meta <Key>d:      kill-to-end-of-line()\n\
  537.         Ctrl <Key>osfPageDown:   end-of-file()\n\
  538.         Ctrl <Key>osfPageUp:     beginning-of-file()\n\
  539.         Ctrl <Key>h:         delete-previous-character()\n\
  540.         Meta <Key>h:         delete-previous-character()\n\
  541.     Meta <Key>x:         cut-clipboard()\n\
  542.     Meta <Key>c:         copy-clipboard()\n\
  543.     Meta <Key>p:         paste-clipboard()\n\
  544.     Ctrl<Key>i:    insert-string(<i>)\n\
  545.     Alt<Key>i:    insert-string(</i>)\n\
  546.     Shift Ctrl<Key>i:    insert-string(</i>)\n\
  547.     Ctrl<Key>b:    insert-string(<b>)\n\
  548.     Alt<Key>b:    insert-string(</b>)\n\
  549.     Ctrl<Key>u:    insert-string(<ul>)\n\
  550.     Alt<Key>u:    insert-string(</ul>)\n\
  551.     Ctrl<Key>o:    insert-string(<ol>)\n\
  552.     Alt<Key>o:    insert-string(</ol>)\n\
  553.     Ctrl<Key>m:    insert-string(<menu>)\n\
  554.     Alt<Key>m:    insert-string(</menu>)\n\
  555.     Ctrl<Key>l:    insert-string(<li>)\n\
  556.     Alt<Key>l:    insert-string(</li>)\n\
  557.     Ctrl<Key>a:    insert-string("<a href=\\"\\">")\n\
  558.     Ctrl<Key>n:    insert-string("<a name=\\"\\">")\n\
  559.     Alt<Key>a:    insert-string(</a>)\n\
  560.     Alt<Key>n:    insert-string(</a>)\n\
  561.     Alt<Key>p:    insert-string(<p>)\n\
  562.     Ctrl<Key>1:    insert-string(<h1>)\n\
  563.     Alt<Key>1:    insert-string(</h1>)\n\
  564.     Ctrl<Key>2:    insert-string(<h2>)\n\
  565.     Alt<Key>2:    insert-string(</h2>)\n\
  566.     Ctrl<Key>3:    insert-string(<h3>)\n\
  567.     Alt<Key>3:    insert-string(</h3>)\n\
  568.     Ctrl<Key>4:    insert-string(<h4>)\n\
  569.     Alt<Key>4:    insert-string(</h4>)\n\
  570.     Ctrl<Key>5:    insert-string(<h5>)\n\
  571.     Alt<Key>5:    insert-string(</h5>)\n\
  572.     Ctrl<Key>6:    insert-string(<h6>)\n\
  573.     Alt<Key>6:    insert-string(</h6>)\n\
  574.     Alt<Key>g:    insert-string("<img alt=\\"\\" src=\\"\\">")\n\
  575.     Shift Alt<Key>i:    insert-string("<inc srv \\"\\">")
  576.  
  577.  
  578. ! Emacs bindings for all other text widgets (to preserve consistency
  579. ! between different text widgets)
  580.  
  581. *XmText.translations: #override\n\
  582.         Meta <Key>h:            backward-character()\n\
  583.         Meta <Key>b:            backward-word()\n\
  584.         Shift Meta <Key>b:      backward-word(extend)\n\
  585.     Shift Meta <Key>[:      backward-paragraph(extend)\n\
  586.         Meta <Key>[:            backward-paragraph()\n\
  587.         Meta <Key><:            beginning-of-file()\n\
  588.         Shift Meta <Key>0:      beginning-of-line(extend)\n\
  589.         Meta <Key>caret:        beginning-of-line()\n\
  590.         Meta <Key>>:            end-of-file()\n\
  591.         Meta <Key>dollar:       end-of-line(extend)\n\
  592.         Meta <Key>w:            forward-word()\n\
  593.         Meta <Key>l:            forward-character()\n\
  594.         Shift Meta <Key>]:      forward-paragraph(extend)\n\
  595.         Meta <Key>]:            forward-paragraph()\n\
  596.         Shift Meta <Key>d:      kill-to-end-of-line()\n\
  597.         Ctrl <Key>osfPageDown:   end-of-file()\n\
  598.         Ctrl <Key>osfPageUp:     beginning-of-file()\n\
  599.         Ctrl <Key>h:         delete-previous-character()\n\
  600.         Meta <Key>h:         delete-previous-character()\n\
  601.     Meta <Key>x:         cut-clipboard()\n\
  602.     Meta <Key>c:         copy-clipboard()\n\
  603.     Meta <Key>p:         paste-clipboard()\n\
  604.     Ctrl<Key>i:    insert-string(<i>)\n\
  605.     Alt<Key>i:    insert-string(</i>)\n\
  606.     Ctrl<Key>b:    insert-string(<b>)\n\
  607.     Alt<Key>b:    insert-string(</b>)\n\
  608.     Ctrl<Key>u:    insert-string(<ul>)\n\
  609.     Alt<Key>u:    insert-string(</ul>)\n\
  610.     Ctrl<Key>o:    insert-string(<ol>)\n\
  611.     Alt<Key>o:    insert-string(</ol>)\n\
  612.     Ctrl<Key>m:    insert-string(<menu>)\n\
  613.     Alt<Key>m:    insert-string(</menu>)\n\
  614.     Ctrl<Key>l:    insert-string(<li>)\n\
  615.     Alt<Key>l:    insert-string(</li>)\n\
  616.     Ctrl<Key>a:    insert-string("<a href=\\"\\">")\n\
  617.     Ctrl<Key>n:    insert-string("<a name=\\"\\">")\n\
  618.     Alt<Key>a:    insert-string(</a>)\n\
  619.     Alt<Key>n:    insert-string(</a>)\n\
  620.     Alt<Key>p:    insert-string(<p>)\n\
  621.     Ctrl<Key>1:    insert-string(<h1>)\n\
  622.     Alt<Key>1:    insert-string(</h1>)\n\
  623.     Ctrl<Key>2:    insert-string(<h2>)\n\
  624.     Alt<Key>2:    insert-string(</h2>)\n\
  625.     Ctrl<Key>3:    insert-string(<h3>)\n\
  626.     Alt<Key>3:    insert-string(</h3>)\n\
  627.     Ctrl<Key>4:    insert-string(<h4>)\n\
  628.     Alt<Key>4:    insert-string(</h4>)\n\
  629.     Ctrl<Key>5:    insert-string(<h5>)\n\
  630.     Alt<Key>5:    insert-string(</h5>)\n\
  631.     Ctrl<Key>6:    insert-string(<h6>)\n\
  632.     Alt<Key>6:    insert-string(</h6>)\n\
  633.     Alt<Key>g:    insert-string("<img alt=\\"\\" src=\\"\\">")\n\
  634.     Shift Alt<Key>i:    insert-string("<inc srv \\"\\">")
  635.