.qa Terminals A variety of terminals are used in Bonner Lab. The following is designed to help you with your terminal. General terminal set-up is documented under User__options. Information about how your terminal works and how to set it up are available under the terminal name. Assignments gives you a listing of available terminals and their locations. .qb User__options Some commands have been defined to set-up your terminal according to you preferencess. They are: .list 0 .le;WIDE - Sets the terminal to 132 cols for wide listings. .le;NARROW - Sets the terminal to 80 cols. .note ^*Warning\* The WIDE and NARROW commands ^&may\& destroy the information currently on the screen. .end note .le;S48LINES - Sets the terminal in 48 line mode. This is available on the Selanar HiREZ 100XL only. .le;S24LINES - Sets the terminal back to the normal 24 line mode. .le;SMOOTH - Sets the terminal to smooth scrolling. .le;JUMP - Sets the terminal to Jump scrolling. .le;REVERSE - Sets the terminal to reverse video (white background) .le;NOREVERSE - Sets the terminal to normal (black backround) .le;KEYREPEAT - Sets the keyboard to repeat automatically. .le;KEYNOREPEAT - Sets the keyboard to no autorepeat. .le;FREEZE nn - Freezes the top nn lines on your terminal .le;THAW - Unfreezes the the top lines. .els 1 These commands may be included in your LOGIN.COM file to automatically set your preferences. .qb Programming All ANSI mode terminals respond to escape sequences. You may program your terminal in several ways. .list 0 .le;SMG_$ system calls - This is the best way because it may be make terminal independent. For information see the SYSTEM SUBROUTINES manual. .le;Escape sequence output - This is not terminal independent, but it is relatively easy. .le;RNO may be used to put escape sequences in your text. See the documentation on RNO. .els 0 .qc ANSI Most ANSI mode terminals respond to the following sequences: Each sequence must begin with [ where is the escape character. is character number 27. .br;Pn=Parameter number .br;x=X position (0=left) .br;y=Y position (0=top) .lm+5.nf .ts +20,+10,+10 ^&Sequence\& ^&Operation\& .c;^*Position\* Pn A Cursor Up Pn B Cursor Down Pn C Cursor Right Pn D Cursor Left y;x f Cursor positioning .c;^*Erasing\* K Cursor to end of line 1K Beginning of line to cursor 2K Entire line J Cursor to end of screen 1J Begin of Screen to cursor 2J Entire screen .c;^*Character size\* #5 Single height,width #6 Double sidth #3 Double height top #4 Double heidht bottom .c;^*Video attributes\* m All off 1m Bold on 2m Blank on 4m Underline 5m Blink 7m Reverse video 21m Bold off (VT-2xx only) etc.... .c;^*Printer commands\* 5i Printer output mode on 41 Printer output mode off .f.lm .qc Keypad The keypad keys generate ANSI mode escape sequences as follows: .lm+5.nf , Ol - Om _. On 0 Op 1 Oq 2 Or 3 Os 4 Ot 5 Ou 6 Ov 7 Ow 8 Ox 9 Oy Enter OM PF1 OP PF2 OQ PF3 OR PF4 OS HOME OH .c;VT2xx FIND [1~ INS [2~ REM [3~ SEL [4~ PREV [5~ NEXT [6~ F6 [17~ F7 [18~ _. _. _. _. _. F10 [21~ _. _. _. _. _. F14 [26~ HELP [15~ DO [16~ F17 [31~ _. _. _. _. _. F20 [34~ .f.lm .qb ADM-3A This terminal has a minimum of features. If it contains a graphics board the following symbol should be assigned: .i5;_$ ASSIGN "TEK4010,RADM3A" PLOT__TERM .br;Normally this is done when you log in if the answerback message is set correctly. .qc SET-UP Most set-up is done via switches. For use with graphics the ADM-3A must be set at no higher speed than ^&1200 baud\&. .p For graphics the terminal must answer back "RADM3A" where denotes the "RETURN" key. .p The graphics resolution is 512 by 250. .qb Selanar-100XL This is a high resolution graphics terminal. It has the capability of plotting graphs to a part in 4096, but the displayed resolution is only a part in 1024. For graphics the following symbol should be assigned: .i5;_$ ASSIGN "TEK4010,SEL100XL" PLOT__TERM .BR;Normally this is done when you log-in if the answerback message is correct. .qc Erasing To erase the current display use the key "CLR" next to the arrow keys. "SHIFT__CLR" clears the terminal and "CTRL__CLR" clears the graphics. .qc Restoring__terminal__mode The easiest way to restore terminal mode is to press the "SET-UP" key, then "SHIFT__M" until the status line reads "ANSI". The "F10" (RESET) key will do the same thing, but it takes about 17 seconds to reset. .qc Set-up There are 5 pages of Set-up (A to E) While in set-up mode you change (toggle) a feature by hitting "SHIFT__T". (Press "T" while holding down the "SHIFT" key) To select the feature use the left,right arrow keys on the top row. To select a different screen use the up,down arrow keys. .s To change the brightness use the "<>" keys. .s NOTE: this terminal does not have smooth scrolling or reverse video. .qd Answerback To set the Answerback message hit "SHIFT__A". You will be prompted: .i5;A= .br;You then type in the answerback message between 2 delimeters. The answerback message should always contain a return "CR" before the last delimeter. If you wish the terminal to be setup for plotting the message should contain the string "SEL100XL". For example: .i5;A=/SEL100XL/ .br; means you pressed the "RETURN" key. .p Finally you should save the changes in setup by typing "SHIFT__S" .qd Saving__SET-UP You can save the current set-up parameters by hitting "S" while holding down the "SHIFT" key. .qd Function keys. The Function keys (F1-F10) may be programmed with a total maximum of 560 characters. You must send the following sequence to the terminal: P Pc; Pp | .br;Pk1/Ps1;Pk2;Ps2 ........Pkn/Psn _\ .list 0 .le;Pc - If 0 clear all keys. .le;Pp - If 0 lock user keys. .le;Pkn - Number of function key to program .le;Psn - Sequence of ASCII characters (; and _\ are not allowed) .els 0 Pkn is defined as follows: .list 0 .le;#0-#9 = ######F1-F10 .le;10-19 = SHIFT#F1-F10 .le;20-29 = CTRL##F1-F10 .els 0 .s.c;Example To program the F4 key as the HELP key and F5 to get a directory: .i5;P0;1|3/HELP;5/DIR_\ .br; is character 27 .br; is character 13 .qd Page__size You may use the "F9" key to set your terminal to 48 lines/page. If you do this you must also tell VMS the page size with the command: .i5;_$ SET TERMINAL/PAGE=48 .br;Once this is done, you can edit documents and display 46 lines at a time. .s An easier way to do this is to use the command: .i5;S48LINES .br;And to return to 24 line mode: .i5;S24LINES .qd A__Tabs This sets the hardware tab stops. Normally they are set every eighth character. .qd B__General Underlined options ^&MUST\& be set for proper terminal operation. They are numbered: .i5;0#abcd##1#abcd##2#abcd##3#abcd##.... .list 0 .i-4;0. .list 0;(0,1) .le;Autorepeat .le;(Constant,Blink) cursor .le;(Block,underline) cursor .le;Visible cursor .els 0 .le .list 0 .le;Margin bell .le;Keyclick .le;Wrap around .le;(^&Off\&,On) New line .els 0 .le .list 0 .le;(^&Process\&,Display) control characters .le;CRT Screen saver .le;(VT52,^&ANSI\&) Terminal type when exiting graphics .le;(^&Off\&,On) Local echo .els 0 .le .list 0 .le;(UK,^&US\&) Character set .le;(^&Off\&,On) WPS .le;(Off,^&On\&) Auto XON,XOFF .le;(Off,^&On\&) Respond to XON,XOFF .els 0 .le .list 0 .le;(^&Off\&,On) Parity .le;(Odd,Even) Parity sense .le;(7,^&8\&) bits per character .le;(^&1\&,2) Stop bits .els 0 .le .list 0 .le;(Off,^&On\&) Break enabled .le;(Off,^&On\&) Auto answerback enabled .le;(Off,^&On\&) Aux1 Handshake Xon/Xoff .le;(^&Off\&,On) Aux1 Parity enabled .els 0 .le .list 0 .le;(Odd,Even) Aux1 Parity .le;(7,^&8\&) Aux1 data bits .le;(^&1\&,2) Aux1 stop bits .le;(On,Off) No print term .els 0 .le .list 0 .le;Print scroll region .le;RCV parity ignored .le;AUX handshake DTR .le;AUX2 parity .els 0 .els 0 The speed should be set to 9600 for both transmit and receive. .qd C__Graphics .list 0 .i-4;0. .list 0 .le;(^&Execute\&,Display) graphics characters. .le;(Off,^&On\&) Auto TEK entry enabled .le;(^&Off\&,On) Screen clear when auto TEK entry .le;(Off,^&On\&) CR GIN response terminator .els 0 .le .list 0 .le;(^&Off\&,On) EOT GIN response terminator .le;Double TEK margin .le;Page full break enabled .le;TEK auto Line feed .els 0 .le .list 0 .le;SPACE does not clear character cell .le;(APL,^&ASCII\&) TEK character set .le;(Off,^&On\&) Vector storage enable .le;(^&Off\&,On) GIN response embedded between STX/ETX .els 0 .le;X window size .le;Y window size .le;X window location .le;Y window location .le;X gain .le;Y gain .le;X origin .le;Y origin .els 0 .qd D__Hardcopy Most of this setup is irrelevant, and should be left at factory settings. .qd E__Edit__mode Most of this setup is irrelevant, and should be left at factory settings. .qc Zooming The zoom feature may be used to examine fine detail, at full resolution. The screen only displays 1024 by 780 pixels. .s To zoom into a plot, press the "ZOOM__OUT" key on the right side. Then center the window on the detail you wish to view using the arrow keys on the keypad. Do not use the arrow keys on the top row. The "SHIFT" and "CTRL" keys increase the speed of the window motion. You use the "box" keys under the "ZOOM" keys to change the size of the window. Then press "ZOOM__IN" to magnify the window to full screen, and "ZOOM__OUT" to view the full plot. .note ^&^*Warning\*\& When using the zoom, the actual resolution is only 1/4096 of full screen. At the largest magnification the error on the displayed detail is 1/16 inch (1.5mm). If you use 4010 protocol, then the resolution is only 1/1024 or 1/4 inch (6.5mm) at full magnification. .end note .qb VT-1xx This applies to the Digital Equipment VT-100,102,180 and so on. If you have a Retrographics board the following symbol should be assigned: .i5;_$ ASSIGN "TEK4010,RVT100" PLOT__TERM .i10;or... for high resolution (Green screen) .i5;_$ ASSIGN "TEK4010,RVT100A" PLOT__TERM .br;Normally this is done automatically when you log in. The graphics resolution is 640 by 240 pixels. High resolution retrographics boards (VT-640) have 640 by 480 pixels. .qc SET-UP There are 2 pages of set-up which are selected by the A/B key at the top row. The Arrow keys are used to select the feature to set. .qd Answerback To set the Answerback message place the terminal in SET-UP B mode. Press the "SET#UP" key, then the "5" (A/B) key. Next press "SHIFT__A" (Press "A" while holding down "SHIFT"). You will be prompted: .i5;A= .br;You then type in the answerback message between 2 delimeters. The answerback message should always contain a return "CR" before the last delimeter. If you wish the terminal to be setup for plotting the message should contain the string "RVT100". For example: .i5;A=/RVT100/ .br; means you pressed the "RETURN" key. .p Finally you should save the changes in setup by typing "SHIFT__S" .p If your terminal does not have a graphics board you should: .i5;A=/NOGR/ .qd Intensity To set the intensity use the up/down arrow keys in SET-UP mode while holding down the "SHIFT" key. This does not work well if you have a Retrographics board. .qd Recalling__SET-UP The saved SET-UP parameters may be recalled by "SHIFT__R". Hit "R" while holding down the "SHIFT" key. .qd Saving__SET-UP You can save the current set-up parameters by hitting "S" while holding down the "SHIFT" key. .qd A__Tabs This sets the hardware tab stops. Normally they are set every eighth character. .qd B__General In addition to the speed. there are 16 parameters which are set on this page. Underlined options ^&MUST\& be set for proper terminal operation. They are numbered: .i5;1#abcd##2#abcd##3#abcd##4#abcd## .list 0 .le .list 0;(0,1) = (Off, On) .le;(Jump,Smooth) scroll .le;Autorepeat .le;(Dark,Light) background .le;(Underline,Block) cursor .els 0 .le .list 0 .le;Margin bell .le;Keyclick .le;(VT52,^&ANSI\&) Terminal type .le;(Off,^&On\&) Auto XON,XOFF .els 0 .le .list 0 .le;(Hash,Pound sign) character (_#) .le;Wrap around .le;New line .le;Interlace .els 0 .le .list 0 .le;(Odd,Even) Parity sense .le;(^&Off\&,On) Parity .le;(7,^&8\&) bits per character .le;(^&60\&,50) Hz Power .els 0 .els 0 The speed should be set to 9600 for both transmit and receive. .qb VT-240 For graphics the following symbol should be assigned: .i5;_$ ASSIGN "TEK4010,VT240" PLOT__TERM .br;OR.... .i5;_$ ASSIGN "DECGIGI" PLOT__TERM .br;Normally this is done automatically when you log in if the terminal is properly set-up. The graphics has a resolution of 800 by 240 pixels. .p The factory settings are generally adequate for setup. The terminal type should be set to VT-2XX either 7 or 8 bit. If you set the terminal to VT-100 before logging on, the graphics symbol will not be properly defined. .p You can have proper graphics setup by setting the answerback message. It should be "VT240" or "REGIS" where is the "RETURN" key. .qb VT-640 This is a VT-100 with the high resolution retrographics board. This gives you 640 by 480 resolution. .s;See: VT-1xx .qb Visual-102 For graphics the following symbol should be assigned: .i5;_$ ASSIGN "TEK4010,VIS102" PLOT__TERM .br;Normally this is done automatically when you log in. The graphics has a resolution of 768 by 293 pixels. .qc Restoring__terminal__mode The easiest way to restore terminal mode is to press the "SET-UP" key, then the "F7" (RESET) key. The reset will take a about 3 seconds to execute. .qc Set-up .qd Answerback To set the Answerback message first press the "SET#UP" key then press "SHIFT__A". You will be prompted: .i5;A= .br;You then type in the answerback message between 2 delimeters. The answerback message should always contain a return "CR" before the last delimeter. If you wish the terminal to be setup for plotting the message should contain the string "VIS102". For example: .i5;A=/VIS102/ .br; means you pressed the "RETURN" key. .p Finally you should save the changes in setup by typing "SHIFT__S" If your terminal does not have a graphics board you should: .i5;A=/NOGR/ .qd Function keys The function keys F1-F8 may be programmed: .list 0 .le;To enter Function key set-up Hold down "FUNC" key and press "SET-UP" .le;Select the key by pressing it. Either F1-F8 or Shifted F1-F8 .le;You enter up to 24 characters. .le;You terminate by depressing the selected function key again. .le;You exit FUNCTION KEY SET-UP mode by pressing the SET-UP key. .le;You may save the function keys with "SHIFT S" while in SET-UP mode. .els 0 .qd Intensity While in the SET-UP mode the intensity is changed by the up/down arrow keys. .qd Saving__SET-UP You can save the current set-up parameters by hitting "S" while holding down the "SHIFT" key. This can only be done while in the initial set-up, with no menu. .qd Tabs .list 0 .le;To enter the tab setup, press the "SET#UP" key, then "SHIFT__T" .le;To clear all tabs press "SHIFT__TAB" .le;To reset tabs to default press "FUNC__SHIFT__TAB" (All 3 keys together). This sets tabs everry 8 columns. .le;Use the arrow keys, "TAB" "SPACE" or "Retn" to position the cursor. .le;Press "T" to set or reset a tab. .els .qd Graphics The following must be set for proper graphics operation. .s.c;GRAPHICS CONTROL MENU [7] .list 0 .le;Cell size: 10x12 .br;If 9x10 is selected the characters may not be properly aligned. .le;Scale factor: TEK-3/4 .els 0 .s.c;GRAPHICS COMMUNICATION MENU [7] .list 0 .le;TRAILER CODE _#1: 13 .le;TRAILER CODE _#2: 0 .els 0 .qb Graphics If your terminal has graphics you should set the answerback message so the PLOT__TERM symbol is properly defined when you log in. If there is no answerback message the following is assumed: .list 0 .le;VT-100 is assumed to have a retrographics board. .le;VT-102 is assumed to be a VISUAL-102 .le;VT-2xx is assumed to be a VT-240 .le;All other terminals lack graphics. .els 0 These assignments will work for most terminals in Bonner Lab except for the Selanar-100XL, and the ADM-3A. .qb Dial__in To dial into the Bonner lab VAX you must now use the campus dial in facilities. Your responses are underlined. The proceedure is as follows: .s.list 0 .le;Dial the campus modem pool: .i5;527-6050 for 1200 baud modems .i5;527-6051 for 300 baud .le;You may have to do this several times to make connection! .le;When you are asked ^*CALL, DISPLAY OR MODIFY?\* .i5;You reply: .i5;^&call\& .i5;^*ENTER NUMBER: \* .i10;^&8077\& .i5;^*CALLING 8077 \* .s .i5;^*com\* .le;You are now connected to the VAX. Sometimes the ^*com\* message is omitted. If you do not receive it after 10 or 15 seconds, assume you are connected. You must then hit the "Return" key several times. Once connected you will receive the logon message. .els 1 If you have a direct DTI connection for your terminal, you can get to the Bonner Lab vax via number 8077 at 9600 baud. .req 'IN:TERMASSIGN' .qb Special__features Most terminals have special features that may be used to alter the display. Such features include reverse video, bolding, underlining, blinking, wide characters, and wide-high characters. Some terminals even have color. These features are easily used with Bonner Lab Runoff (RNO). For files with defined sequences for various terminals see: .list 0 sys_$runoff:VT100.tst,VT100.rno sys_$runoff:CIT161.tst,CIT161.rno .els 0