Solved

Command line showing strange fonts.

Posted on 2004-04-22
5
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to print sub line with  sed /awk /perl in bash file 11 69
Apache module 5 67
simple bash script needed to unpack tar.gz 4 30
Linux 3 38
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

730 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