I’m trying to use say a command on a remote system that I’m connected to. A command like “top” where it it uses the full screen to display output, but telnet seems to have a default window size. Does anybody know how to change it?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It seems I found out myself how to do it…
I needed to set the evioronment variables LINES and COLUMNS on the system that I was telneted too, it didn’t really have anything to do with telnet itself. I did it in the following way:
I first ran “resize” to get the amount of lines and columns my current terminal was it gave me the following:
I then pasted this in to the system I was telneted to.
TADA! 🙂