% Librarian I01-37 a-ޮPf-ޮfg 5 BIND_SESSION CONNECTCREATE_SESSIONDELETE_SESSIONDISABLE DISCONNECT XENABLE+LEXIT,HELP-0RESUME1nSEND? SETNxSHOWbSPAWNdTN3270dUNBIND_SESSION  e-ޮ 1 CONNECTB Establishes a TELNET connection between your local system and aB remote host. You can run one session or 10 or more simultaneous4 sessions (only one session if you invoke TN3270). DCL Format. CONNECT host [ port* [ terminal_type ] ]- * Required if you specify terminal type. UNIX Format* open host [ port ] [ terminal_type ] 2 Parameters host Required., Remote host to which you want to connect.  port" Optional without terminal_type. Required with terminal_type. Default: 23.= TELNET port on the remote host. Specify this parameter if: o You are invoking TN3270.A o You are connecting to a host that does not use the standard TELNET port. terminal_type6 Optional. Default: model of your physical terminal.B Terminal model that you want your physical terminal to function$ as. Specify one of the following:B o For a session running  TN3270, the terminal model to emulate.! Enter one of the following: - IBM-3278-2 - IBM-3278-3 - IBM-3278-4 - IBM-3278-5C o For a non-TN3270 session, any terminal type recognized by theA remote host, such as VT100, VT200, VT300, VT400, and VT500. 2 Examples 1.TELNET> CONNECT MYBUD: Establishes a TELNET connection to remote host MYBUD.( 2.TELNET> CONNECT DEBTS 23 IBM-3278-2= Establishes a TELNET connection to remote host DEBTS and@ runs TN3270. Your terminal functions as an IBM-3278-2 model> terminal. For syntax reasons, specifying a port number is required. 3.TELNET> CONNECT 130.180.5.5> Establishes a TELNET connection to the host at IP address 130.180.5.5. 4.TELNET> CONNECT REVIN 31> Establishes a TELNET connection to remote host revin. The' connection is at port 31 on revin. 5.%  TELNET> CONNECT QUIK . . . %> During a TELNET session with a UNIX host, pressing Ctrl/]: escapes to the TELNET prompt. Another CONNECT command> establishes a second session, this one to UNIX host quik. wwe-ޮ1 BIND_SESSION= Creates a TELNET terminal device (TNAx:) and connects to a? network device (BGx:). If successful, returns the TNA device? name (TNAx:) in the DCL symbol $TELNET_DEVICE. Network inputB and output operations can then be performed t$hrough the created7 TELNET device using terminal driver $QIO operations. DCL Format6 BIND_SESSION network_device [ /PROTOCOL=option ] 2 Parameters network_device Required. An existing network device. 2 Qualifiers /PROTOCOL /PROTOCOL=option Optional. Default: NONE. Options include: o NONE0 Data is sent with no interpretation (raw). o NVT7 Network Virtual Terminal (NVT), TELNET's internal? representation of a standard network terminal. NVT formatC is standard 7-bit ASCII code transmitted in 8-bit octets, theC canonical form of data representation used by both the client and server. o TELNET Standard TELNET protocol. o RLOGIN Standard RLOGIN protocol. 2 Example* TELNET> BIND_SESSION BG393: /PROTOCOL=NVT wwe-ޮ1 CREATE_SESSIONB Establishes an outbound TELNET pseudo device (network t#erminal)B and connects it to a remote listener (port). This is also known" as a reverse TELNET connection. DCL Format' CREATE_SESSION host port [ unit ]. [ /[ NO ]TIMEOUT=option ]# [ /PERMANENT ]) [ /PROTOCOL=option ] 2 Parameters host Required., Remote host to which you want to connect. port Required." TELNET port on the remote host. unit Optional. Default: 0? The decimal number specifying the unit number for the pseudo> device (TNAx). The default 0 specifies that TCP/IP Services? should pick the next available unit number. If the requestedC unit number is already in use, the next available unit number isC used. In all cases, the software notifies you of the unit number chosen. 2 Qualifiers /TIMEOUT /TIMEOUT /NOTIMEOUT Optional. Default: /NOTIMEOUT o /TIMEOUT< Creates a TNA device that has the following connection attributes:C - NOIDLE-The connection is broken when the device is finallyA deassigned. The device will automatically reconnect when data is written to it.C - IDLE-Specifies the idle time for the device. If the device@ is idle for at least the specified amount of time (noteA that the time has a granularity of one second), then theB connection will be broken. Idle means that the devi ce has@ neither received nor sent any data for the idle period.? - NORECONNECTION-The device does not automatically retry$ reconnections if they fail.< - RECONNECTION-When data is written to the device and? the device is not connected, this value determines the@ interval between reconnection attempts. For example, ifC an application writes to a TNA with a RECONNECTION-0:1:00,C and if the first connection attempt fails, then subsequent@ connection attempts will be made in 1-minute intervals.  o /NOTIMEOUT> Creates a TNA device that breaks the connection when the? device is finally deassigned (the last channel assignment is deassigned). /PERMANENT Optional.< Creates a TNA device that disconnects on deassignment and reconnects on assignment. /PROTOCOL /PROTOCOL=options, Optional. Default: NONE. Options include: o NONE0 Data is sent with no interpretation (raw). o NVT7 Network Virtual Terminal (NVT), TELNET's internal? representation of a standard network terminal. NVT formatC is standard 7-bit ASCII code transmitted in 8-bit octets, theC canonical form of data representation used by both the client and server. o TELNET Standard TELNET protocol. o RLOGIN Standard RLOGIN protocol. 2 Examples& 1.TELNET> CREATE_SESSION DEBTS 23 2D Establishes a network terminal known as TNA2, and connects this, device to port 23 on remote host DEBTS.> 2.TELNET> CREATE_SESSION /TIMEOUT=(NOIDLE, RECONNECTION=nn): Creates a device that disconnects on deassignment and+ reconnects when data is written to it.& 3.TELNET> CREATE_SESSION /NOTIMEOUTB Creates a device that is not reusable; the device disconnects$ on deassignment and is deleted.G 4.TELNET> CREATE_SESSION /TIMEOUT=(IDLE=0:0:30, RECONNECTION=0:2:00)D Creates a device that times out after being idle for 30 seconds@ and that retries connection attempts at 2-minute intervals. wwe-ޮ1 DELETE_SESSION> Deletes an outbound TELNET pseudo device (network terminal)? created by the CREATE_SESSION command. If the device was notB created with the CREATE_SESSION command, the command returns an error. DCL Format DELETE_SESSION unit 2 Parameters unit Required.> The decimal number specifying the unit number of the pseudo device (TNx) to be deleted. 2 Example TELNET> DELETE_SESSION 20 Deletes the network terminal known as TNA2. wwe-ޮ 1 DISABLE 2 AUTOFLUSH> Disables the automatic flushing of output when you send theB interrupt character. With automatic flushing disabled, the dataA buffer is emptied and the display is terminated. This provides3 fast system response to the interrupt character. Default: ENABLE AUTOFLUSH. DCL Format DISABLE AUTOFLUSH UNIX Format toggle autoflush 2 AUTOSYNCH< Disables the sending of the synchronization and interruptC characters in urgent mode. With autosynch disabled, TELNET sendsC the interrupt character in sequence with the other characters inB the stream, and the remote host processes this character in the sequence received. Default: DISABLE AUTOSYNCH DCL Format DISABLE AUTOSYNCH UNIX Format toggle autosynch 2 BINARY@ Disables the transmission of data in binary mode. With binaryC mode disabled, the EOL (end-of-line) character is sent as Return4 LF (the carriage return / line feed combination). Default: DISABLE BINARY DCL Format DISABLE BINARY UNIX Format toggle binary 2 CRLF= Disables the sending of carriage returns as Return LF (theB carriage return/line feed combination) at the end of each line.B Use this command if the remote host interprets Return as Return@ LF (carriage return/line feed combination), which is CR Mode. Default: ENABLE CRLF DCL Format DISABLE CRLF UNIX Format toggle crlf 2 CRMOD? Disables the mapping of received carriage returns. With this? mapping, the remote host sends each line with Return LF (theB carriage return/line feed combination) at the end of each line.D Use DISABLE CRMOD if your terminal expects Return null at the end of each line. Default: DISABLE CRMOD. DCL Format DISABLE CRMOD UNIX Format toggle crmod 2 DEBUG? Disables the display of data in hexadecimal. With Debug Mode8 disabled, TELNET displays data only in readable text. Default: DISABLE DEBUG. DCL Format DISABLE DEBUG UNIX Format toggle netdata 2 LOCAL_CHARS= Disables the translation of the following terminal control. characters in to TELNET protocol sequences: o Interrupt o Flush output o Are You There o Kill o Erase o Quit: With LOCAL_CHARS disabled, the local host sends controlD characters to the remote host uninterpreted. They are interpreted by the remote host.B Before you communicate in disabled mode, ensure that the remote3 and local hosts use the same control characters. Default: DISABLE LOCAL_CHARS DCL Format D ISABLE LOCAL_CHARS UNIX Format toggle localchars 2 OPTIONS_VIEW@ Disables the display of option negotiations between the local= system and the remote host during the session. With optionA negotiations disabled, TELNET does not display them. This mode' is suitable for most communications. Default: DISABLE OPTIONS_VIEW DCL Format DISABLE OPTIONS_VIEW UNIX Format toggle options wwf-ޮ 1 DISCONNECT, Ter!minates the current remote connection.= If you terminate a session with a remote OpenVMS host, the@ connection is closed by your local host. However, the process@ on the remote host is still running. To terminate it, enter a LOGOUT command. DCL Format DISCONNECT UNIX Format close wwf-ޮ 1 ENABLE 2 AUTOFLUSH= Enables the automatic flushing of output when you send the interrupt character.A o Enabled - The data" in the data buffer remains visible until the buffer is empty.> o Disabled - The data buffer is emptied and the display is; terminated. This provides fast system response to the interrupt character. Default: ENABLE AUTOFLUSH DCL Format ENABLE AUTOFLUSH UNIX Format toggle autoflush 2 AUTOSYNCH; Enables the sending of the synchronization and interrupt characters in urgent mode.> o Enabled - The local host sends an in#terrupt character in@ urgent mode, and the remote host immediately processes it.A o Disabled - TELNET sends the interrupt character in sequenceB with the other characters in the stream, and the remote host8 processes this character in the sequence received. Default: DISABLE AUTOSYNCH. DCL Format ENABLE AUTOSYNCH UNIX Format toggle autosynch 2 BINARY3 Enables the transmission of data in binary mode.@ o Enabled - The EOL (e$nd-of-line) character is not mapped to< Return LF (the carriage return/line feed combination).A Use ENABLE BINARY when the remote host expects each line to7 end with a carriage return/line feed combination.< Binary mode provides interaction when the remote host:$ - Expects special characters.D - Does not support automatic negotiation of the TELNET binary option.C o Disabled - EOL is sent as Return LF (the carriage return/line feed% combination). Default: DISABLE BINARY DCL Format ENABLE BINARY UNIX Format toggle binary 2 CRLF< Enables the sending of carriage returns as Return LF (theB carriage return/line feed combination) at the end of each line.A o Use ENABLE CRLF if the remote host expects Return LF at the end of each line.> o Use DISABLE CRLF if the remote host interprets Return as" Return LF, which is CR mode. Default: ENABLE CRLF DCL& Format ENABLE CRLF UNIX Format toggle crlf 2 CRMOD> Enables the mapping of received carriage returns. With this? mapping, the remote host sends each line with Return LF (theB carriage return/line feed combination) at the end of each line.@ o Use ENABLE CRMOD if your terminal expects each line to end with Return LF.C o Use DISABLE CRMOD if your terminal expects Return null at the end of each line. Default: DISABLE CRMOD !' DCL Format ENABLE CRMOD UNIX Format toggle crmod 2 DEBUG. Enables the display of data in hexadecimal.B o Enabled - Data is displayed in both hexadecimal and readable text.4 o Disabled - Data is displayed in readable text. Default: DISABLE DEBUG DCL Format ENABLE DEBUG UNIX Format toggle netdata 3 Example$ % (characters not echoed) TELNET> enable debug  TELNET> display  . . ., Will print network data flow in hexadecimal . . . TELNET>)resume  SEND [ 0] D A RCVD [ 0] D A3 RCVD [ 0] 746E7069782E6C6B672E6465632E636F6D3E20 % ls  SEND [ 0] 6C RCVD [ 0] 6C l SEND [ 0] 73 RCVD [ 0] 73 s SEND [ 0] D A RCVD [ 0] D A$ RCVD [ 0] 62696E20202020202020... RCVD [ 32] 7074 D A8 french.estud.oiseau russian.estud.ptitsa fences typescript verio %A Escapes from a sessio)n with a UNIX host, enables debug mode,= resumes the session, and asks for a list of files in the? working directory. Both hexadecimal data and readable data are displayed. 2 LOCAL_CHARS< Enables the translation of the following terminal control. characters in to TELNET protocol sequences: o Interrupt o Flush Output o Are You There o Kill o Erase o Quit With local characters:C o Enabled - The local host sends t *he control characters (in theD preceding text) translated into TELNET sequences. For example, Ctrl/T becomes IAC AYT.A Enabled mode is appropriate when the remote and local hostsB implement different control characters. The remote host doesD not recognize certain control characters. Therefore, the localB host interprets these control characters before sending them to the remote host.> o Disabled - The local host sends these control characters= + uninterpreted. They are interpreted by the remote host.> Before you communicate in disabled mode, ensure that the= remote and local hosts use the same control characters. Default: DISABLE LOCAL_CHARS DCL Format ENABLE LOCAL_CHARS UNIX Format toggle localchars 2 OPTIONS_VIEW? Enables the display of option negotiations between the local1 system and the remote host during the session.D o Enabled - TELNET displays the option n,egotiations between your' local system and the remote host.A o Disabled - TELNET does not display the option negotiations.4 This mode is suitable for most communications. Default: DISABLE OPTIONS_VIEW DCL Format ENABLE OPTIONS_VIEW UNIX Format toggle options ww?f-ޮ1 EXITB Closes any open sessions, exits from TELNET, and returns to the DCL prompt.= If you terminate a session with a remote OpenVMS host, the@- connection is closed by your local host. However, the processB on the remote host is still running. To terminate it, enter the LOGOUT command. DCL Format EXIT UNIX Format quit ww?f-ޮ1 HELPA For help with one command, enter HELP plus the command verb or' the verb and parameter. For example: TELNET> HELP SET TELNET> HELP SET TERMINAL TELNET> HELP ENABLE TELNET> HELP ENABLE BINARY, For a list .of available commands, enter ? ww?f-ޮ 1 RESUME@ Resumes an open TELNET or TN3270 session that you interrupted? with the escape sequence. When you run simultaneous multiple sessions (TELNET only):? o To resume a particular session, specify a session number.< o To resume the active session, omit the session number.A o If no session is active, you must specify a session number.) NOTEA TELNET interp/rets the active session as the last session; with which you communicated. If that communicationA ended with you logging out, you have no active sessions.@ However, you might have other waiting (alive) sessions. DCL Format( RESUME [ session_number ]  UNIX Format  2 Parameters session_number) Optional. Default: the active session.? Use session_number when you run multiple TELNET sessions. It1 resum0es the session with the specified number. 2 Examples' 1.$ (characters not echoed)! TELNET> SHOW STATUS # Session 1 Active Host FINDER . . . TELNET> RESUME  $ This example:; o Starts at the prompt of remote OpenVMS host FINDER.C o Escapes from FINDER and returns to the local TELNET prompt.> o Issues SHOW STATUS, which displays one active session.# o Returns to FINDE1R's prompt.' 2.% (characters not echoed)! TELNET> SHOW STATUS ! Session 2 Active Host LUNA . . ." Session 1 Waiting Host SOLAR TELNET> RESUME 1  % This example:/ o Starts at the prompt of UNIX host luna. o Escapes from luna.D o At the TELNET prompt, issues SHOW STATUS, which displays twoB active sessions, the active one with luna and another with. host solar, 2whose status is "waiting."= The RESUME 1 command returns to "waiting" host solar. ww?f-ޮ1 SEND 2 AO> SEND AO (Abort Output) aborts the output of the last remote? command you entered, while the command continues to execute.B If you issue another SEND AO, the output resumes if the command is still executing.8 Use this command when the following conditions exist:C o The remote host does not recognize Ctrl/O as the flush output 3 character.C o You want to terminate the output but not the execution of the process. DCL Format SEND AO UNIX Format send ao 3 Example % cd /bin % ls -l total 3464+ -rwxr-xr-x 2 root 32768 Oct 19 1996 STTY@ -rwxr-xr-x 2 root 5120 Oct 19 1996 (characters not echoed) TELNET> SEND AO ^O %@ During a directory listing, the TELNET escape sequence (not@ echoed to the screen) returns to TELNET prompt. The SEN4D AO( command aborts the UNIX ls command. 2 AYTD SEND AYT (Are You There) reports if you are still connected to an established connection. DCL Format SEND AYT UNIX Format send ayt 3 Examples 1.$  TELNET> send ayt7 %TELNET-I-SESSION, Session 01, host d45lt, port 23 $C $:_TNA375: 13:53:18 (DCL) CPU=00:00:00.28 PF=448 IO=104 MEM=53 $& OpenVMS client to OpenVMS server. 2.%  5 TELNET> send ayt6 %TELNET-I-SESSION, Session 01, host LUNA, port 23 % [YES] %# OpenVMS client to UNIX server. 3.$  telnet> send aytA $:_TNA37: 13:50:20 (DCL) CPU=00:00:00.12 PF=331 IO=98 MEM=66 $# UNIX client to OpenVMS server. 4.%  telnet> send ayt [Yes] % UNIX client to UNIX server. 2 BRK@ SEND BRK (Break) terminates execution of the last command6 you entered at the remote host.B Use this command when the remote host does not recognize Ctrl/C as an interrupt character. DCL Format SEND BRK UNIX Format send brk 3 Example % cd /bin % ls -1 total 1464+ -rwxr-xr-x 2 root 32768 Oct 19 1988 STTY( -rwxr-xr-x 2 root 5120 Oct 19 1988 [* -rwxr-xr-x 1 root 45056 Oct 19 1988 adb: lrwxr-xr-x 1 root 13 Aug 21 17:41 ar -> ../usr/bin/ar: lrwxr-xr-x 1 root 13 Aug 21 17:41 as -> .7./usr/bin/as (characters not echoed) TELNET> SEND BRK% This example does the following:# o Enters the UNIX ls command.* o Enters the TELNET escape sequence.< o Enters the TELNET SEND BRK command, which terminates+ execution of ls at the remote host. 2 ECD SEND EC (Erase Character) deletes the last character you typed at the remote host.@ Use this command when the remote host does not recognize your Delete key. 8 DCL Format SEND EC UNIX Format send ec 3 Example( % mail (characters not echoed) TELNET> SEND EC + Mail $Revision 4.2.4.2 $ Type ? for help.) "/usr/spool/mail/debts": 1 message 1 new6 >N 1 debts Tue Sep 15 13:39 8/161 "Team Building" & This example:( o Misspells the UNIX mail command.D o Enters the TELNET escape sequence (not echoed to the screen)' to return to the TELNET prompt.A o Enters the T9ELNET SEND EC command, which deletes the last; character typed (l) and returns to the remote host. 2 ELD SEND EL (Erase Line) deletes the last line of text you entered on the remote host.@ Use this command when the remote host does not recognize your% Delete key or command-line recall. DCL Format SEND EL UNIX Format send el 3 Example* % mail (characters not echoed) TELNET> SEND EL  % Mail- Mail versio:n 2.18 5/19/83. Type ? for help.* "/usr/spool/mail/finder": 1 message 1 new: >N 1 finder Tue Sep 15 13:39 8/161 "Getting Together" & This example:( o Misspells the UNIX Mail command.< o Enters the TELNET SEND EL command, which deletes the? incorrect line mail and returns you to the remote host. o Enters the Mail command. 2 GAD SEND GA (Go Ahead) signals the remote host that your local system is ready.> Some applications require G;A commands in either one or both@ directions. (Usually, Go Ahead is suppressed, so sending a GA has no effect.) DCL Format SEND GA UNIX Format send ga 2 IPC SEND IP (Interrupt Program) interrupts the execution of the lastB command you entered on the remote host. The interrupt characterC clears the input and output paths to the remote host. The remoteD host interrupts the program that is processing. (This command has no effect in binary mod<e.)C Use this command if either your terminal or the remote host does9 not recognize the default interrupt character, Ctrl/C. DCL Format SEND IP UNIX Format send ip 2 NOP@ SEND NOP (No Operation) tells you whether your local host canC send data to the remote host and the remote host can receive the data. If you:B o Get an %TELNET-E-INETERROR error message, there is a problemA with the connection; the remote host is not able to rece=ive data.D o Get an %TELNET-S-REMCLOSED status message, the connection with& the remote host has been closed.< o Do not get an error message, the connection is active. DCL Format SEND NOP UNIX Format send nop 3 Examples' 1.% (characters not echoed) TELNET> SEND NOP 5 %TELNET-I-SESSION, Session 01, host nyx, port 23> No error message indicates the connection is active. (TheB information mes>sage also indicates the connection is active.)' 2.% (characters not echoed) TELNET> SEND NOP2 %TELNET-S-REMCLOSED, Remote connection closed5 -TELNET-I-SESSION, Session 01, host nyx, port 23 TELNET>/ Indicates your connection has been broken. 2 SYNCH@ The SEND SYNCH command clears the communications path between> your local system and the remote host. The SYNCH is sent in= urgent mode (out-of-band, OOB). As a result, the following act ?ions occur:> 1. The local host immediately sends an interrupt character,C placing it at the front of the data stream sent to the remote host.D 2. The remote host immediately processes the interrupt character,< ignoring any incoming data not yet processed, and then? including a TELNET synchronization or interrupt character9 in the data stream it sends back to the local host.? 3. The local host throws away all incoming data (rather thanC processi@ng that data) until it detects the synchronization orD interrupt character. This provides faster response time to the/ synchronization and interrupt characters. DCL Format SEND SYNCH UNIX Format send synch ww ff-ޮ1 SET 2 ECHO Sets the echo character.@ Use this command if either your terminal or the remote system; does not recognize the default echo character. Enter the$ following sequence of characters:%A 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new echo character 4. Closing quotation marks DCL Format SET ECHO "^character" UNIX Format set echo "^character" 3 Parameters "^character" Required.3 Character you want to use as the echo character. 3 Example TELNET> SET ECHO "^m" Echo character is '^M'.6 Sets the echo control character to either m or M. 2 ERASE Sets the erase charBacter.D The erase character deletes, either locally or remotely, the lastD character in the type-ahead buffer. (This character has no effect in binary mode.)@ Use this command if either your terminal or the remote systemB does not recognize the default erase character, the Delete key.. Enter the following sequence of characters: 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new erase character 4. Closing quotation marks DCL FormatC SET ERASE "^character" UNIX Format set erase "^character" 3 Parameters "^character" Required.4 Character you want to use as the erase character. 3 Example TELNET> SET ERASE "^P" Erase character is '^p'.7 Sets the erase control character to either p or P. 2 ESCAPE Sets the escape character.B The escape character returns you to the TELNET prompt. When youD run multiple sessions, you can set different escape sDequences for each connection.@ Use this command if either your terminal or the remote systemA does not recognize the default escape character, Ctrl/]. Enter( the following sequence of characters: 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new escape character 4. Closing quotation marks DCL Format SET ESCAPE "^character" UNIX Format set escape "^character" 3 Parameters "^character" Required.E5 Character you want to use as the escape character. 3 Example TELNET> SET ESCAPE "^P" Escape character is '^p'.8 Sets the escape control character to either p or P. 2 FLUSHOUTPUT# Sets the flush output character.C Use this command if either your terminal or the remote host does< not recognize the default flush output character, Ctrl/O.. Enter the following sequence of characters: 1. Opening quotation marks 2. A circumflex ( ^ )$ 3. "FThe new flush output character 4. Closing quotation marks DCL Format" SET FLUSHOUTPUT "^character" UNIX Format" set flushoutput "^character" 3 Parameters "^character" Required.; Character you want to use as the flush output character. 3 Example TELNET> SET FLUSHOUTPUT "^P" Flush output character is '^p'.> Sets the flush output control character to either p or P. 2 INTERRUPT Sets the interrupt character.G? The interrupt character clears the input and output paths toB the remote host. The remote host interrupts the program that is= processing. (This character has no effect in binary mode.)C Use this command if either your terminal or the remote host does9 not recognize the default interrupt character, Ctrl/C.. Enter the following sequence of characters: 1. Opening quotation marks 2. A circumflex ( ^ )! 3. The new interrupt character 4. Closing quotatio"Hn marks DCL Format SET INTERRUPT "^character" UNIX Format set interrupt "^character" 3 Parameters "^character" Required.8 Character you want to use as the interrupt character. 3 Example TELNET> SET INTERRUPT "^a" Interrupt character is '^A'.; Sets the interrupt control character to either a or A. 2 KILL Sets the kill character.> The kill character discards, both locally and remotely, theD entire tyIpe-ahead buffer. (This character has no effect in binary mode.)C Use this command if either your terminal or the remote host does4 not recognize the default kill character, Ctrl/U.. Enter the following sequence of characters: 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new kill character 4. Closing quotation marks DCL Format SET KILL "^character" UNIX Format set kill "^character" 3 Parameters "^chJaracter" Required.3 Character you want to use as the kill character. 3 Example TELNET> SET KILL "^q" Kill character is '^Q'.6 Sets the kill control character to either q or Q. 2 MODE! Sets the mode of transmission.@ The mode of transmission can be either character mode or lineC mode. Character mode is the default. Use character mode when youB run a character-processing text editor on the remote host. With@ character mode, your local system s Kends data a character at aC time to the remote host with which you have a connected session,@ and the remote host echoes the characters back for display onB your local system. (Sometimes several characters may be sent inA a burst for performance optimization, in which case the remoteC server usually replies with bursts of characters, but not a line at a time.)C To use line mode, the remote host server must support line mode.D The local host echoes characters. Line mode aLllows the following:A o Signal trapping (such as for application programs on remote4 UNIX hosts that sense traps or special events) o Local character editing< o Tab expansion (where a tab is more than simply the TAB character)9 This command overrides the ENABLE LOCAL_CHARS command.@ Before you enter this command, establish a remote connection. DCL Format SET MODE {CHAR | LINE} UNIX Format mode mode 3 Parameters !M CHAR LINE Required.; Transmission mode you want to set. Specify either of the following:9 o CHAR - Data is transmitted one character at a time.4 o LINE - Data is transmitted one line at a time. 2 QUIT= Sets the quit character, an alternate interrupt character. DCL Format SET QUIT "^character" UNIX Format set quit "^character" 3 Parameters "^character" Required.3 Character you want to use as the #Nquit character. 3 Example TELNET> SET QUIT "^i" Quit character is '^I'.B Sets the alternate interrupt control character to either i or I. 2 TERMINAL= Sets the default terminal type for future TELNET or TN3270 connections. Format SET TERMINAL /DEVICE=type 3 Qualifiers /DEVICE /DEVICE=type Required.0 Terminal model. Specify one of the following: o A terminal model.B o An IBM terminal to emu!Olate. Enter the full specification for one of the following: - IBM-3278-2 - IBM-3278-3 - IBM-3278-4 - IBM-3278-5 3 Example' TELNET> SET TERMINAL/DEVICE=IBM-3278-2# Terminal type is set to IBM-3278-2 TELNET>? Runs TN3270. The terminal is emulating an IBM 3278-2 model terminal. ww@f-ޮ1 SHOW 2 DEVICE4 Displays status information about TELNET devices. DCL Format, SHOW DEVI!PCE [ device_name ] [ /FULL ] 3 Parameters device_name3 Optional. TNA device name. For example, TNA245:. 3 Qualifiers /FULL Optional.D Shows detailed information about TNA devices on the local system. 3 EXAMPLES 1.TELNET> SHOW DEVICE TNA281:2 TNA281: BG9526: Temporary Local: condor:235 Remote: freebid:10330 Displays status of a particular TNA device. 2.TELNET> SHOW DEVICE Q 1 2 3 43 TNA10: BG495: Temporary Local: condor:236 Remote: freebid:10593 TNA12: BG658: Temporary Local: condor:235 Remote pigdog:14553 TNA13: BG671: Temporary Local: condor:235 Remote: pigdog:14563 TNA35: BG2993: Temporary Local: condor:238 Remote: projector:10443 TNA37: BG2999: Temporary L Rocal: condor:235 Remote: pigdog:14593 TNA38: BG3000: Temporary Local: condor:235 Remote: pigdog:14703 TNA47: BG3393: Temporary Local: condor:23@ Remote: l-22-222-37.*.com:10693 TNA58: BG3866: Temporary Local: condor:23A Remote: pcruth.mel.dec.com:10433 TNA59: BG3878: Temporary Local: condor:23C S Remote: lexser13.lex.dec.com:10903 TNA60: BG3910: Temporary Local: condor:23@ Remote: l-20-244-54.*.com:16353 TNA61: BG3932: Temporary Local: condor:23B Remote: lexser3.lex.dec.com:10933 TNA62: BG3933: Temporary Local: condor:235 Remote: tcpipa:1801 TNA63: TemporaryD Displays status of all TNA devices on the local system. Command T output includes:( 1 The TNA device (terminal device)1 2 The associated BG device (network device)8 3 Whether the TNA device is permanent or temporary4 4 Local and remote host names and port numbers 3.TELNET> SHOW DEVICE/FULL Device TNA7:D Access port name: "Host: 16.99.999.140 Port: 1310"' Characteristics: (none). Connection attempts: 0 (tries)0 Connection interval: 0 (seconds)0 U Connection timeout: 0 (seconds): Data high limit: 512 (bytes at VCI port): Data low limit: 256 (bytes at VCI port)0 Idle interval: 0 (seconds)0 Idle timeout: 0 (seconds)' Network device name: BG266:' Protocol: TELNET7 Local address: 16.99.999.100 (condor)& port: 23? Remote address: 16.99.999.140 (pigdog.decV.com)& port: 1310% Service type: None . . .C Displays detailed information about all TNA devices that existA on the local system. The information shown in the example is output for each TNA device. 2 PARAMETERSC Displays current TELNET or TN3270 parameter settings. If you run@ multiple sessions, the display applies to the active session. DCL Format SHOW PARAMETERS UNIWX Format display 3 Example TELNET> SHOW PARAMETERS4 Will flush output when sending interrupt characters/ Won't send interrupt characters in urgent mode# Will map carriage return on output+ Won't recognize certain control characters Won't show option negotiation- Won't print network data flow in hexadecimal [^^] echo [^]] escape [^?] erase [^O] flushoutput [^C] interrupt [^U] kill [^Y] quit [^T] areyouthere TELNET><X Displays the parameter settings for the active session,) revealing the following information:< o Automatic flushing (AUTOFLUSH) of output is enabled.B o Sending of interrupt characters in urgent mode (AUTOSYNCH) is disabled.@ o Mapping of received carriage returns (CRMOD) is enabled.D o Mapping of carriage returns as Return LP on output (CRLF) is disabled.= o Interpretation of control characters (LOCAL_CHARS) isC enabled. TYhe remote host does not recognize certain control> characters; therefore, the local host interprets them.A o Display of option negotiations (OPTIONS_VIEW) between the+ local and remote hosts is disabled.A o The display or printing of data in hexadecimal (DEBUG) isA disabled. Therefore, TELNET displays the data in readable text only.9 o The control characters are interpreted as listed. 2 SESSION= Displays the session information Zabout your current TELNET@ sessions (or TN3270 session) and, if you are running multiple/ TELNET sessions, about the waiting sessions. DCL Format SHOW SESSION UNIX Format status 3 Examples 1.TELNET> SHOW SESSION+ %TELNET-E-NOSESSION, No active session TELNET> CONNECT LUNA* %TELNET-I-Trying, Trying... 192.1.2.36 %TELNET-I-SESSION, Session 01, host luna, port 23- -TELNET-I-Escape, Escape character: '^]'. LUNA --[ Unauthorized access is prohibited Username: BURNS9 Password: (password not echoed)> Welcome to OpenVMS Alpha Version 7.3 on node LUNA' $ (characters not echoed) TELNET> SHOW SESSION9 Session 01, host LUNA, port 23 (default active port) TELNET>A Displays information about current sessions. The informationA returned for the first SHOW SESSION command reveals that theA local host has no active sess\ions. The user then connects toB host LUNA and returns to the TELNET prompt to display session@ information once again. This time, the SHOW SESSION command9 displays information about the connection with LUNA.+ 2.TELNET> CONNECT ESTRELLA 23 IBM-3278-2 . . .' % (characters not echoed) TELNET> SHOW SESSION# Session 01, host LUNA, port 23@ Session 02, host ESTRELLA, port 23 (default active session) TELNET>A ] Here, the same user has established another connection, this= time to host ESTRELLA. The SHOW SESSION command displays? information about all sessions, revealing that the current* active session is with host ESTRELLA. 2 STATUS> Displays the status of the current TELNET or TN3270 session? and, if you are running multiple sessions, about the waitingB sessions. Status information can include information about openD sessions, such as which one is active and which o^nes are waiting,A the escape character and options currently set, and the number? of data overruns and suspended network I/Os (inputs/outputs) detected. DCL Format SHOW STATUS UNIX Format status 3 Examples 1.TELNET> SHOW STATUS No open sessions Escape character: '^]' TELNET> CONNECT LUNA+ %TELNET-I-Trying, Trying ... 192.1.2.36 %TELNET-I-SESSION, Session 01, host LUNA, port 23- -TELNET-I-Escape, Escape char_acter: '^]'. LUNA -- Unauthorized access is prohibited Username: BURNS6 Password: (password not echoed)> Welcome to OpenVMS Alpha Version 7.3 on node LUNA $  TELNET> SHOW STATUS) Session 1 Active Host LUNA Port 23, Operating Mode: Character-at-a-time Escape character: '^]' Options: Echo - Remote" Terminal Type - Local" Terminal Type - VT300& ` Suppress Go Ahead - Local' Suppress Go Ahead - Remote$ Terminal Dataoveruns: 0$ Suspended Network I/Os: 0 TELNET>! Session 1 Active Host LUNA, Operating Mode: Character-at-a-time Escape character: '^]' Options: Echo - Remote" Terminal Type - Local& Terminal Type - DEC-VT300& Suppress Go Ahead - Local' Suppress Go Ahead - Remote$ Termianal Dataoveruns: 0$ Suspended Network I/Os: 0 TELNET>A The user enters a SHOW STATUS command, which reveals that noC active sessions have been established. After the user connectsD to host LUNA, the next SHOW STATUS command displays information( about the active session with LUNA.+ 2.TELNET> CONNECT ESTRELLA 23 IBM-3278-2 . . .3 % (characters not echoed) TELNET> SHOW STATUS- Session 2 Active bHost ESTRELLA Port 23, Operating Mode: Character-at-a-time Escape character: '^]' Options: Echo - Remote" Terminal Type - Local" Terminal Type - VT300& Suppress Go Ahead - Local' Suppress Go Ahead - Remote$ Terminal Dataoveruns: 0$ Suspended Network I/Os: 0) Session 1 Waiting Host LUNA Port 23 TELNET>? Here, the user has established an additional session, thics> time with host ESTRELLA. The SHOW STATUS command displaysA information about the currently active session with ESTRELLA and the waiting session. wwPf-ޮ1 SPAWND Suspends your current TELNET or TN3270 session and returns you to the local DCL prompt.5 To resume your session, log out at the DCL prompt. DCL Format SPAWN UNIX Format z 2 Example % date Fri Sep 11 14:16:39 EDT 2002# % (characterds not echoed) TELNET> SPAWN $ SHOW TIME 11-Sep-2002 14:16:41 . . . $ LOGOUT6 Process GROUP_1 logged out at 11-Sep-2002 14:27:18.63 TELNET> RESUMEB The user returns to the TELNET prompt from the active sessionD with a remote UNIX host. The user then enters the SPAWN command@ and, at the DCL prompt, displays the time and several otherA commands (not shown) before logging out and returning to the0 TELNET prompt to resume the activee session. wwPf-ޮ 1 TN3270@ At the DCL prompt, the TN3270 command starts a TELNET sessionD that runs TN3270. For information about the TN3270 command, enter the following command: $ HELP TN3270 wwPf-ޮ1 UNBIND_SESSION@ Unbinds a network device (BGx:) from a TELNET terminal deviceC (TNAx:) that was previously bound with a BIND_SESSION command or qualifier. DCL Format3 UNBIND_SESSION network_device terminal_dfevice 2 Parameters network_device Required.# Network device (BGx:) to unbind. terminal_device Required.& Associated terminal device (TNAx:). 2 Example TELNET> SHOW DEVICE: TNA458: BG2032: Temporary condor:4009 angel:23D TNA460: BG4739: Temporary condor:23 ler13.dec.com:1037 TNA463: Temporary( TELNET> UNBIND_SESSION BG2032: TNA458: TELNET>? This example displays the devices and unbinds one of them.ww