Operating System - HP-UX
1854575 Members
6609 Online
104102 Solutions
New Discussion

Re: Telnet: mode character

 
j773303
Super Advisor

Telnet: mode character

While Telnet, it can be press CTRL+] to set the "mode character" or "mode line" , does anyone knows is it possible set "mode character" in the other configuration file or telnet can add some option to set mode, that don't need press CTRL+] again ? Thanks.
Hero
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Telnet: mode character

sttty -a

displays current settings.

man stty will tell you how to set them.

It should be possible.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
j773303
Super Advisor

Re: Telnet: mode character

Can you show me what parameter set the mode char or mode line in the stty ? Thanks in advance.
Hero
Hein van den Heuvel
Honored Contributor

Re: Telnet: mode character


Hmmm,

Best I know you can only choose on telnet invocation between ^] and ^[

The default being ^], use switch -ce for which is equal ^].

fwiw,
Hein
j773303
Super Advisor

Re: Telnet: mode character

What's the default mode of Telnet ?
character or line,

Is it possible change the default mode ? Thanks.
Hero
Bharat Katkar
Honored Contributor

Re: Telnet: mode character

Hi,
Default telnet sessions parameters are as:

Escape Character is 'CTRL+]'
WILL AUTH (NTLM Authentication)
LOCAL_ECHO off
Sending both CR & LF
WILL TERM TYPE

Preferred Term Type is ANSI
Negotiated Term Type is ANSI

You can set following telnet session parameters using set command:

NTLM Turn ON NTLM Authentication.
LOCAL_ECHO Turn ON LOCAL_ECHO.
TERM x (where x is ANSI, VT100, VT52, or VTNT)
CRLF Send both CR and LF

Regards,

You need to know a lot to actually know how little you know