% Librarian T09-20F} _Y} _cd 5 BIND_SESSION CONNECTCREATE_SESSION(DELETE_SESSION`DISABLE DISCONNECT XENABLE+EXIT,\HELP-RESUME1SEND>BSETM(SHOW`vSPAWNaTN3270bUNBIND_SESSION  J} _ 1 CONNECTB Establishes a TELNET connection between your local system and aA remote host. You can run one session or up to ten simultaneous4 sessions (only one session if you invoke TN3270). DCL-Style Format. CONNECT host [ port* [ terminal_type ] ]- * Required if you specify terminal type. UNIX Style Format* open host [ port ] [ terminal_type ] 2 Parameters host Required., Remote host to which you want to co nnect. 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 sess ion running TN3270, the terminal model to emulate. Enter one: - 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 modelC terminal. For syntactical 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.% (characters not echoed) 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. wwJ} _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$ may then be performed through the created7 TELNET device using terminal driver $QIO operations. DCL-Style Format6 BIND_SESSION network_device [ /PROTOCOL=option ] 2 Parameters network_device Required. An existing network device. 2 Qualifiers /PROTOCOL /PROTOCOL=option Optional. Default: NONE. Where option is: 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 ww55L} _1 CREATE_SESSIONA Establishes an outbound T"ELNET pseudodevice (network terminal)/ and connects it to a remote listener (port). DCL-Style Format' CREATE_SESSION host port [ unit ]. [ /[ NO ]TIMEOUT=option ]) [ /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: 08 The decimal number specifying the unit number for theB pseudodevice (TNAx). The default "0" specifies that the DIGITAL< TCP/IP Services for OpenVMS software should pick the nextD available unit number. If the requested unit number is already inB use, the DIGITAL TCP/IP Services for OpenVMS software picks theB next available unit number. In all cases, the software notifies! you of the unit number chosen. 2 Qualifiers /TIMEOUT /TIMEOUT /NOTIMEOUT Optional. Default: /NOTIMEOUT o /TIM EOUT= Creates a TNA device which has the following connection attributes:C o NOIDLE-The connection is broken when the device is finallyA deassigned. The device will automatically reconnect when data is written to it.C o 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 device has? neither received nor set any data for the idle period.? o NORECONNECTION-The device does not automatically retry$ reconnections if they fail.B o RECONNECTION-When data is written to the device and it isB not connected, this value determines the interval between> reconnection attempts. For example, if an application@ writes to a TNA with a RECONNECTION-0:1:00, then if the> first connection attempt fails, subsequent connection7 attempts will be made in one-minute intervals. o /NOTIMEOUT? Creates a TNA device which breaks the connection when theB device is finally deassigned (the last channel assignment is deassigned). /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 internalB representation of a standard network terminal. NVT format isB standard 7-bit USASCII 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> CREATE_SESSION DEBTS 23 2C Establishes a network terminal known as TNA2 and connects this, device to port 23 on remote host DEBTS.: TELNET> CREATE_SESSION /TIMEOUT=(NOIDLE, RECONNECTION=NN); Creates a device which disconnects on deassignment and+ reconnects when data is written to it." TELNET> CREATE_SESSION /NOTIMEOUTB Creates a device that is not reusable: the device disconnects$ on deassignment and is deleted.D TELNET> CREATE_SESSION /TIMEOUT=(IDLE=0:0:30, RECONNECTION=0:2:00)= Creates a device which times out after being idle for 30> seconds and which retries connection attempts at 2 minute intervals. ww55L} _1 DELETE_SESSION= Deletes an outbound TELNET pseudodevice (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-Style Format DELETE_SESSION unit 2 Parameters unit Required.D The decimal number specifying the unit number of the pseudodevice (TNx) to be deleted. 2 Example TELNET> DELETE_SESSION 20 Deletes the network terminal known as TNA2. ww55L} _ 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-Style Format DISABLE AUTOFLUSH UNIX Style 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-Style Format DISABLE AUTOSYNCH UNIX Style 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-Style Format DISABLE BINARY UNIX Style Format toggle binary 2 CRLF= Disables the sending of carriage returns as Return LF (theD carriage return / line feed combination) at the end of each line.B Use this command if the remote host interprets Return as ReturnB LF (carriage return / line feed combination), which is CR Mode. Default: ENABLE CRLF. DCL-Style Format DISABLE CRLF UNIX Style Format toggle crlf 2 CRMOD? Disables the mapping of received carriage returns. With this? mapping, the remote host sends each line with Return LF (theC 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-Style Format DISABLE CRMOD UNIX Style 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-Style Format DISABLE DEBUG UNIX Style 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-Style Format DISABLE LOCAL_CHARS UNIX St yle 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-Style Format DISABLE OPTIONS_VIEW UNIX Style Format toggle options wwջM} _ 1 DISCONNECT, Terminates 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, issue a LOGOUT command. DCL-Style Format DISCONNECT UNIX Style Format close wwuBO} _ 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-Style Format ENABLE AUTOFLUSH UNIX Style Format toggle autoflush 2 AUTOSYNCH; Enables the sending of the synchronization and interrupt characters in urgent mode.> o Enabled - The local ho#st sends an interrupt 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-Style Format ENABLE AUTOSYNCH UNIX Style Format toggle autosynch 2 BINARY3 Enables the transmission of data in binary mode.@$ o Enabled - The EOL (end-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 to9 end with a carriage return / line feed combination.< Binary mode provides interaction when the remote host:# - Expects special charactersD - Does not support automatic negotiation of the TELNET binary option@ o Disabled - EOL is sent as Return LF (the car%riage return / line feed combination). Default: DISABLE BINARY. DCL-Style Format ENABLE BINARY UNIX Style Format toggle binary 2 CRLF< Enables the sending of carriage returns as Return LF (theD 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 i&s CR mode. Default: ENABLE CRLF. DCL-Style Format ENABLE CRLF UNIX Style Format toggle crlf 2 CRMOD> Enables the mapping of received carriage returns. With this? mapping, the remote host sends each line with Return LF (theD 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-Style Format ENABLE CRMOD UNIX Style 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-Style Format ENABLE DEBUG UNIX Style 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 rus)sian.estud.ptitsa fences typescript verio %A Escapes from a session 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 the control characters (listedC above) translated in to 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 remot+e 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-Style Format ENABLE LOCAL_CHARS UNIX Style Format toggle localchars 2 OPTIONS_VIEW? Enables the display of option negotiations between the local1 syste,m and the remote host during the session.D o Enabled - TELNET displays the option negotiations 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-Style Format ENABLE OPTIONS_VIEW UNIX Style Format toggle options wwP} _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 process@ on the remote host is still running. To terminate it, issue a LOGOUT command. DCL-Style Format EXIT UNIX Style Format quit wwP} _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 ? wwP} _ 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 a/ctive, you must specify a session number.) NOTEA TELNET interprets 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-Style Format( RESUME [ session_number ]  UNIX Style Format  2 Parameters session_numb0er) Optional. Default: the active session.? Use session_number when you run multiple TELNET sessions. It1 resumes 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 retu1rns to the local TELNET prompt.> o Issues SHOW STATUS, which displays one active session.# o Returns to FINDER'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, is2sues SHOW STATUS, which displays twoB active sessions, the active one with luna and another with. host solar, whose status is "waiting."= The RESUME 1 command returns to "waiting" host solar. wwP} _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. Use t3his command when:C o The remote host does not recognize Ctrl/O as the flush output character.C o You want to terminate the output but not the execution of the process. DCL-Style Format SEND AO UNIX Style 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 dire4ctory listing, the TELNET escape sequence (not@ echoed to the screen) returns to TELNET prompt. The SEND 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-Style Format SEND AYT UNIX Style Format send ayt 3 Example# % (characters not echoed) TELNET> SEND AYT [Yes]  % 2 BRK@ SEND BRK (Break) terminates executi5on of the last command you entered at the remote host.B Use this command when the remote host does not recognize Ctrl/C as an interrupt character. DCL-Style Format SEND BRK UNIX Style 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 6 1 root 13 Aug 21 17:41 as -> ../usr/bin/as (characters not echoed) TELNET> SEND BRK This example:# o Issues the UNIX ls command.* o Issues the TELNET escape sequence.< o Issues 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 Del7ete key. DCL-Style Format SEND EC UNIX Style 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 prompt8.A o Enters the TELNET SEND EC command, which deletes the last; character (l) typed 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-Style Format SEND EL UNIX Style Format send el 3 Example* % mail (characters not echoed) TELNET> SEN9D EL  % Mail- Mail version 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 re:ady.> Some applications require GA commands in either one or both? directions. (Usually, Go Ahead is suppressed so sending a GA has no effect.) DCL-Style Format SEND GA UNIX Style 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 process;ing. (This command 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. DCL-Style Format SEND IP UNIX Style 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 receive 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-Style Format SEND NOP UNIX Style Format send nop 3 Examples' 1.% (characters not echoed) TELNET> SEND NOP 5 %TELNET-I-SESSION, Session 01, host nyx, port 23> No er=ror message indicates the connection is active. (TheB information message 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:> 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 inc?oming data (rather thanC processing that data) until it detects the synchronization orD interrupt character. This provides faster response time to the/ synchronization and interrupt characters. DCL-Style Format SEND SYNCH UNIX Style Format send synch wwUS} _1 SET 2 ECHO Sets the echo character.@ Use this command if either your terminal or the remote system8 does not recognize the default echo character&@. Enter: 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new echo character 4. Closing quotation marks DCL-Style Format SET ECHO "^character" UNIX Style 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 ERASEA Sets the erase character.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: 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new erase character 4. Closing quotation marks DCL-Style Format B SET ERASE "^character" UNIX Style 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 sCequences for each connection.@ Use this command if either your terminal or the remote systemB does not recognize the default escape character, Ctrl/]. Enter: 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new escape character 4. Closing quotation marks DCL-Style Format SET ESCAPE "^character" UNIX Style Format set escape "^character" 3 Parameters "^character" Required.5 Character you want to useD 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: 1. Opening quotation marks 2. A circumflex ( ^ )$ 3. The new flush output character 4. Closing quotation marks E DCL-Style Format" SET FLUSHOUTPUT "^character" UNIX Style 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.? The interrupt character clears the input and outpFut 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: 1. Opening quotation marks 2. A circumflex ( ^ )! 3. The new interrupt character 4. Closing quotation marks DCL-Style Format SET INTERRUPT "^character" UNIX Style FormGat 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 type-ahead buffer. (This character has no effect in binary mode.)C Use#H this command if either your terminal or the remote host does4 not recognize the default kill character, Ctrl/U. Enter: 1. Opening quotation marks 2. A circumflex ( ^ ) 3. The new kill character 4. Closing quotation marks DCL-Style Format SET KILL "^character" UNIX Style Format set kill "^character" 3 Parameters "^character" Required.3 Character you want to use as the kill character. 3 ExampleI 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 sends data a character at aC time to the remote host with which you have a connected session,@ a Jnd 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 allows the following:A o Signal trapping (such as for application programs on remote4 UNIXK 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 issue this command, establish a remote connection. DCL-Style Format SET MODE {CHAR | LINE} UNIX Style Format mode mode 3 Parameters CHAR LINE Required.; Transmission mode you want to set. Specify either of "Lthe 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-Style Format SET QUIT "^character" UNIX Style Format set quit "^character" 3 Parameters "^character" Required.3 Character you want to use as the quit character. 3 Example TELNET> SET QUIT "^i" Quit character Mis '^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 DIGITAL terminal modelB o An IBM terminal to emulate. Enter the full specification for one of these: - %N 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. wwV} _1 SHOW 2 DEVICE4 Displays status information about TELNET devices. DCL-Style Format, SHOW DEVICE [ device_name ] [ /FULL ] 3 Parameters device_nameO3 Optional. TNA device name. For example, TNA245:. 3 Qualifiers /FULL Optional.D Shows detailed information about TNA devices on the local system. 3 Example TELNET> SHOW DEVICE TNA281:C TNA281: BG9526: Temporary condor:23 freebid:10330 Displays status of a particular TNA device. TELNET> SHOW DEVICE TELNET> show device3 1 2 3 4 5C TNA10: BG495: Temporary condor:23 P freebid:1059B TNA12: BG658: Temporary condor:23 pigdog:1455B TNA13: BG671: Temporary condor:23 pigdog:1456E TNA35: BG2993: Temporary condor:23 projector:1044B TNA37: BG2999: Temporary condor:23 pigdog:1459B TNA38: BG3000: Temporary condor:23 pigdog:1470M TNA47: BG3393: Temporary condor:23 l-22-222-37.*.com:1069N TNA58: BG3866: Temporary condor:23 pcruth. Qmel.dec.com:1043P TNA59: BG3878: Temporary condor:23 lexser13.lex.dec.com:1090M TNA60: BG3910: Temporary condor:23 l-20-244-54.*.com:1635O TNA61: BG3932: Temporary condor:23 lexser3.lex.dec.com:1093B TNA62: BG3933: Temporary condor:23 tcpipa:1801 TNA63: TemporaryD Displays status of all TNA devices on the local system. Command output includes:( 1 The TNA device (terminal device)1 R 2 The associated BG device (network device)8 3 Whether the TNA device is permanent or temporary' 4 Local host name and port number( 5 Remote host name and port number TELNET> SHOW DEVICE/FULL Device TNA7:@ Access port name: "Host: 16.99.999.140 Port: 1310"# Characteristics: (none)* Connection attempts: 0 (tries), Connection interval: 0 (seconds), Connection timeout: 0 (seconds)6 Data high limit: S 512 (bytes at VCI port)6 Data low limit: 256 (bytes at VCI port), Idle interval: 0 (seconds), Idle timeout: 0 (seconds)# Network device name: BG266:# Protocol: TELNET3 Local address: 16.99.999.100 (condor)" port: 23; Remote address: 16.99.999.140 (pigdog.dec.com)" port: 1310! Service type: None . . .TA Displays detailed information on all TNA devices which 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-Style Format SHOW PARAMETERS UNIX Style Format display 3 Example TELNET> SHOW PARAMETERS4 Will flush output when sending interrupt Ucharacters/ 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> TELNET>< Displays the parameter settings for the active session, revealing that:< o Automatic Vflushing (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. The remote host does not recognize certain control> characters; therefore, the local host interprets them.A o WDisplay 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 about your current TELNET@ sessions (or TN3270 session) and, if you are running multiple/ TELNET sessions, about the waXiting sessions. DCL-Style Format SHOW SESSION UNIX Style 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 echoYed)> Welcome to OpenVMS Alpha Version 7.1 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 sessions. The user then connects toB host LUNA and returns to the TELNET prompt to display session@ informaZtion 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 comma [nd displays? information about all sessions, revealing that the current* active session is with host ESTRELLA. 2 STATUSC Displays the status of the current TELNET or TN3270 session and,D if you are running multiple sessions, about the waiting sessions.A Status information may include information about open sessions= such as: which one is active and which one(s) 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-Style Format SHOW STATUS UNIX Style 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 character: '^]'. LUNA -- Unauthorized access is prohibited Username: BURNS6 Passwor]d: (password not echoed)> Welcome to OpenVMS Alpha Version 7.1 on node LUNA3 $ (characters not echoed) 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 Ahe^ad - 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$ Terminal Dataoveruns: 0$ Suspended Network I/Os: 0_ TELNET>> The user enters a SHOW STATUS command to discover 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 Host ESTRELLA Port 23, Operating Mode: Character-at-a-ti`me 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, this> time with host ESTRELLA. The SHOW STATUS command displaysaA information about the currently active session with ESTRELLA and the waiting session. wwY} _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-Style Format SPAWN UNIX Style Format z 2 Example % date Fri Sep 11 14:16:39 EDT 1998# % (characters not echoed) TELNET> SPAWN $ SHOW TIME b 11-Sep-1998 14:16:41 . . . $ LOGOUT8 Process GROUP_1 logged out at 11-Sep-1998 14:27:18.63 TELNET> RESUMED In this example, the user returns to the TELNET prompt from theA active session with a remote UNIX host. The user then enters@ the SPAWN command and, at the DCL prompt, displays the timeB and several other commands (not shown) before logging out andA returning to the TELNET prompt to resume the active session. wwcY} _ 1 TN3270@ At the DCL prompt, the TN3270 command starts a TELNET session> that runs TN3270. For information about the TN3270 command, enter: $ HELP TN3270 wwY} _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-Style Format3 UNBIND_SESSION network_device terminal_device 2 Parameters network_device Required.# Network device (BGx:) to unbind. terminal_device Required.& Associated terminal device (TNAx:). 2 Example TELNET>: TNA458: BG2032: Temporary condor:4009 angel:23D TNA460: BG4739: Temporary condor:23 ler13.dec.com:1037 TNA463: Temporary( TELNET> UNBIND_SESSION BG2032: TNA458: TELNET>ww