Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 .
Actually when i telnet to a machine
and opens any file then its output is garbelled on screen.
how to set these settings.
1. Why in the world are you using telnet? That is terribly 1980s, unsecure and primative. Try ssh or putty. (Putty adds some real terminal emulation features, and works much the same on both *nix and Windows hosts.)
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. ]
@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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.