/* Copyright 1991, 1994, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of The Open Group shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ /* INTERNATIONALIZATION: The OMRON R5 contrib added the following action to the old TextTr: Ctrlbackslash: reconnect-im() This is needed when the im is killed or otherwise becomes unreachable. This keystroke is evil (inconvenient, hard-to-remember, not obvious) so I am adding one more translation: Kanji: reconnect-im() The Japanese user typically hits their Kanji key when they want to do input. This merely makes sure the input is connected. */ #include char _XawDefaultTextTranslations[] = "cA:" "beginning-of-line()\n" "cB:" "backward-character()\n" "cC:" "insert-selection(CUT_BUFFER0)\n" "cD:" "delete-next-character()\n" "cE:" "end-of-line()\n" "cF:" "forward-character()\n" #ifndef OLDXAW "cG:" "keyboard-reset()\n" #else "cG:" "multiply(Reset)\n" #endif "cH:" "delete-previous-character()\n" "cJ:" "newline-and-indent()\n" "cK:" "kill-to-end-of-line()\n" "cL:" "redraw-display()\n" "cM:" "newline()\n" "cN:" "next-line()\n" "cO:" "newline-and-backup()\n" "cP:" "previous-line()\n" "cR:" "search(backward)\n" "cS:" "search(forward)\n" "cT:" "transpose-characters()\n" #ifndef OLDXAW "cU:" "multiply(Start)\n" #else "cU:" "multiply(4)\n" #endif "cV:" "next-page()\n" "cW:" "kill-selection()\n" "cY:" "insert-selection(SECONDARY)\n" "cZ:" "scroll-one-line-up()\n" "mB:" "backward-word()\n" "mC:" "capitalize-word()\n" "mF:" "forward-word()\n" "mI:" "insert-file()\n" "mK:" "kill-to-end-of-paragraph()\n" "mL:" "downcase-word()\n" "mQ:" "form-paragraph()\n" "mU:" "upcase-word()\n" "mV:" "previous-page()\n" #ifndef OLDXAW "mY:" "kill-ring-yank()\n" #endif "mZ:" "scroll-one-line-down()\n" "~s md:" "kill-word(alnum)\n" "s md:" "delete-next-word(alnum)\n" "~s mh:" "backward-kill-word(alnum)\n" "s mh:" "delete-previous-word(alnum)\n" ":m\\<:" "beginning-of-file()\n" ":m\\>:" "end-of-file()\n" ":m]:" "forward-paragraph()\n" ":m[:" "backward-paragraph()\n" "~s mDelete:" "backward-kill-word(alnum)\n" "s mDelete:" "delete-previous-word(alnum)\n" "~s mBackSpace:" "backward-kill-word(alnum)\n" "s mBackSpace:" "delete-previous-word(alnum)\n" "cLeft:" "backward-word(alnum)\n" "cRight:" "forward-word(alnum)\n" "cUp:" "backward-paragraph()\n" "cDown:" "forward-paragraph()\n" "Home:" "beginning-of-file()\n" ":KP_Home:" "beginning-of-file()\n" "End:" "end-of-file()\n" ":KP_End:" "end-of-file()\n" "Next:" "next-page()\n" ":KP_Next:" "next-page()\n" "Prior:" "previous-page()\n" ":KP_Prior:" "previous-page()\n" "Right:" "forward-character()\n" ":KP_Right:" "forward-character()\n" "Left:" "backward-character()\n" ":KP_Left:" "backward-character()\n" "Down:" "next-line()\n" ":KP_Down:" "next-line()\n" "Up:" "previous-line()\n" ":KP_Up:" "previous-line()\n" "Delete:" "delete()\n" ":KP_Delete:" "delete()\n" "BackSpace:" "delete-previous-character()\n" "Linefeed:" "newline-and-indent()\n" "Return:" "newline()\n" ":KP_Enter:" "newline()\n" "cbackslash:" "reconnect-im()\n" "Kanji:" "reconnect-im()\n" #ifndef OLDXAW ":0:" "numeric(0)\n" ":1:" "numeric(1)\n" ":2:" "numeric(2)\n" ":3:" "numeric(3)\n" ":4:" "numeric(4)\n" ":5:" "numeric(5)\n" ":6:" "numeric(6)\n" ":7:" "numeric(7)\n" ":8:" "numeric(8)\n" ":9:" "numeric(9)\n" ":-:" "numeric(-)\n" ":c_:" "undo()\n" #endif "s Insert:" "insert-selection(PRIMARY, CUT_BUFFER0)\n" "Q,:" "insert-char()\n" ":" "insert-char()\n" ":" "enter-window()\n" ":" "leave-window()\n" ":" "focus-in()\n" ":" "focus-out()\n" ":" "select-start()\n" ":" "extend-adjust()\n" ":" "extend-end(PRIMARY, CUT_BUFFER0)\n" ":" "insert-selection(PRIMARY, CUT_BUFFER0)\n" ":" "extend-start()\n" ":" "extend-adjust()\n" ":" "extend-end(PRIMARY, CUT_BUFFER0)\n" ;