~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to term-utils/reset

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
stty sane
 
3
tput clear
 
4
tput rmacs
 
5
tput rmm
 
6
tput rmso
 
7
tput rmul
 
8
tput rs1
 
9
tput rs2
 
10
tput rs3
 
11
bot=$[ ${LINES:-`tput lines`} - 1 ]
 
12
if test "$bot" -le "0"; then bot=24; fi
 
13
tput csr 0 $bot