LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 07-15-2007, 05:58 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 27

Rep: Reputation: 15
how to reset terminal?

After i'm running a program in C, my terminal show some wied characters and it hangs up.
I know there was a key combination to reset it in cases like this, but i can't remeber it and couldn't find it on google either. Anyone knows ?

Thanks !
Old 07-15-2007, 06:32 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 657Reputation: 657Reputation: 657Reputation: 657Reputation: 657Reputation: 657
Type in the "reset" command. If this is a terminal program like konsole, you can resize it a bit then to get rid of the weird characters.
Old 07-15-2007, 08:41 AM   #3
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Interrupt using Ctrl + C, then stty sane
Old 07-16-2007, 02:41 AM   #4
LQ Newbie
Registered: Feb 2007
Posts: 27

Original Poster
Rep: Reputation: 15
solved it, thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM
How to launch an app in terminal, & keep it running after I close terminal? kornerr Linux - General 7 06-24-2006 05:54 PM
Alternative terminal to konsole & gnome-terminal Adony Linux - Software 3 10-08-2004 03:59 AM
How do I reset terminal attributes? Tarts Slackware 0 12-10-2003 07:19 AM

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration