Solved

Command line showing strange fonts.

Posted on 2004-04-22
5
314 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare 6 crashing 14 98
Delete email that have a topic like  Cpanel 3 69
linux apache localhost dev laptop 5 48
linux copy files from usb to folder on system 14 60
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

920 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

16 Experts available now in Live!

Get 1:1 Help Now