Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

telnet settings

Status
Not open for further replies.

alarge23

Programmer
Oct 26, 2003
50
US
I am having difficulty with a telnet session. I am working in a directy where the path name is over 80 characters long. When the total path name is over 80 characters it will let me type in commands and execute them, but it does not show them on the screen. This is kind of annoying. I tried increasing the size of my screen, but it still has the same problem. Any suggestions?
 
This maybe totally irrelevant but you will know more about that than I do, I did read this bit of information at Google, see if it means anything to you?


Usage Guidelines
By default, the route provides a screen display width of 80 characters. You can reset this value for the current session if it does not meet the needs of your terminal.

The rlogin protocol uses the value of the characters argument to set up terminal parameters on a remote host.

Examples
In the following example the location for line 7 is defined as "console terminal" and the display is set to 132 columns wide:

Router(config)# line 7

Router(config-line)# location console terminal

Router(config-line)# width 132

Related Commands
Command Description
terminal width
Sets the number of character columns on the terminal screen for the current session.


 
I assume you are running from a cmd prompt. If you click on your cmd window properties, under layout, you can change the window size. The default is 80 but you can run on 132 or whatever size you feel comfortable with.
 
Yes I am running from the cmd prompt to get into telnet. I am able to change the screen size to whatever I want. But, telnet defaults to only allowing you to enter 80 characters per line, regardless of how big the screen is. This is what I want to change. If the path name is longer than 80 characters the line wraps. At that point you can no longer see the commands you are entering.
I tried the site linney suggested above. I am not sure that this applies to telnet sessions. I played around with the 'stty' command. Any know a way to do it thru this command?
 
Hi, alarge23

Bit of a kludge, but why not just subst a drive letter to your directory and thereby eliminate the long path altogether? You are at a cmd prompt anyway, so navigate to your directory and then enter

subst q: c:.

assuming drive q is available and c: is your current drive.
The dot means current directory on that drive. Now you can just use q: instead of the c:<path>.

Jock
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top