Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Command line showing strange fonts.

Posted on 2004-04-22
5
Medium Priority
?
321 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month11 days, 23 hours left to enroll

916 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