|
|
1.1 ! root 1: VERSION X10/6.6A ! 2: ------- ------- ! 3: ! 4: General ! 5: ------- ! 6: ! 7: vt102 and Tektronix 4015 emulation in separate windows, each with its own ! 8: mode menu (control middle button). ! 9: ! 10: Switching between each mode can be done via the menus, or with escape ! 11: sequences: ! 12: vt102 -- \E[?38h --> tek ! 13: tek -- \E\003 --> vt102 ! 14: ! 15: The windows hilite themselves when the mouse is with either window or when ! 16: one of these is the focus window. The windows unhilite when the mouse moves ! 17: out of the window and neither is the focus window. Hiliting appears as ! 18: windows with solid color borders and solid block cursors. Unhiliting appears ! 19: as windows with "grayed" borders and a rectangle cursor. ! 20: ! 21: The parser for both modes is table-driven and is much more efficient than the ! 22: original parsers. ! 23: ! 24: If UTMP is define in the Makefile, then each instance of xterm makes an entry ! 25: in /etc/utmp and thus appears with the "who" command. ! 26: ! 27: If both windows are visible and one is iconified, both disappear. Deiconifing ! 28: causes both to appear again. ! 29: ! 30: If the initial mode is vt102, /etc/termcap is searched, in order, for the ! 31: following termcaps, until one is found: ! 32: xterm, vt102, vt100, ansi, dumb ! 33: If the vt102 window happens to be 80x24, then xterms is added to the begining ! 34: of the list. If the initial mode is tek, the termcaps searched for are: ! 35: tek4015, tek4014, tek4013, tek4010, dumb ! 36: ! 37: The window size is passed to the operating system via TIOCSWINSZ (4.3) or ! 38: TIOCSSIZE (sun). A SIGWINCH siganl is sent if the vt102 window is resized. ! 39: ! 40: For login windows, menus are disabled until a user has successfully login. ! 41: (||| This isn't currently true. ) ! 42: ! 43: A new menu (xterm) has been added (control left button) that gives the version ! 44: number. The menu allows titlebars to be displayed (see below), the windows ! 45: redrawn, or for various signals to be sent to the process group of the command ! 46: xterm is executing. The signals include SIGCONT, SIGTSTP,SIGHUP, SIGINT, ! 47: SIGTERM and SIGKILL. ! 48: ! 49: Titlebars for the window can be turned off with .Xdefaults ! 50: "xterm.TitleBar off", with command line option -tb or via the xterm menu. ! 51: ! 52: The titlebar font is, by default, vtsingle. The font can be changed with ! 53: .Xdefaults "xterm.TitleFont helv12b" for helv12b font or via command line ! 54: option -ft helv12b. ! 55: ! 56: The titlebar look like Macintosh titlebars. A series of strips appears when the ! 57: window is hilited, and are gone when unhilited. ! 58: ! 59: Both windows are visible and the mouse cursor is in either window, only the ! 60: active window is hilited (before both windows were hilited). ! 61: ! 62: Visual bell mode can be turned on via .Xdefaults "xterm.VisualBell on", via ! 63: command line option -vb and from the xterm menu. ! 64: ! 65: The tek window has the same name as the vt102 window, but with " (Tek)" ! 66: appended (before they were the same). ! 67: ! 68: There are several bug fixes including better sun compatibility and a problem ! 69: in the vt102 parse table. ! 70: ! 71: Xterm now always creates its own icon(s), which includes the window's name. ! 72: The -i option now means startup showing the icon. The option #[+-]x[+-]y ! 73: means to position the icon there instead of centered within the window. ! 74: The icon reverse-videos with the windows. ! 75: ! 76: When the mouse is in the stripped area of the titlebar, you can get any ! 77: of the two menus without pressing the control key. Clicking in the ! 78: actual title iconifies. Clicking in an icon deiconifies it. ! 79: ! 80: Many mode option on the command line allow a '+' instead of '-' to indicate ! 81: turning off the indicated mode. ! 82: ! 83: Color support has been improved, so that an unselected cursor is an empty ! 84: rectangle with the foreground color, and the selected cursor is a filled ! 85: rectangle with the cursor color. ! 86: ! 87: A better and faster menu package has been added that supports (Mac-like) ! 88: checkmarks and dimmed (disabled and grayed) item, as well as line separator ! 89: items. ! 90: ! 91: To conserve on resources, the unhilited border of the window(s) is now ! 92: always a gray pixmap, which is shared by the menu package. ! 93: ! 94: Logging capability has been added, in which all characters sent to the ! 95: xterm window are recorded. The mode is turned on by using .Xdefaults option ! 96: "xterm.Logging on", -l on the command line, from the xterm menu or the ! 97: escape sequence \E[?46h in vt102 mode. Logging is turned off through the ! 98: xterm menu or \E[?46l in vt102 mode. The default log file is XtermLog.XXXXX ! 99: (XXXXX is the process id of xterm) and is in the initial directory in which ! 100: xterm was started (the home directory for login xterms). Each logging start ! 101: appends to the end of the loggin file, and each logging stop closes the file. ! 102: ! 103: An alternate logging file may be given with .Xdefaults "xterm.LogFile file" ! 104: (file is the alternate filename) or with command line option "-lf file". ! 105: If the first character of the logfile name is `|', then the rest of the ! 106: name passed to the shell for execution and a pipe is created to the process. ! 107: In this case, each time the log is started, a new process is created and ! 108: when logging is turned off, the pipe is closed. Thus, a logfile name of ! 109: "| lpr", will send text to the line printer each time logging is turned off. ! 110: ! 111: Certain modes may be inhibited by specifying in the .Xdefaults file. A ! 112: change to the initial logging mode may be prevented with "xterm.LogInhibit on", ! 113: which will prevent changes to logging from the menu or from escape sequences. ! 114: "xterm.SignalInhibit on" disables the xterm menu signal sending (Continue is ! 115: still allowed). "xterm.TekInhibit on" prevents entering into Tektronix mode. ! 116: ! 117: As per edjames@eros, xterm sets the environment variable WINDOWID, which ! 118: contains the Window id of the initial window (normally vt102, but could be ! 119: the tek window if the -t option were specified). This "feature" is ! 120: bogus, as it may not always give you all information you need to ! 121: access a window. ! 122: ! 123: The title in the title bar may be changed with the \E]0;new title\007 escape ! 124: sequence. Any non-printing character terminates the title string. The ! 125: windows and icons are also renamed, and the icons are resized to fit the ! 126: new title. ! 127: ! 128: The log file may be changed with the \E]46;new log file\007 escape sequence. ! 129: If the log file name is empty, the default log file name is used. ! 130: ! 131: In visual bell mode, the icons now flash on receipt of a control-G. ! 132: ! 133: If xterm is iconified and new input comes in, a box is drawn around the ! 134: icon title. ! 135: ! 136: The bitmap used for the icons is now user definable. The VT102 bitmap may be ! 137: set with .Xdefaults "xterm.IconBitmap file" or with "-ib file" on the command ! 138: line. The Tek bitmap may be set with .Xdefaults "xterm.TekIconBitmap file" ! 139: or with "-it file" on the command line. These files are assumed to be ! 140: bitmap(1) format files. ! 141: ! 142: Normally, the title text of the icon is displayed to the right of the ! 143: bitmap. The text may be displayed under the bitmap by using .Xdefaults ! 144: "xterm.TextUnderIcon on" or with -ti on the command line. ! 145: ! 146: The mouse may be automatically warpped to the xterm window when it is ! 147: deiconified by using .Xdefaults "xterm.DeiconifyWarp on" or using -dw on ! 148: the command line. This is also of questionable merit. ! 149: ! 150: The standard error output used by xterm is now improved. Normally it will ! 151: be the same standard error when xterm is started. For login xterms ! 152: (-L specified) then the standard error will be to /dev/console. ! 153: ! 154: X error events are now intercepted so that xterm may cleanup before exiting ! 155: (like resetting the tty modes and clearing the /etc/utmp entry). ! 156: ! 157: VT102 ! 158: ----- ! 159: ! 160: vt102 emulation is much more complete than the original xterm. ! 161: ! 162: Underlined characters is now supported. ! 163: ! 164: The text for selection and extension is now hilited by reverse video. ! 165: ! 166: Pasting text that was originally displayed as vt102 graphic characters now ! 167: returns the original ascii character (and not the internal representation). ! 168: ! 169: Text that is scrolled off the top of the window can be saved and is accessable ! 170: via a scrollbar. The scrollbar is normally off, but may be made visible with ! 171: .Xdefault option "xterm.ScrollBar on" or command line option -sb. The ! 172: scrollbar state can be changed via the mode menu. ! 173: ! 174: The default maximum number of lines saved off the top is 64, but can be ! 175: specified in .Xdefaults as "xterm.SaveLines 100" for 100 lines, or as ! 176: a command line option "-sl 100". ! 177: ! 178: A margin bell can be turned on via .Xdefaults "xterm.MarginBell on", command ! 179: line option -mb or mode menu. The default number of columns from the right ! 180: margin is 10 and is settable via .Xdefaults "xterm.NMarginBell 15" for 15 ! 181: columns, or via command line option -nb 15. The mode may be changed by escape ! 182: sequence \E[?44h (on) and \E[?44l (off). ! 183: ! 184: To emulate the vt102 switching between 80 and 132 columns, the mode may ! 185: be turned on via .Xdefaults "xterm.C132 on", via command line option -132 or ! 186: via the mode menu. The mode may be changed by escape sequence \E[?40h (on) ! 187: and \E[?40l (off). ! 188: ! 189: A mode that fixes a bug in curses (e.g. when using "more" on lines that have ! 190: lines that print on the last column of the line and the next line begins with ! 191: a tab) can be turned on .Xdefaults "xterm.Curses on", command line option ! 192: -cu or via the mode menu. The mode may be changed by escape sequence ! 193: \E[?41h (on) and \E[?41l (off). ! 194: ! 195: Auto linefeed mode and auto repeat are supported. ! 196: ! 197: The mode menu is now more descriptive. ! 198: ! 199: Most Dec Private mode settings can be save away internally using \E[?ns, ! 200: where n is the same number to set or reset the Dec Private mode. The ! 201: mode can be restored using \E[?nr. This can be used in termcap for vi, for ! 202: example, to turn off saving of lines, but restore whatever the original ! 203: state was on exit. ! 204: ! 205: An optional status line (in reverse video) has been added to the bottom of ! 206: the vt102 window. The following escape sequences work on the status line: ! 207: \E[?S show status line ! 208: \E[?H hide status line ! 209: \E[?nT enter status line, at column n ! 210: \E[?F return to the position before entry into status line ! 211: \E[?E erase status line ! 212: Also, the status line may be turned on via .Xdefaults "xterm.StatusLine on", ! 213: the -st commandline option or from the mode menu. ! 214: ! 215: Reverse wraparound can be enabled with .Xdefaults "xterm.ReverseWrap on", via ! 216: command line option -rw or from the mode menu. Also the escape sequences ! 217: \E[?45h turns on reverse wraparound and \E[?45l turns it off. Reverse ! 218: wraparound only works when autowrap is also on and is useful, for instance, ! 219: when entering a long line that wraps to the shell and needing to erase ! 220: backwards to correct it. ! 221: ! 222: An alternate screen buffer is now supported. Entry into the alternate screen ! 223: buffer with \E[?47h will automatically inhibit lines from being saved off the ! 224: top of the window and \E[?47l returns to the normal screen buffer and restores ! 225: the original state of line saving. The new termcap entry causes vi to use ! 226: the alternate screen buffer on entry and clears the alternate buffer before ! 227: returning to the regular buffer. ! 228: ! 229: If the normal font is specified and the bold font isn't, then the bold font ! 230: is automatically created be overstring, ala dcmartin@ingres. ! 231: ! 232: The scroll bar may be repositioned automatically at the bottom when input comes ! 233: in by using .Xdefaults "xterm.ScrollInput on", using -si on the command line ! 234: or via the scrollbar menu. ! 235: ! 236: The scroll bar may be repositioned automatically at the bottom when a key is ! 237: pressed by using .Xdefaults "xterm.ScrollKey on", using -sk on the command line ! 238: or via the scrollbar menu. ! 239: ! 240: Normally the status line is displayed in reverse video. A normal-video status ! 241: line may be obtained by using .Xdefaults "xterm.StatusNormal on", with ! 242: -sn on the command line or via the mode menu, or may be controlled with the ! 243: escape sequences \E[?48h (on) and \E[?48l (off). In normal video mode, a ! 244: box is still drawn around the status line. ! 245: ! 246: ! 247: Tektronix ! 248: --------- ! 249: ! 250: Tek mode is much more complete than the original. ! 251: ! 252: Tek standard two column mode is supported. ! 253: ! 254: Four different character sizes are supported and can be changed via the ! 255: tek menu. ! 256: ! 257: 5 line types are supported (solid, dotted, short dashed, long dashed and ! 258: dot dashed). ! 259: ! 260: All of the tek character sequences are stored and can be saved into a file ! 261: via the standard COPY escape sequence or from the mode menu. The file created ! 262: is named COPYyy-mm-dd.hh:mm:ss (COPY plus the date and time) and is placed ! 263: in the initial directory in which xterm was started. Login xterms use the ! 264: users home directory. ! 265: ! 266: When the tek window is being refreshed, the mouse cursor shows a clock. ! 267: ! 268: The X geometry of the Tek window can be given on the command line (independently ! 269: of the VT102 window) by using %geometry (`%' rather than `='). ! 270: ! 271: In GIN mode, pressing a key will send the key and the mouse coordinates of ! 272: the cross cursor, similar to standard Tek GIN mode. Pressing a mouse button ! 273: instead will send the character `l', `m' or `r' depending on whether the ! 274: left, middle or right button was pressed, respectively. If the shift key was ! 275: down when the button was pressed, the corresponding upper case character is ! 276: sent. To distinquish a button press from a key press, the high bit of the ! 277: character is set, but this is only useful if the tty mode is set to RAW to ! 278: pass all 8 bits.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.