Description of problem:
/usr/bin/reset does not work properly with xterm. It moves the cursor to the
home position, but does not reset the terminal. It likewise doesn't work with
konsole and gnome-terminal. It DOES work properly on a virtual console.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open xterm
2. run some command (so there's stuff in the window)
3. run reset
The screen is not cleared and the terminal is not reset. If programs terminate
improperly while the terminal is in an alternate state, reset does not restore
default terminal settings.
screen is cleared and terminal is reset, restoring the terminal to its default
It worked fine in RH9 and all previous versions -- I didn't use FC1 so I can't
speak to that. I'm guessing the problem occurred because of the switch from
XFree86 to xorg...
reset is part of ncurses.
xterm hasn't changed with respect to that.
The first thing I would check would be the terminal description.
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
(See comment #2 above...)
But also, this worked fine for me in FC2.
We could not reproduce your issue in FEDORA CORE 4.
We have tried your example using xterm, linux-console, gnome-terminal
Launch at command prompt:
tput smso #Set a terminal in 'reverse mode' (reverse
tput smacs #Set a terminal in 'alternate character set' mode.
blablabla #Write any text, then press the Enter-key.
reset #After the reset command, the screen is clear and the
#terminal is reset.
NOTE: only gnome-terminal does not clear the terminal window and does not move
the current cursor to position (0,0). This can be a small bug in
gnome-termnal (the 'clear' command at the command prompt helps in
The library ncurses defines the terminal-initial-state as
'clear window' + 'current cursor at (0,0)' but the 'reset' command does
not say anything about 'clear window'/'cursor at 0,0'. We can see this
'small bug' as gnome-terminal property.
The reset-program uses ncurses library to obtain a Esc-sequence to reset
The library ncurses use /usr/share/terminfo/*/* database to retreive the
The 'gnomme-terminal' uses the same terminfo-databese-record as 'xterm'
(TERM=xterm). Therefore, this is not a bug in terminfo/termcap database.
If you see this gnome-terminal behaviour as a bug, open a new issue as
a bug in gnome-terminal.