Linux Debian support - a fix for whacked terminal settings - bash

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > March 2005 > a fix for whacked terminal settings - bash





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author a fix for whacked terminal settings - bash
daman

2005-03-21, 2:45 am

send the terminal an initialization command, while inside bash#:

reset

and it sets the screen back to normal.
Does this command work on most dead terminals?
Prethanks

www.linuxfree.net

Chris F.A. Johnson

2005-03-21, 2:45 am

On Mon, 21 Mar 2005 at 07:56 GMT, daman wrote:
> send the terminal an initialization command, while inside bash#:
>
> reset
>
> and it sets the screen back to normal.
> Does this command work on most dead terminals?


If the terminal is dead, how are you going to enter the command?

Let's assume that the terminal is not totally dead, and you can
enter a command. I have never user reset; I have always found one
or more of the following to work:

tput reset
tput init
stty sane

--
Chris F.A. Johnson http://cfaj.freeshell.org
========================================
===========================
My code (if any) in this post is copyright 2005, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
daman

2005-03-21, 2:45 am

tput reset
tput init
stty sane


got it! thanks chris!

http://www.linuxfree.net

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com