Solved

Command line showing strange fonts.

Posted on 2004-04-22
5
311 Views
Last Modified: 2013-12-03
HEEEEELLLLP!!!

I screwed up something on a remote server and I haven’t a clue how to fix it.  Long story short I was using cat to view a file which just kept on going and going and going so understandably I tried using Ctrl+C (quite a few times) which didn't help.  Now whenever I connect back to the server I see, now pardon my lack of professionalizm here but this is the best way to describe it as "squiggly wigglies".  My coworker suggested using Ctrl+U or Ctrl+Q or Ctrl+O... (yes we ended up trying the entire alphabet including Ctrl+P and Ctrl+D which logged us out).  

Please help, I'm desperate here, as I really need to get back on that server.

Much thanks,
Kasia
0
Comment
Question by:kasiencja
5 Comments
 

Author Comment

by:kasiencja
ID: 10893825
Hmm, I need to clarify my last point.  I can get on the server, since the obvious first things are username and password, but I cannot understand anything I see.

Thanks
0
 
LVL 3

Accepted Solution

by:
255x4 earned 500 total points
ID: 10894272
kasiencja,

This is a common problem.  I have it also when I cat a binary file.  My question is:  is this in a full terminal or just in an Xterminal?

If it is in a full terminal, you will need to log out (just type in exit) and then go to another terminal and kill the getty process for that terminal.  If it does not work, a reboot may be in order to clear up that terminal.

If it is an xterm terminal, you are in luck, just close that xterminal and start a new one, problem solved.

I know of no way to recover a bash or xterm that has been corrupted (for lack of a better word) by cat'ing a binary file.

Thanks,

255x4
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10895350
Try "reset" or, if this does not work "cat /bin/ls"

If neither of these commands work, it is possible that you actually changed the font for your console.
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10896547
I think reset as suggested by khkremer should work for you

when you see the username/password prompt (irrespective of whether you understand it or not) just type in your username and password (let it appear as squiggly wiggles, it does not matter) ... Once you are logged in, type "reset" and hit enter ...

This point onwards, it should be all ok
0
 
LVL 23

Expert Comment

by:brettmjohnson
ID: 10896852
You can also try:

stty cooked

      or

stty sane

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now