File: reset

package info (click to toggle)
util-linux 2.13.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 15,436 kB
  • ctags: 4,442
  • sloc: ansic: 44,678; sh: 5,683; makefile: 651; perl: 86; csh: 43; sed: 16
file content (13 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
stty sane
tput clear
tput rmacs
tput rmm
tput rmso
tput rmul
tput rs1
tput rs2
tput rs3
bot=$[ ${LINES:-`tput lines`} - 1 ]
if test "$bot" -le "0"; then bot=24; fi
tput csr 0 $bot