#!/bin/sh #ident "@(#)xterm_Xresources.sh 1.0 set better default X11 resources for xterm(1) - John S. Urban" xrdb -DTHOME="$THOME" -merge <<\EOF *VT100.allowWindowOps: true *VT100.allowTitleOps: true *VT100.allowFontOps: true !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! the only resource used by twm is bitmapFilePath for a colon-separted ! list of directories to search when looking for bitmap files bitmapFilePath: THOME/images:~/.twm/images/:/usr/include/X11/bitmaps:./images: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! TIP: ! xrdb(1) runs this file thru cpp(1) so you can select resources depending ! on symbol values. That way it is easy to maintain a single .Xdefaults ! file instead of different ones for different machines. Some symbols are ! set for you, and displayable by xrdb ... ! xrdb -symbols ! produces: ( 07/02/91 on d5kpxg) ! HOST=d5kpxg ! SERVERHOST=d5kpxg ! CLIENTHOST=d5kpxg ! VERSION=11 ! REVISION=0 ! VENDOR="DECWINDOWS DigitalEquipmentCorporation UWS2.2" ! RELEASE=1 ! WIDTH=1280 ! HEIGHT=1024 ! X_RESOLUTION=3938 ! Y_RESOLUTION=3938 ! PLANES=24 ! BITS_PER_RGB=8 ! CLASS=TrueColor ! COLOR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! TIP: ! man pages often give you names of resources, but examples are in the app-defaults directory, often in ! /usr/lib/X11/app-defaults/ ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !=================================================================================================================================== !============================================================================= *StringConversionWarnings: off !=================================================================================================================================== !============================================================================= !XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM !============================================================================= ! XTerm is stuff to do to all xterms, xterm is stuff to do only if ! call xterm with verb xterm and no -name switch. ! that means: ! xterm & # gets XTerm and xterm resources ! xterm -name NOS # gets XTerm and NOS resources but not xterm resources ! ! "name" values override "class" (e.g. XTerm) values ! switches on xterm call override all the resource specifications !============================================================================= ! Options specified on the xterm command line override any other corresponding ! specifications. To specify that an option be returned to its default state ! (on or off), precede the option with a plus (+). ! look in the man page for a full description of all of this. Following is a commented section ! of a "default" resource specification for an xterm(1), and a description of some of the options ! not specified in a resource file: ! -C Specifies that the window should receive con- sole output. ! -cc string Sets the character classes indicated by the specified ranges. All ranges should be in ! the form ccrange:value[...]. ! -display dispname Specifies the display screen on which xterm displays its window. If the display option ! is not specified, xterm uses the display screen specified by your DISPLAY environment ! variable. The display option has the format hostname:number. Using two colons (::) ! instead of one (:) indicates that DECnet is to be used for transport. The default is :0. ! For more information, see X(1X). ! -e command [ options ] ! Specifies that the named command, and any of its specified options, be executed in the ! xterm window when the window is first created. This option must appear last on the ! xterm command line. ! -help Displays information about using xterm. ! -iconic Specifies that xterm display the icon rather than the normal window at window startup. ! -Stty Specifies the last two letters of the name of a pseudo-tty to use in slave mode. This ! allows xterm to be used as an input and out- put channel for an existing program and is ! sometimes used in specialized applications. ! ! alwaysHighlight (-ah) Specifies should display a highlighted text cursor when the pointer moves out of the window or the window loses the input focus. The default is a hollow text cursor. ! background: white (-bg) the background color ! boldFont: vtbold (-fb) a default fixed-width bold font ! c132 whether the DECCOLM escape sequence is to switch between 80-column and 132-column mode. The default is 80. ! curses:off whether the fix to the curses cursor emulation package is to be enabled. ! cursorColor: black (-cr)the text cursor color ! font: vtsingle (-fn) the fixed-width font displayed in the window ! foreground: black (-fg) the text color. ! geometry (-geometry) the geometry (window size and screen location) of the window. (rows x columns +_ xoffset +_ yoffset) ! internalBorder the space (number of pixels) between the text and window border. The default is 2. ! jumpScroll: off (-j) whether jump scroll is to be enabled. ! logFile (-lf) the log file or command to pipe to when logging is activated. The default is XtermLog.pid. ! logging: off (-l) whether logging is to be turned on at startup. ! logInhibit: off whether logging can or cannot be turned on. ! loginShell: off (-ls) whether the shell executed in the window at startup is to be a login shell. ! marginBell: off (-mb) whether the margin bell is to be enabled. ! multiScroll: on (-s) smooth (asynchronous) scroll mode. ! nMarginBell (-nb) the margin bell right margin distance (number of characters). ! pointerColor: black (-ms) the color of the pointer. The default is the color of the text cursor ! pointerShape: xterm the name of the shape of the pointer. ! reverseVideo: off (-rv) whether the foreground and background colors are to be reversed. ! reverseWrap: off (-rw) whether reverse wraparound mode is to be enabled. ! saveLines: 64 (-sl) number of lines saved scrolled off the top of the window. Lines are saved only when scrollbar is on. ! scrollBar: off (-sb) whether the scroll bar is to be displayed at window startup. ! scrollInput: on (-si) whether to automatically reposition the scroll region at the bottom of new, incoming text. ! scrollKey: off (-sk) whether to reposition the scroll region at the end of the window's text when any key is pressed. ! signalInhibit: off whether the sending of signals from the menu is to be totally inhibited. ! tekGeometry the size and position of the Tektronix window. ! tekIconBitmap the bitmap file to be used as the bitmap for a Tektronix-mode icon. ! tekInhibit whether Tektronix mode is to be disabled. ! tekStartup (-t) that a Tektronix window is displayed rather than a VT102 window. ! titleInhibit xterm should remove ti or te termcap entries from the TERMCAP string. These entries are used to switch between alternate startup screens for many screen-oriented programs. ! visualBell: off (-vb) whether the visual bell mode is set at window startup. ! windowName (-n) name of the window to be used by a window manager. If no name is specified, the name xterm is used. ! iconPixmap the bitmap file to be used as the bitmap for an iconified xterm(1). Default is box with window name int it. !============================================================================= !============================================================================= ! HARD TO FIND IN THE MAN PAGES: !============================================================================= ! you can set ttymodes much like stty(1) command ! ttyModes (class TtyModes) ! Specifies a string containing terminal setting keywords and the ! characters to which they may be bound. Allowable keywords ! include: intr, quit, erase, kill, eof, eol, swtch, start, stop, ! brk, susp, dsusp, rprnt, flush, weras, and lnext. Control char- ! acters may be specified as ^char (for example, ^c or ^u) and ^? ! may be used to indicate delete. This is very useful for overrid- ! ing the default terminal settings without having to do an stty ! every time an xterm is started. ! ! delete key - does a backspace XTerm*ttyModes: erase ^h Xterm*ttyModes: kill ^x ! NOTE: then set the delete key in the key translations to do a backspace ! and you do not run into the common problem with the delete key not ! working. ! Delete: string(0x08) \n ! Some might want to make delete (^?) the erase character instead of backspace (^h) ! in the ttyModes and Translations sections. ! the hex value for backspace is 08, for delete it is 7f. ! ! set icon for twm to use when iconify the xterm !XTerm*iconPixmap: ILhost.bm XTerm*iconPixmap: terminal.xbm ! ! XTerm*Translations programs tektronix and vt100 keys ! XTerm*VT100.Translations programs vt100 mode only ! You can set up keys to load other key sets and so on. This is a ! very flexible feature. !XTerm*VT100.Translations: #override\n\ ! Mod1bracketleft: scroll-forw(1,line) \n\ ! Mod1bracketright: scroll-back(1,line) \n\ ! !=============================================================================== ! remember that the scrollbar widget can be customized by itself. For ! example, use non-default resources for an Xterm scrollbar: ! remember that the scrollbar widget can be customized by itself. For ! example, use non-default resources for an Xterm scrollbar: !XTerm*scrollbar*thumb: BrickWall.bm !XTerm*scrollbar*thumb: icon XTerm*scrollbar*thumb: scroll.xbm XTerm*scrollbar*thickness: 26 ! The default bindings for the scrollbar widget are separate from the ! VT100 widget: ! !*VT100.scrollbar.translations: #override\n\ !: StartScroll(Forward) \n\ !: StartScroll(Forward) \n\ !: StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ !: StartScroll(Backward) \n\ !: StartScroll(Backward) \n\ !: MoveThumb() NotifyThumb() \n\ !: NotifyScroll(Proportional) EndScroll() ! Some people prefer using the left pointer button for dragging the ! scrollbar thumb. That can be setup by altering the translations ! resource, e.g., ! *VT100.scrollbar.translations:#override \n\ :StartScroll(Forward) \n\ :StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ :StartScroll(Backward) \n\ :MoveThumb() NotifyThumb() \n\ : NotifyScroll(Proportional) EndScroll() !=============================================================================== ! ! note that X11R3 does not seem to recognize *bitmapPath: list so may ! have to specify full pathname for icon sourcefile. Non-fatal error ! if icon file does not exist. ! ! programmer notes: ! ! keys can be mapped quite liberally, and multiple sets can be defined ! one that types common NOS commands is useful ! users can customize to do printing or whatever ! You can set up similiar key mappings for use ! with the VMS EDT editor, abbreviations for unix commands, ! and so on. There are examples to make the same keys used in basic vi(1) ! editing work with VMS EDT, VMS EVE, NOS FSE, and EMACS. Many years ago ! it was neccessary to work on different operating systems with different ! editors on a daily basis. Having the same keys do the same thing in ! each editor was a terrific productivity gain. ! ! ! see if there is some way to make shift-Fkey and ctrl-Fkey work ! ! browse around on various machines for /usr/bin/X11/app-defaults examples ! look for .Xdefault in home directories ! ! see man pages on X, xterm, xmodmap, xev, xrdb ! ! Warning: should make a layout for each vendor and branch using cpp commands ! processed by xrdb to identify which machine you are on, because ! different vendors have quite different numeric keypads. ! ! use the xev program sample (even across network if you do not have it) ! to identify the keypad names on the keypad quickly. !============================================================================== !fontescape and fontsel overridden by application !XTerm*fontMenu.Label: VT Fonts !XTerm*VT100*font1: nil2 !XTerm*VT100*font2: 6x10 !XTerm*VT100*font3: 8x13 !XTerm*VT100*font4: 9x15 !XTerm*fontMenu*fontdefault*Label: DEFAULT !XTerm*fontMenu*font1*Label: SMALL !XTerm*fontMenu*font2*Label: MEDIUM !XTerm*fontMenu*font3*Label: LARGE !XTerm*fontMenu*font4*Label: EXTRALARGE !XTerm*fontMenu*fontescape*Label: ESCAPE !XTerm*fontMenu*fontsel*Label: SELECTION !XTerm*VT100*font: fixed !XTerm*VT100*font1: nil2 !XTerm*VT100*font1: -*-clean-medium-r-*-*-8-* !XTerm*VT100*font2: -*-clean-medium-r-*-*-16-* !XTerm*VT100*font2: -dec-terminal-bold-r-normal--14-100-100-100-c-80-iso8859-1 !XTerm*VT100*font3: -bitstream-terminal-medium-r-normal--18-140-100-100-c-110-iso8859-1 !XTerm*VT100*font4: -bitstream-terminal-bold-r-narrow--36-280-100-100-c-140-iso8859-1 !XTerm*VT100*fontescape: microfont !XTerm*VT100*fontsel: -*-clean-bold-r-*-*-8-*-*-*-c-*-*-* !============================================================================= !=============================================================================== ! XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM-XTERM !=============================================================================== ! XTerm is stuff to do to all xterms, xterm is stuff to do only if ! call xterm with verb xterm and no -name switch. ! that means: ! xterm & # gets XTerm and xterm resources ! xterm -name NOS # gets XTerm and NOS resources but not xterm resources ! ! "name" values override "class" (e.g. XTerm) values ! switches on xterm call override all the resource specifications !=============================================================================== XTerm*CharClass: 1-31:32,42-58:48,63:48,126:48 !=============================================================================== ! XTerm Colors ! #ifdef COLOR ! make text cursor much more visible XTerm*cursorColor: red Xterm*background: blue Xterm*foreground: yellow XTerm*scrollbar*foreground: navy XTerm*scrollbar*background: red ! you must get very specific to override the -fg switch on the xterm command XTerm.VT100.scrollbar.foreground: red #else XTerm*foreground: black XTerm*background: white #endif !=============================================================================== ! turn the scrollbar on and save the last 5000 lines that scrolled past XTerm*scrollBar: true ! how many lines to be able to scroll back. This bigger the more memory used XTerm*saveLines: 1000 ! suggest allow using escape sequence to change to 80 or 132 columns wide XTerm*c132: on XTerm*EightBitInput: on XTerm*reverseWrap: off XTerm*internalBorder: 2 XTerm*jumpScroll: on XTerm*loginShell: off XTerm*multiScroll: on XTerm*VT100*geometry: 80x24 XTerm*utmpInhibit: on !============================================================================= xterm*background: black xterm*foreground: yellow ! only if you don't name the xterm with the -name parameter ! HOST is a predefined symbol in xrdb -symbols !xterm*iconName: HOST: VENDOR !xterm*windowName: HOST: VENDOR xterm*iconName: HOST xterm*windowName: HOST !============================================================================= ! you must get very specific to override the -fg switch on the xterm command !============================================================================= !============================================================================= !xterm*VT100.translations: \ !#override \n\ ! R1: string(0x1b) string("[21~") string(0x0d) \n\ ! R2: string(0x1b) string("[23~") string(0x0d) \n\ ! R3: string(0x1b) string("[24~") string(0x0d) \n ! : select-end(CLIPBOARD) \n\ ! : insert-selection(PRIMARY,CLIPBOARD) \n\ ! : ignore () \n\ ! !============================================================================= ! Alt9: load-vt-fonts(JSU) \n\ ! AltL: set-logging() \n\ ! Alty: string("This is the Ctrl y key") \n\ ! Ctrly: string("This is the Ctrl y key") \n\ ! Mod1y: string("This is the Mod1 y key") \n\ ! Mod2y: string("This is the Mod2 y key") \n\ ! Shifty: string("This is the Shift y key") \n\ !============================================================================= !============================================================================= !============================================================================= XTerm.VT100.font: -misc-fixed-medium-r-normal-*-13-120-*-*-*-*-*-* XTerm.VT100.boldFont: -misc-fixed-bold-r-normal-*-13-120-*-*-*-*-*-* ! Copy of /usr/lib/X11/app-defaults/XTerm Wed Apr 3 15:04:39 EST 1996 !XTerm*SimpleMenu*BackingStore: NotUseful !XTerm*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-* !XTerm*SimpleMenu*menuLabel.vertSpace: 100 !XTerm*SimpleMenu*HorizontalMargins: 16 !XTerm*SimpleMenu*Sme.height: 16 ! !XTerm*SimpleMenu*Cursor: left_ptr !XTerm*mainMenu.Label: Main Options !XTerm*mainMenu*securekbd*Label: Secure Keyboard !XTerm*mainMenu*allowsends*Label: Allow SendEvents !XTerm*mainMenu*logging*Label: Log to File !XTerm*mainMenu*redraw*Label: Redraw Window !XTerm*mainMenu*suspend*Label: Send STOP Signal !XTerm*mainMenu*continue*Label: Send CONT Signal !XTerm*mainMenu*interrupt*Label: Send INT Signal !XTerm*mainMenu*hangup*Label: Send HUP Signal !XTerm*mainMenu*terminate*Label: Send TERM Signal !XTerm*mainMenu*kill*Label: Send KILL Signal !XTerm*mainMenu*quit*Label: Quit ! !XTerm*vtMenu.Label: VT Options !XTerm*vtMenu*scrollbar*Label: Enable Scrollbar !XTerm*vtMenu*jumpscroll*Label: Enable Jump Scroll !XTerm*vtMenu*reversevideo*Label: Enable Reverse Video !XTerm*vtMenu*autowrap*Label: Enable Auto Wraparound !XTerm*vtMenu*reversewrap*Label: Enable Reverse Wraparound !XTerm*vtMenu*autolinefeed*Label: Enable Auto Linefeed !XTerm*vtMenu*appcursor*Label: Enable Application Cursor Keys !XTerm*vtMenu*appkeypad*Label: Enable Application Keypad !XTerm*vtMenu*scrollkey*Label: Scroll to Bottom on Key Press !XTerm*vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output !XTerm*vtMenu*allow132*Label: Allow 80/132 Column Switching !XTerm*vtMenu*cursesemul*Label: Enable Curses Emulation !XTerm*vtMenu*visualbell*Label: Enable Visual Bell !XTerm*vtMenu*marginbell*Label: Enable Margin Bell !XTerm*vtMenu*altscreen*Label: Show Alternate Screen !XTerm*vtMenu*softreset*Label: Do Soft Reset !XTerm*vtMenu*hardreset*Label: Do Full Reset !XTerm*vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines !XTerm*vtMenu*tekshow*Label: Show Tek Window !XTerm*vtMenu*tekmode*Label: Switch to Tek Mode !XTerm*vtMenu*vthide*Label: Hide VT Window ! !XTerm*fontMenu.Label: VT Fonts !XTerm*fontMenu*fontdefault*Label: Default !XTerm*fontMenu*font1*Label: Unreadable !XTerm*VT100*font1: nil2 !XTerm*fontMenu*font2*Label: Tiny !XTerm*VT100*font2: 5x7 !XTerm*fontMenu*font3*Label: Small !XTerm*VT100*font3: 6x10 !XTerm*fontMenu*font4*Label: Medium !XTerm*VT100*font4: 7x13 !XTerm*fontMenu*font5*Label: Large !XTerm*VT100*font5: 9x15 !XTerm*fontMenu*font6*Label: Huge !XTerm*VT100*font6: 10x20 !XTerm*VT100*font6: -adobe-courier-medium-r-normal--24-240-75-75-m-150-iso8859-1 !XTerm*fontMenu*fontescape*Label: Escape Sequence !XTerm*fontMenu*fontsel*Label: Selection !!fontescape and fontsel overridden by application !!=================================================================================================================================== !XTerm*tekMenu.Label: Tek Options !XTerm*tekMenu*tektextlarge*Label: Large Characters !XTerm*tekMenu*tektext2*Label: #2 Size Characters !XTerm*tekMenu*tektext3*Label: #3 Size Characters !XTerm*tekMenu*tektextsmall*Label: Small Characters !XTerm*tekMenu*tekpage*Label: PAGE !XTerm*tekMenu*tekreset*Label: RESET !XTerm*tekMenu*tekcopy*Label: COPY !XTerm*tekMenu*vtshow*Label: Show VT Window !XTerm*tekMenu*vtmode*Label: Switch to VT Mode !XTerm*tekMenu*tekhide*Label: Hide Tek Window ! !XTerm*tek4014*fontLarge: 9x15 !XTerm*tek4014*font2: 8x13 !XTerm*tek4014*font3: 6x13 !XTerm*tek4014*fontSmall: 6x10 !=================================================================================================================================== !=================================================================================================================================== !=================================================================================================================================== ! Options specified on the xterm command line override any other corresponding ! specifications. To specify that an option be returned to its default state ! (on or off), precede the option with a plus (+). ! look in the man page for a full description of all of this. Following is a commented section ! of a "default" resource specification for an xterm(1), and a description of some of the options ! not specified in a resource file: ! -C Specifies that the window should receive con- sole output. ! -cc string Sets the character classes indicated by the specified ranges. All ranges should be in ! the form ccrange:value[...]. ! -display dispname Specifies the display screen on which xterm displays its window. If the display option ! is not specified, xterm uses the display screen specified by your DISPLAY environment ! variable. The display option has the format hostname:number. Using two colons (::) ! instead of one (:) indicates that DECnet is to be used for transport. The default is :0. ! For more information, see X(1X). ! -e command [ options ] ! Specifies that the named command, and any of its specified options, be executed in the ! xterm window when the window is first created. This option must appear last on the ! xterm command line. ! -help Displays information about using xterm. ! -iconic Specifies that xterm display the icon rather than the normal window at window startup. ! -Stty Specifies the last two letters of the name of a pseudo-tty to use in slave mode. This ! allows xterm to be used as an input and out- put channel for an existing program and is ! sometimes used in specialized applications. ! ! alwaysHighlight (-ah) Specifies should display a highlighted text cursor when the pointer moves out of the window or ! the window loses the input focus. The default is a hollow text cursor. ! background: white (-bg) the background color ! boldFont: vtbold (-fb) a default fixed-width bold font ! c132 whether the DECCOLM escape sequence is to switch between 80-column and 132-column mode. The default is 80. ! curses:off whether the fix to the curses cursor emulation package is to be enabled. ! cursorColor: black (-cr)the text cursor color ! font: vtsingle (-fn) the fixed-width font displayed in the window ! foreground: black (-fg) the text color. ! geometry (-geometry) the geometry (window size and location) of the window. (rows x columns +_ xoffset +_ yoffset) ! internalBorder the space (number of pixels) between the text and window border. The default is 2. ! jumpScroll: off (-j) whether jump scroll is to be enabled. ! logFile (-lf) the log file or command to pipe to when logging is activated. The default is XtermLog.pid. ! logging: off (-l) whether logging is to be turned on at startup. ! logInhibit: off whether logging can or cannot be turned on. ! loginShell: off (-ls) whether the shell executed in the window at startup is to be a login shell. ! marginBell: off (-mb) whether the margin bell is to be enabled. ! multiScroll: on (-s) smooth (asynchronous) scroll mode. ! nMarginBell (-nb) the margin bell right margin distance (number of characters). ! pointerColor: black (-ms) the color of the pointer. The default is the color of the text cursor ! pointerShape: xterm the name of the shape of the pointer. ! reverseVideo: off (-rv) whether the foreground and background colors are to be reversed. ! reverseWrap: off (-rw) whether reverse wraparound mode is to be enabled. ! saveLines: 64 (-sl) number of lines saved scrolled off the top of the window. Lines are saved only when scrollbar is on. ! scrollBar: off (-sb) whether the scroll bar is to be displayed at window startup. ! scrollInput: on (-si) whether to automatically reposition the scroll region at the bottom of new, incoming text. ! scrollKey: off (-sk) whether to reposition the scroll region at the end of the window's text when any key is pressed. ! signalInhibit: off whether the sending of signals from the menu is to be totally inhibited. ! tekGeometry the size and position of the Tektronix window. ! tekIconBitmap the bitmap file to be used as the bitmap for a Tektronix-mode icon. ! tekInhibit whether Tektronix mode is to be disabled. ! tekStartup (-t) that a Tektronix window is displayed rather than a VT102 window. ! titleInhibit xterm should remove ti or te termcap entries from the TERMCAP string. These entries are used to switch ! between alternate startup screens for many screen-oriented programs. ! visualBell: off (-vb) whether the visual bell mode is set at window startup. ! windowName (-n) name of the window to be used by a window manager. If no name is specified, the name xterm is used. ! iconPixmap the bitmap file to be used as the bitmap for an iconified xterm(1). Default is box with window name int it. !============================================================================= ! Below is a sample how of the keymap() action is used to add ! special keys for entering commonly-typed works: ! hit key a to load keymap a, hit f14 to unload !*VT100.Translations: #override A: keymap(A) !*VT100.AKeymap.translations: \ ! C: string("this is key C") \n\ ! F14: keymap(None) \n\ ! B: string("this is key B") \n\ ! F17: string("next") string(0x0d) \n\ ! F18: string("step") string(0x0d) \n\ ! F19: string("continue") string(0x0d) \n\ ! KP1: string("KP1") \n\ ! KP 2: string("KP 2") \n\ ! F20: string("print ") insert-selection(PRIMARY, CUT_BUFFER0) !============================================================================= !============================================================================= ! TEK-XTERM--TEK-XTERM--TEK-XTERM--TEK-XTERM--TEK-XTERM--TEK-XTERM--TEK-XTERM !============================================================================== ! start up an xterm as a tektronix 4014 emulation ! ! notes: when start as a tektronix terminal, -geometry is ignored, ! need to specify xterm -xrm '*tekgeometry: 750x575' ! -iconic is ignored also ! ^r - clear the screen ! delete key - does a backspace ! ! xterm -name TEK -title "Tektronix 4014 emulation" ! The default bindings in the Tektronix window are: ! ! ~Meta: insert-seven-bit() ! Meta: insert-eight-bit() ! Ctrl ~Meta: popup-menu(mainMenu) ! Ctrl ~Meta : popup-menu(tekMenu) ! Shift ~Meta: gin-press(L) ! ~Meta: gin-press(l) ! Shift ~Meta: gin-press(M) ! ~Meta: gin-press(m) ! Shift ~Meta: gin-press(R) ! ~Meta: gin-press(r) ! ! set-terminal-type(type) ! This action directs output to either the vt or tek windows, ! according to the type string. It is also invoked by the tekmode ! entry in vtMenu and the vtmode entry in tekMenu. ! ! set-visibility(vt/tek,on/off/toggle) ! This action controls whether or not the vt or tek windows are ! visible. It is also invoked from the tekshow and vthide entries ! in vtMenu and the vtshow and tekhide entries in tekMenu. ! ! set-tek-text(large/2/3/small) ! This action sets font used in the Tektronix window to the value ! of the resources tektextlarge, tektext2, tektext3, and tek- ! textsmall according to the argument. It is also by the entries ! of the same names as the resources in tekMenu. ! ! tek-page() ! This action clears the Tektronix window and is also invoked by ! the tekpage entry in tekMenu. ! ! tek-reset() ! This action resets the Tektronix window and is also invoked by ! the tekreset entry in tekMenu. ! ! tek-copy() ! This action copies the escape codes used to generate the current ! window contents to a file in the current directory beginning ! with the name COPY. It is also invoked from the tekcopy entry ! in tekMenu. ! TEK*Translations: #override\n\ Ctrl1: set-tek-text(small) \n\ Ctrl2: set-tek-text(3) \n\ Ctrl3: set-tek-text(2) \n\ Ctrl4: set-tek-text(large) \n\ CtrlR: tek-reset() \n\ CtrlP: tek-page() \n\ CtrlC: tek-copy() \n\ CtrlV: set-visibility(vt,on) tek-terminal_type(vt) set-visibility(tek,off) \n\ CtrlT: set-visibility(tek,on) tek-terminal_type(tek) set-visibility(vt,off) \n\ Delete: string(0x08) \n TEK*background: lightseagreen TEK*foreground: black TEK*cursorColor: red TEK*jumpScroll: on TEK*multiScroll: on TEK*windowName: Tektronix 4014 emulation TEK*iconName: 4014 TEK*tekGeometry: 754x569-0-0 TEK*internalBorder: 0 TEK*iconPixmap: ILxdesktop.bm TEK*tekStartup: on TEK*ttymodes: erase ^h !=================================================================================================================================== T80X32.VT100.font: -adobe-courier-medium-r-normal-*-18-180-*-*-*-*-*-* T80X32.VT100.boldFont: -adobe-courier-bold-r-normal-*-18-180-*-*-*-*-*-* T80X32.VT100.geometry: 80x32+0-30 !T80X32*background: grey93 T80X32*background: midnightblue T80X32*cursorColor: white T80X32*foreground: white !============================================================================= !-BART-BART-BART-BART-BART-BART-BART-BART-BART-BART-BART-BART-BART-BART-BART- !============================================================================= ! scrollbar widget can be customized by itself so use non-default resources for an Xterm scrollbar: BART*scrollbar*thumb: bart.xbm BART*scrollbar*thickness: 26 #ifdef COLOR BART*scrollbar*foreground: navy BART*scrollbar*background: red #else BART*scrollbar*foreground: black BART*scrollbar*background: white #endif ! you must get very specific to override the -fg switch on the xterm command #ifdef COLOR BART.VT100.scrollbar.foreground: gold #else BART.VT100.scrollbar.foreground: black #endif !============================================================================= ! a large number of saved lines can take up a large amount of memory BART*scrollBar: on BART*saveLines: 5000 !============================================================================= ! make text cursor much more visible BART*cursorColor: red !============================================================================= ! set icon for twm to use when iconify the xterm BART*iconPixmap: bart.xbm !============================================================================= #ifdef COLOR !BART*background: cyan BART*background: gray35 BART*foreground: black #else BART*background: black BART*foreground: white #endif BART*c132: on BART*EightBitInput: on BART*reverseWrap: off BART*internalBorder: 2 BART*jumpScroll: on BART*loginShell: off BART*multiScroll: on BART*VT100*geometry: 80x38 BART*VT100*font: -adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-1 !============================================================================= ! delete key - does a backspace BART*ttyModes: erase ^h kill ^x ! some might want to make delete (^?) the erase character instead of backspace (^h) in the ttyModes and Translations sections. ! the hex value for backspace is 08, for delete it is 7f. ! for btn3up, btn2up, btn2down see xclipboard ( see man page or volume 3 of O'Reilly manuals ) !============================================================================= ! Mod-T go to Tektronix 4014 graphics mode ! Mod-V go to vt102 text mode ! Mod-h,j,k,l or arrow keys : scroll forward, backward, wide screen, narrow screen ! Mod-Shift arrow keys: scroll forward, backward a page at a time ! Mod-X C-shell syntax eval of resize(1) !============================================================================= ! ShiftF1: string(0x1b) string("OP") string(0x1b) string("[18~")\n\ ! CtrlF1: string(0x1b) string("OQ") string(0x1b) string("[18~")\n\ ! Ctrl ShiftF1: string(0x1b) string("OR") string(0x1b) string("[18~")\n\ !============================================================================= ! AltH: string(0x1b) string("[?40h") string(0x1b) string("[?3h")\n\ ! AltL: string(0x1b) string("[?40h") string(0x1b) string("[?3l")\n\ ! AltLeft: string(0x1b) string("[?40h") string(0x1b) string("[?3h")\n\ ! AltRight: string(0x1b) string("[?40h") string(0x1b) string("[?3l")\n\ ! !============================================================================= BART*Translations: #override\n\ NoneF1: string(0x1b) string("[17~")\n\ Home: string(":") \n\ End: string("$") \n\ Next: string(0x06) \n\ Prior: string(0x02) \n\ Insert: string("i") \n\ Delete: string(0x08) \n\ Alt1: set-tek-text(small) \n\ Alt2: set-tek-text(3) \n\ Alt3: set-tek-text(2) \n\ Alt4: set-tek-text(large) \n\ AltR: tek-reset() \n\ AltP: tek-page() \n\ AltC: tek-copy() \n\ AltT: set-visibility(tek,on) tek-terminal-type(tek) set-visibility(vt,off) \n\ AltV: set-visibility(vt,on) tek-terminal-type(vt) set-visibility(tek,off) \n\ AltX: string("set noglob;eval `resize`;unset noglob") string(0x0d) \n\ \ AltUp: scroll-back(1,line)\n\ Alt ShiftUp: scroll-back(1,page)\n\ AltDown: scroll-forw(1,line)\n\ Alt ShiftDown: scroll-forw(1,page)\n\ AltK: scroll-back(1,line)\n\ AltJ: scroll-forw(1,line)\n\ Alt ShiftK: scroll-back(1,page)\n\ Alt ShiftJ: scroll-forw(1,page) !=================================================================================================================================== UNICOS*background: lightsalmon UNICOS*foreground: black UNICOS*geometry: 80x60-0-100 UNICOS*iconPixmap: xmp.xbm !=================================================================================================================================== !============================================================================= !EMACS-EMACS-EMACS-EMACS-EMACS-EMACS-EMACS-EMACS-EMACS-EMACS-EMACS-EMACS-EMACS !============================================================================= EMACS*background: navy EMACS*foreground: yellow EMACS*scrollbar*foreground: black EMACS*scrollbar*background: red EMACS*Translations: #override \n\ Insert: string(0x1b) string("xoverwrite-mode") string(0x0d) \n\ Delete: string(0x04) \n\ BackSpace: string(0x7f) \n\ ShiftF1: string(0x1b) string("xmake-local-variable") string(0x0d) string("truncate-lines") string(0x0d) string(0x1b) string("xset-variable") string(0x0d) string("truncate-lines") string(0x0d) string("1") string(0x0d) \n\ ShiftF2: string(0x17) \n\ ShiftF3: string(0x0c) \n\ ShiftF4: string(0x0b) string(0x0b) \n\ ShiftF5: string(0x1b) string("xshell") string(0x0d) \n\ ShiftF6: string(0x18) string(0x03) \n\ ShiftF7: string(0x13) \n\ ShiftF8: string(0x15) string("-1") string(0x0c) \n\ ShiftF9: string(0x1b) string("s") \n\ ShiftF10: string(0x1b) string(">") \n\ ShiftF11: string(0x18) string(0x17) \n\ ShiftF12: string(0x1b) string("xquery-replace") string(0x0d) \n\ CtrlF1: string(0x00) \n\ CtrlF5: string(0x1b) string("!") \n\ CtrlF6: string(0x0b) \n\ CtrlF7: string(0x01) \n\ CtrlF8: string(0x1b) string("xwhat-line") string(0x0d) \n\ CtrlF9: string(0x15) string("-2") string(0x1b) string("xfill-region-as-paragraph") string(0x0d) \n\ CtrlF11: string(0x13) string("SYSTEM BULLETIN") string(0x1b) \n\ CtrlNext: string(0x18) string("]") \n\ CtrlLeft: string(0x18) string(">") \n\ CtrlRight: string(0x15) string("35") string(0x18) string("<") \n\ CtrlHome: string(0x01) \n\ CtrlPrior: string(0x18) string("[") \n\ AltL: string(0x18) string(".") \n\ AltT: string(0x1b) string("xtext-mode") string(0x0d) string(0x1b) string("xauto-fill-mode") string(0x0d) \n\ AltW: string(0x18) string("o") \n\ F1: string(0x1b) string("!") string("cat ~/bin/wccsemx.hlp") string(0x0d) \n\ F2: string(0x19) \n\ F3: string(0x18) string("d") string(0x0d) \n\ F5: string(0x1F) \n\ F6: string(0x18) string(0x03) \n\ F7: string(0x13) \n\ F8: string(0x15) string("-0") string(0x0c) \n\ F9: string(0x1b) string("q") \n\ F10: string(0x1b) string("<") \n\ F11: string(0x18) string("b") string(0x0d) \n\ F12: string("exit") string(0x0d) \n\ Home: string(0x18) \n\ End: string(0x05) \n\ Down: string(0x0e) \n\ Left: string(0x02) \n\ Right: string(0x06) \n\ Up: string(0x10) \n\ Next: string(0x16) \n\ Prior: string(0x1b) string("v") !============================================================================= ! DEC-XTERM--DEC-XTERM--DEC-XTERM--DEC-XTERM--DEC-XTERM--DEC-XTERM--DEC-XTERM !============================================================================= ! Redefine keys for use with EDT on VMS as a vt100 on a SUN keyboard. ! Version 1.0, Robert K. Wonders, 07/23/91 ! ! This xterm definition maps the VMS keypad functions to the Sun function keys. ! This is used because the sun keyboard has the cursor moving keys in the ! keypad. !============================================================================= ! make function keys send out vt100 sequences. !------------------------------------------------------------------------ ! F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | ! Word | Eol | Char |Advanc|Backup| Cut | Page | Sect| Append | Line | !Chgcas|DelEol|Spcins|Bottom| Top |Paste| Command| Fill| Replace| Opnlin| !------------------------------------------------------------------------ ! F11 | F12 ||| R1 | R2 | R3 ||| - + Enter !Select| DelLin ||| GOLD| HELP| FndNxt ||| Del W Del C Enter !Reset | UndoL ||| | | Find ||| Und W Und C Subs !------------------------------------------------------------------------ ! Again key (L2) also mapped to GOLD ! Find key (L9) also mapped to Find !============================================================================= ! ON THE WORKSTATION: ! xterm -name DEC -e telnet escc01 !============================================================================= DEC*foreground: #000000000000 DEC*VT100*background: wheat1 DEC*VT100*geometry: 80x24+0+0 DEC*VT100*font: 8x13bold DEC*ttyModes: erase ^? DEC*iconPixmap: ILhost.bm DEC*Translations: #override\n\ Delete: string(0x7f) \n\ F35: string(0x1b) string("[6~") \n\ F29: string(0x1b) string("[5~") \n\ F21: string(0x1b) string("OP") \n\ F12: string(0x1b) string("OP") \n\ F22: string(0x1b) string("OQ") \n\ F19: string(0x1b) string("OR") \n\ F23: string(0x1b) string("OR") \n\ F20: string(0x1b) string("OS") \n\ SunF37: string(0x1b) string("OS") \n\ F10: string(0x1b) string("Op") \n\ F1: string(0x1b) string("Oq") \n\ F2: string(0x1b) string("Or") \n\ F3: string(0x1b) string("Os") \n\ F4: string(0x1b) string("Ot") \n\ F5: string(0x1b) string("Ou") \n\ F6: string(0x1b) string("Ov") \n\ F7: string(0x1b) string("Ow") \n\ F8: string(0x1b) string("Ox") \n\ F9: string(0x1b) string("Oy") \n\ SunF36: string(0x1b) string("On") \n\ KP_Enter: string(0x1b) string("OM") \n\ KP_Add: string(0x1b) string("Ol") \n\ KP_Subtract: string(0x1b) string("Om") DEC*c132: on DEC*scrollBar: on DEC*saveLines: 1500 DEC*reverseWrap: off DEC*internalBorder: 2 DEC*jumpScroll: on DEC*loginShell: off DEC*multiScroll: on DEC*cursorColor: red DEC*windowName: Dec Terminal Server 19.2 DEC*iconName: DEC Terminal Server !============================================================================= ! VMS-XTERM--VMS-XTERM--VMS-XTERM--VMS-XTERM--VMS-XTERM--VMS-XTERM--VMS-XTERM !============================================================================= ! Warning: should make a layout for each vendor and branch using cpp commands ! processed by xrdb to identify which machine you are on, because ! different vendors have quite different numeric keypads. ! ! use the xev program sample (even across network if you do not have it) ! to identify the keypad names on the keypad quickly. !============================================================================= ! make keypad send out vt100 sequences (it already does on some machines) ! here is what a real vt100 keypad sends out in application mode: ! (where string is preceded by an esc, e.g. 1 sends out esc O q). ! !*----------*----------*----------*----------* This panel describes the escape !| GOLD | HELP | FNDNXT | DEL L | strings sent out from a VT100 !| | | FIND | UND L | keyboard's numeric keypad when !| OP PF1 | OQ PF2 | OR PF3 | OS PF4 | the keypad is in application !*----------*----------*----------*----------* mode. The application strings !| PAGE | SECT | APPEND | DEL W | are highlited by the [ [ !| COMMAND | FILL | REPL | UND W | attribute. These two-character !| Ow 7 | Ox 8 | Oy 9 | Om = | sequences are always preceded !*----------*----------*----------*----------* by the escape character ESC. !| ADVANCE | BACKUP | CUT | DEL C | !| BOTTOM | TOP | PASTE | UND C | !| Ot 4 | Ou 5 | Ov 6 | Ol , | !*----------*----------*----------*----------* !| WORD | EOL | CHAR | ENTER | !| CHNGCASE | DEL EOL | SPECINS | SUBS | !| Oq 1 | Or 2 | Os 3 | | !*----------*----------*----------* | !| LINE | SELECT | | !| OPEN LINE | RESET | | !| Op 0 | On . |[OM[ | !*---------------------*----------*----------* !============================================================================= ! ON THE WORKSTATION: ! xterm -name VMS -e telnet escc01 !============================================================================= ! Redefine keys for use with EDT on VMS as a vt100 ! Version 1.0, John S. Urban, 06/20/91 ! ! For DEC5000: !============================================================================= ! make the delete key the erase key for this window. VMS*ttyModes: erase ^h VMS*Translations: #override\n\ Delete: string(0x7f) \n\ KP_F1: string(0x1b) string("OP") \n\ KP_F2: string(0x1b) string("OQ") \n\ KP_F3: string(0x1b) string("OR") \n\ KP_F4: string(0x1b) string("OS") \n\ KP_0: string(0x1b) string("Op") \n\ KP_1: string(0x1b) string("Oq") \n\ KP_2: string(0x1b) string("Or") \n\ KP_3: string(0x1b) string("Os") \n\ KP_4: string(0x1b) string("Ot") \n\ KP_5: string(0x1b) string("Ou") \n\ KP_6: string(0x1b) string("Ov") \n\ KP_7: string(0x1b) string("Ow") \n\ KP_8: string(0x1b) string("Ox") \n\ KP_9: string(0x1b) string("Oy") \n\ KP_Decimal: string(0x1b) string("On") \n\ KP_Enter: string(0x1b) string("OM") \n\ KP_Separator: string(0x1b) string("Ol") \n\ KP_Subtract: string(0x1b) string("Om") \n\ Help: string(0x1b) string("OQ") \n\ ShiftF1: string(0x1b) string("Ow") \n\ ShiftF2: string(0x1b) string("Ox") \n\ ShiftF3: string(0x17) \n\ ShiftF4: string(0x1b) string("OSERASE_LINE") string(0xff0d) \n\ ShiftF5: string(0x1b) string("OQ") \n\ ShiftF6: string(0x1b) string("OSQUIT") string(0xff0d) \n\ ShiftF7: string(0x1b) string("OSFIND NEXT") string(0xff0d) \n\ ShiftF9: string(0x1b) string("OSCENTER_LINE") string(0xff0d) \n\ ShiftF10: string(0x1b) string("OSBOTTOM") string(0xff0d) \n\ ShiftF12: string(0x1b) string("OSREPLACE") string(0xff0d) \n\ CtrlF1: string(0x1b) string("Ow") \n\ CtrlF3: string(0x1b) string("M") \n\ CtrlF4: string(0x7F) \n\ CtrlF7: string(0x1b) string("OSSET_LEFT_MARGIN") string(0xff0d) \n\ CtrlF8: string(0x1b) string("OSSET_RIGHT_MARGIN") string(0xff0d) \n\ CtrlF9: string(0x1b) string("OSSET_PARAGRAPH_INDENT") string(0xff0d) \n\ CtrlF11: string(0x1b) string("OP SYSTEM BULLETIN") string(0xff0d) \n\ AltF4: string(0x1b) string("OSset width 132") string(0xff0d) \n\ F1: string(0x1b) string("Ow") \n\ F2: string(0x1b) string("Oy") \n\ F4: string(0x1d) \n\ F5: string(0x1b) string("OSRESTORE WORD") string(0xff0d) \n\ F6: string(0x1b) string("OSEXIT") string(0xff0d) \n\ F7: string(0x1b) string("OP") \n\ F9: string(0x1b) string("OSFILL PARAGRAPH") string(0xff0d) \n\ F10: string(0x1b) string("OSTOP") string(0xff0d) \n\ Home: string(0x1b) string("OS") \n\ Prior: string(0x1b) string("On") \n\ Next: string(0x1b) string("Op") \n\ End: string(0x5) \n\ Insert: string(0x1b) string("OM") \n\ KP_Enter: string(0xff0d) VMS*c132: on VMS*VT100*background: black VMS*VT100*foreground: yellow VMS*cursorColor: red VMS*jumpScroll: on VMS*loginShell: off VMS*multiScroll: on VMS*windowName: VMS (SERVICE CENTER: WIN 284-6100 / 412-374-6100) VMS*iconName: VAX VMS*scrollBar: on VMS*saveLines: 1500 VMS*VT100*geometry: 80x24 VMS*internalBorder: 2 VMS*reverseWrap: off VMS*iconPixmap: keyboard16 ! VMS*VT100*font: -adobe-courier-bold-r-normal--14-100-100-100-m-90-iso8859-1 !============================================================================= !============================================================================= ! NOS-XTERM--NOS-XTERM--NOS-XTERM--NOS-XTERM--NOS-XTERM--NOS-XTERM--NOS-XTERM !============================================================================= ! allows a user to use the X-window sample utilities xterm(1) and xrdb(1) ! to set up a terminal emulator window so that it works well with the NOS ! FSE (Full Screen Editor) editor. The window is created the proper size ! and with keys remapped so that it can function well with Cyber screen ! products. !============================================================================= ! ON THE WORKSTATION start an xterm like this: ! xterm -name NOS -tm 'erase ^h' -e telnet nosf !============================================================================= ! ON NOS: ! ! log on to NOS in that window and do a ! $SCREEN,XTERM ! you are now ready to use FSE on NOS. ! ! on NOSF the proper TDU is XTERM out of library USRLIB1 ! on username OCJU4: ! .IF,.NOT.FILE(USRLIB1,GL),ADDIT. ! $ATTACH,USRLIB1/UN=OCJU4/NA. ! $LIBRARY,USRLIB1/A. ! .ENDIF,ADDIT. ! $SCREEN,XTERM. ! .* show xterm keymap on screen ! $SHOW,XTERMMP. !============================================================================= ! ON RISC 6000 IBM UNITS: ! ! "xterm" is not the xterm released with X11. The following changes worked: ! /usr/bin/X11/aixterm -name NOS -fn 9x15 -fullcursor -v -vb -leftscroll ! on xterm released with X11 used NOS*VT100.Translations ! using aixterm had to change to NOS*Translations ! note that the default font for a default aixterm is -fn Rom14.500 !============================================================================= ! delete word is home dw ! change word is home dw;.i/&?/ ! alter command ! ! Redefine keys for use with Cyber NOS tdu XTERM from xterm(1) ! Version 1.0, John S. Urban, 03/11/91 ! Version 2.0, John S. Urban, 05/31/91 ! special keys for entering commonly-typed commands: ! ! Keypad Keys Control Sequences Command Function ! 7 home ctrl-H Home cursor ! 0 ins ctrl-I begin Insert mode ! 1 end ctrl-K Kill (end) insert mode ! . del ctrl-X Delete character ! ctrl-C insert Character ! ctrl-E or O Enter (insert) a line (or Open a space) ! ctrl-D Delete a line ! ctrl-T Truncate the line ! 9 pg up ctrl-B Backward ! s9 pg up shifted shift-BKW (FSE top-of-file) ! 3 pg dn ctrl-F Forward ! s3 pg dn shifted shift-FWD (FSE bottom-of-file) ! 5 ctrl-R goes to Right end of line ! ctrl-N locate Next ! ctrl-P locate Previous ! ctrl-L Locate ! ctrl-V View (put current line in screen middle) ! ctrl-Z UP (like vi z) ! ctrl-- DOWN (like vi z- ) ! ctrl-U Undo ! ! alt-C clear screen and home cursor in command mode ! alt-G invoke Tektronix mode (Graphics mode) ! alt-T invoke VT102 mode (Text mode) ! use alt-G or alt-T twice to close other window ! ! For a more "vi" feel, cursor positioning can be done with Alt key ! and hjkl ! ! Shifted and unshifted FSE functions 1-9 are on function keys 1 thru 9 ! in addition, ! Shifted FSE functions 1 thru 9 are on function keys ctrl-1 thru ctrl-9 ! on the main keyboard. ! ! The FSE function F1 is not supported because the SUN SPARC reserves ! function key F1. ! NOS*Translations: #override\n\ ShiftNext: string(0x1b) string(0x46) string(0x0d) \n\ ShiftPrior: string(0x1b) string(0x42) string(0x0d) \n\ Insert: string(0x1b) string(0x5b) string(0x34) string(0x68) \n\ End: string(0x1b) string(0x5b) string(0x34) string(0x6C) \n\ Next: string(0x1b) string(0x66) string(0x0d) \n\ Home: string(0x1b) string("[H") \n\ Prior: string(0x1b) string(0x62) string(0x0d) \n\ Up: string(0x1b) string("[A") \n\ Down: string(0x1b) string("[B") \n\ Left: string(0x1b) string("[D") \n\ Right: string(0x1b) string("[C") \n\ ShiftKP_3: string(0x1b) string(0x46) string(0x0d) \n\ ShiftKP_9: string(0x1b) string(0x42) string(0x0d) \n\ KP_0: string(0x1b) string(0x5b) string(0x34) string(0x68) \n\ KP_1: string(0x1b) string(0x5b) string(0x34) string(0x6C) \n\ KP_2: string(0x1b) string("[B") \n\ KP_3: string(0x1b) string(0x66) string(0x0d) \n\ KP_4: string(0x1b) string("[D") \n\ KP_5: string(0x1b) string("[H.e") string(0x0d) \n\ KP_6: string(0x1b) string("[C") \n\ KP_7: string(0x1b) string("[H") \n\ KP_8: string(0x1b) string("[A") \n\ KP_9: string(0x1b) string(0x62) string(0x0d) \n\ KP_Decimal: string(0x1b) string(0x5b) string(0x50) \n\ ShiftF1: string(0x1b) string("OP") string(0x0d) \n\ ShiftF2: string(0x1b) string("OQ") string(0x0d) \n\ ShiftF3: string(0x1b) string("OR") string(0x0d) \n\ ShiftF4: string(0x1b) string("OS") string(0x0d) \n\ ShiftF5: string(0x1b) string("Om") string(0x0d) \n\ ShiftF6: string(0x1b) string("Ol") string(0x0d) \n\ ShiftF7: string(0x1b) string("OM") string(0x0d) \n\ ShiftF8: string(0x1b) string("On") string(0x0d) \n\ ShiftF9: string(0x1b) string("Op") string(0x0d) \n\ ShiftF10: string(0x1b) string(0x5b) string("30") string(0x7e) string(0x0d) \n\ ShiftF11: string(0x1b) string(0x5b) string("31") string(0x7e) string(0x0d) \n\ ShiftF12: string(0x1b) string(0x5b) string("32") string(0x7e) string(0x0d) \n\ F1: string(0x1b) string("Oq") string(0x0d) \n\ F2: string(0x1b) string("Or") string(0x0d) \n\ F3: string(0x1b) string("Os") string(0x0d) \n\ F4: string(0x1b) string("Ot") string(0x0d) \n\ F5: string(0x1b) string("Ou") string(0x0d) \n\ F6: string(0x1b) string("Ov") string(0x0d) \n\ F7: string(0x1b) string("Ow") string(0x0d) \n\ F8: string(0x1b) string("Ox") string(0x0d) \n\ F9: string(0x1b) string("Oy") string(0x0d) \n\ F10: string(0x1b) string(0x5b) string("20") string(0x7e) string(0x0d) \n\ F11: string(0x1b) string(0x5b) string("21") string(0x7e) string(0x0d) \n\ F12: string(0x1b) string(0x5b) string("22") string(0x7e) string(0x0d) \n\ Ctrlt: string("%2") string(0x0d) \n\ Ctrl1: string(0x1b) string("OP") string(0x0d) \n\ Ctrl2: string(0x1b) string("OQ") string(0x0d) \n\ Ctrl3: string(0x1b) string("OR") string(0x0d) \n\ Ctrl4: string(0x1b) string("OS") string(0x0d) \n\ Ctrl5: string(0x1b) string("Om") string(0x0d) \n\ Ctrl6: string(0x1b) string("Ol") string(0x0d) \n\ Ctrl7: string(0x1b) string("OM") string(0x0d) \n\ Ctrl8: string(0x1b) string("On") string(0x0d) \n\ Ctrl9: string(0x1b) string("Op") string(0x0d) \n\ Ctrl0: string(0x1b) string(0x5b) string("30") string(0x7e) string(0x0d) \n\ Ctrlminus: string(0x1b) string(0x5b) string("31") string(0x7e) string(0x0d) \n\ Ctrl-: string(0x1b) string("d") string(0x0d)\n\ Ctrlequal: string(0x1b) string(0x5b) string("32") string(0x7e) string(0x0d) \n\ CtrlI: string(0x1b) string(0x5b) string(0x34) string(0x68) \n\ CtrlK: string(0x1b) string(0x5b) string(0x34) string(0x6C) \n\ CtrlC: string(0x1b) string(0x5b) string(0x40) \n\ AltC: string(0x1b) string("[2J") string(0x08) string(0x08) string(0x08) string(0x08) string(0x1b) string("[H") string(0x08) string(0x08) string(0x08) \n\ Altbracketleft: scroll-forw(1,line) \n\ Altbracketright: scroll-back(1,line) \n\ CtrlX: string(0x1b) string(0x5b) string(0x50) \n\ CtrlE: string(0x1b) string(0x5b) string(0x4C) \n\ CtrlO: string(0x1b) string(0x5b) string(0x4C) \n\ CtrlD: string(0x1b) string(0x5b) string(0x4D) \n\ CtrlF: string(0x1b) string(0x66) string(0x0d) \n\ CtrlB: string(0x1b) string(0x62) string(0x0d) \n\ CtrlT: string(0x1b) string(0x5b) string(0x4B) \n\ CtrlM: string(0x14) \n\ CtrlR: string(0x1b) string("[H.e") string(0x0d) \n\ CtrlH: string(0x1b) string("[H") \n\ CtrlN: string(0x1b) string("[HLN") string(0x0d)\n\ CtrlP: string(0x1b) string("[HLP") string(0x0d)\n\ CtrlU: string(0x1b) string("[H") string("undo") string(0x0d)\n\ CtrlV: string(0x1b) string("[H") string("view") string(0x0d)\n\ CtrlZ: string(0x1b) string("u") string(0x0d)\n\ CtrlL: string(0x1b) string("[HL\\") \n\ AltX: hard-reset \n\ AltH: string(0x1b) string("[D") \n\ AltJ: string(0x1b) string("[B") \n\ AltK: string(0x1b) string("[A") \n\ AltL: string(0x1b) string("[C") \n\ Mod11: set-tek-text(small) \n\ Mod12: set-tek-text(3) \n\ Mod13: set-tek-text(2) \n\ Mod14: set-tek-text(large) \n\ Mod1C: tek-copy() \n\ Mod1G: set-visibility(tek,on) set-terminal-type(tek) set-visibility(vt,off) \n\ Mod1P: tek-page() \n\ Mod1R: tek-reset() \n\ Mod1T: set-visibility(vt,on) set-terminal-type(vt) set-visibility(tek,off) \n\ Delete: string(0x08) !============================================================================= NOS*ttyModes: erase ^h NOS*c132: on NOS*VT100*background: black NOS*foreground: green NOS*cursorColor: red NOS*jumpScroll: on NOS*loginShell: off NOS*multiScroll: on NOS*windowName: NOS(SERVICE CENTER:WIN 284-6100/412-374-6100) NOS*iconName: NOS NOS*scrollBar: on NOS*saveLines: 1500 NOS*VT100*geometry: 80x24 NOS*internalBorder: 8 NOS*reverseWrap: off ! NOT DOCUMENTED IN THE MAN PAGES NOS*iconPixmap: wingdogs !============================================================================= !NOS*VT100.Translations: #override \ ! Shift: string(0x1b) string(0x5b) string("24") string(0x7e) string(0x0d) \n\ ! Shift: string(0x1b) string(0x5b) string("25") string(0x7e) string(0x0d) \n\ ! Shift: string(0x1b) string(0x5b) string("26") string(0x7e) string(0x0d) \n\ ! Mod1: string(0x1b) string(0x5b) string("34") string(0x7e) string(0x0d) \n\ ! Mod1: string(0x1b) string(0x5b) string("35") string(0x7e) string(0x0d) \n\ ! Mod1: string(0x1b) string(0x5b) string("36") string(0x7e) string(0x0d) \n\ ! Delete: string(0x08) \n !============================================================================= ! FOR SUN KEYBOARDS !NOS*VT100.Translations: #override \ ! ShiftSunF36: string(0x1b) string(0x5b) string("31") string(0x7e) string(0x0d) \n\ ! ShiftSunF37: string(0x1b) string(0x5b) string("32") string(0x7e) string(0x0d) \n\ ! SunF36: string(0x1b) string(0x5b) string("21") string(0x7e) string(0x0d) \n\ ! SunF37: string(0x1b) string(0x5b) string("22") string(0x7e) string(0x0d) \n\ ! Delete: string(0x08) \n !============================================================================= wp.VT100.font: -adobe-courier-medium-r-normal-*-18-180-*-*-*-*-*-* wp.VT100.boldFont: -adobe-courier-bold-r-normal-*-18-180-*-*-*-*-*-* wp.VT100.Translations: #override \n\ Insert: string(0x1b) string("OR") string(0x1b) string("[34~")\n\ Delete: string(0x1b) string("[3~")\n\ NoneBackSpace: string(0x08) \n\ !CtrlBackSpace: string(0x1b) string("OP") string(0x1b) string("[3~")\n\ NoneTab: string(0x09) \n\ !ShiftTab: string(0x1b) string("OP") string("3")\n\ NoneF1: string(0x1b) string("[17~")\n\ !ShiftF1: string(0x1b) string("OP") string(0x1b) string("[18~")\n\ !CtrlF1: string(0x1b) string("OQ") string(0x1b) string("[18~")\n\ !Ctrl ShiftF1: string(0x1b) string("OR") string(0x1b) string("[18~")\n\ NoneF2: string(0x1b) string("[19~")\n\ !ShiftF2: string(0x1b) string("OP") string(0x1b) string("[19~")\n\ !CtrlF2: string(0x1b) string("OQ") string(0x1b) string("[19~")\n\ !Ctrl ShiftF2: string(0x1b) string("OR") string(0x1b) string("[19~")\n\ NoneF3: string(0x1b) string("[20~")\n\ !ShiftF3: string(0x1b) string("OP") string(0x1b) string("[20~")\n\ !CtrlF3: string(0x1b) string("OQ") string(0x1b) string("[20~")\n\ !Ctrl ShiftF3: string(0x1b) string("OR") string(0x1b) string("[20~")\n\ NoneF4: string(0x1b) string("[21~")\n\ !ShiftF4: string(0x1b) string("OP") string(0x1b) string("[21~")\n\ !CtrlF4: string(0x1b) string("OQ") string(0x1b) string("[21~")\n\ !Ctrl ShiftF4: string(0x1b) string("OR") string(0x1b) string("[21~")\n\ NoneF5: string(0x1b) string("[23~")\n\ !ShiftF5: string(0x1b) string("OP") string(0x1b) string("[23~")\n\ !CtrlF5: string(0x1b) string("OQ") string(0x1b) string("[23~")\n\ !Ctrl ShiftF5: string(0x1b) string("OR") string(0x1b) string("[23~")\n\ NoneF6: string(0x1b) string("[24~")\n\ !ShiftF6: string(0x1b) string("OP") string(0x1b) string("[24~")\n\ !CtrlF6: string(0x1b) string("OQ") string(0x1b) string("[24~")\n\ !Ctrl ShiftF6: string(0x1b) string("OR") string(0x1b) string("[24~")\n\ NoneF7: string(0x1b) string("[25~")\n\ !ShiftF7: string(0x1b) string("OP") string(0x1b) string("[25~")\n\ !CtrlF7: string(0x1b) string("OQ") string(0x1b) string("[25~")\n\ !Ctrl ShiftF7: string(0x1b) string("OR") string(0x1b) string("[25~")\n\ NoneF8: string(0x1b) string("[26~")\n\ !ShiftF8: string(0x1b) string("OP") string(0x1b) string("[26~")\n\ !CtrlF8: string(0x1b) string("OQ") string(0x1b) string("[26~")\n\ !Ctrl ShiftF8: string(0x1b) string("OR") string(0x1b) string("[26~")\n\ NoneF9: string(0x1b) string("[31~")\n\ !ShiftF9: string(0x1b) string("OP") string(0x1b) string("[31~")\n\ !CtrlF9: string(0x1b) string("OQ") string(0x1b) string("[31~")\n\ !Ctrl ShiftF9: string(0x1b) string("OR") string(0x1b) string("[31~")\n\ NoneF10: string(0x1b) string("[32~")\n\ !ShiftF10: string(0x1b) string("OP") string(0x1b) string("[32~")\n\ !CtrlF10: string(0x1b) string("OQ") string(0x1b) string("[32~")\n\ !Ctrl ShiftF10: string(0x1b) string("OR") string(0x1b) string("[32~")\n\ F11: string(0x1b) string("OR") string(0x1b) string("[20~")\n\ F12: string(0x1b) string("OR") string(0x1b) string("[21~")\n\ NoneR1: string(0x1b) string("[32~")\n\ !ShiftR1: string(0x1b) string("OP") string(0x1b) string("[32~")\n\ !CtrlR1: string(0x1b) string("OQ") string(0x1b) string("[32~")\n\ !Ctrl ShiftR1: string(0x1b) string("OR") string(0x1b) string("[32~")\n\ NoneR2: string(0x1b) string("[34~")\n\ !ShiftR2: string(0x1b) string("OP") string(0x1b) string("[34~")\n\ !CtrlR2: string(0x1b) string("OQ") string(0x1b) string("[34~")\n\ !Ctrl ShiftR2: string(0x1b) string("OR") string(0x1b) string("[34~")\n\ R3: string(0x1b) string("[3~")\n\ R4: string(0x1b) string("OP")\n\ NoneR7: string(0x1b) string("OS")\n\ !CtrlR7: string(0x1b) string("OR") string(0x1b) string("[33~")\n\ NoneR8: string(0x1b) string("[A")\n\ !CtrlR8: string(0x1b) string("OP") string(0x1b) string("[A")\n\ R9: string(0x1b) string("OP") string(0x1b) string("[33~")\n\ NoneR10: string(0x1b) string("[D") \n\ !CtrlR10: string(0x1b) string("OP") string(0x1b) string("[D")\n\ NoneR11: string(0x1b) string("OS")\n\ !CtrlR11: string(0x1b) string("OR") string(0x1b) string("[33~")\n\ NoneR12: string(0x1b) string("[C")\n\ !CtrlR12: string(0x1b) string("OP") string(0x1b) string("[C")\n\ NoneR13: string()\n\ !CtrlR13: string(0x1b) string("OQ") string(0x1b) string("[3~")\n\ NoneR14: string(0x1b) string("[B")\n\ !CtrlR14: string(0x1b) string("OP") string(0x1b) string("[B")\n\ NoneR15: string(0x1b) string("OQ") string(0x1b) string("[B")\n\ !CtrlR15: string(0x1b) string("OR") string(0x1b) string("[3~")\n !=================================================================================================================================== EOF