i want to set display settings in telnet .
Actually when i telnet to a machine
and opens any file then its output is garbelled on screen. how to set these settings. by opening a file means in vi editor . |
telnet to ... what now?
Quote:
2. What do you mean by "opens any file"? Are you viewing in view or less, did you cat the file, open it in vi or another editor? I suspect it is something like your terminal type is incompatible with telnet or not being set properly. It is difficult to tell from the way you posted your question what you are really asking. Please explain a bit and we will try to help. [ And I recommend avoiding telnet if you can. It is a useful tool for testing ports, but I never use it for sessions. ] |
telnet to ... what now?
@tushii012: dude! Are you still alive?
If you have a solution, please mark this thread solved. If not, please provide some information so we can help you! |
by using ssh the same behaviour takes place
i am opening a file in vi editor and it says terminal too wide if it is full screen window of vi. and shortening the width does not properly show the content of a file. |
Check your terminal type.
1. What OS are you connecting from, and what is your terminal type there?
2. What is the command line or software you are using the build the session/connection? 3. Once you have a session, what is your terminal type on the other end? 4. I may have missed that you specified this already, but what is the OS of the target server? I use putty (from both windows and Linux) as well as OpenSSH to connect to many different versions and distributions of Linux on physical and virtual machines and have never seen that message. I see no reason why we should not be able to trak down and kill this problem. |
i use bash shell from my desktop terminal utility in linux 10.10.
ssh communication is used . the target machine is solaris 5.9 generic of sparc ,where file exists ther i use bash shell. i am using vi editor in it . |
there was a trick, execute it after resizing the window:
eval `resize` maybe it helps |
where is to execute i have tried at both solaris does not have resize command
and at linux shell executing above command same results as before (terminal too wide) |
terminal too wide cannot be solved this way, in this case you need to narrow your window or use another editor. Maybe vim will work.
I have /usr/openwin/bin/resize on solaris. |
All times are GMT -5. The time now is 11:18 PM. |