ALT Linux repos
Group :: System/Base
RPM: ncurses
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#!/bin/sh
# Xterm codes can be found here:
# http://babayaga.math.fu-berlin.de/~rxvt/refer/refer.html
if [ "$TERM" = xterm -o "$TERM" = xterm-color -o "$TERM" = kterm -o "$TERM" = rxvt ]; then
# Disable X11 XTerm mouse reporting
# Reset foreground and background colors
echo '[?1000l[0m'
fi
# Reset the terminal
/usr/bin/reset
# Reset terminal size
if [ -x /usr/X11R6/bin/resize ]; then
eval `resize`
fi