Article View: comp.sys.ibm.pc.rt
Article #1603Simple clear command [Was: BSD Unix on 6150-135?]
From: Nicholas J. Simicich
Date: Wed, 01 Mar 1989 15:39
Date: Wed, 01 Mar 1989 15:39
28 lines
1203 bytes
1203 bytes
In article <559@Portia.Stanford.EDU> karish@forel.stanford.edu (Chuck Karish) writes:
>In article <2852@stpstn.UUCP> aad@stepstone.com wrote:
(.....)
>>I go insane because of the things that aren't there, like more, head, tail,
>>whoami, clear, strings.
(.....)
>'clear' should be easy to do with curses. 'more' and 'strings' are
>available as PD clones. If it's really driving you nuts, spend an
>hour or two and fix it.
(.....)
For a clear command, try:
#!/bin/sh
tput clear
From the tput man page:
PURPOSE
Queries the terminfo file.
SYNOPSIS
tput [ -Ttype ] capname
--
Nick Simicich --- uunet!bywater!scifi!njs --- njs@ibm.com (Internet)
Technical Details
Message-ID:
<548@scifi.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!bywater!scifi!njsReferences:
<1966@nmtsun.nmt.edu> <28304@bu-cs.BU.EDU> <496@Portia.Stanford.EDU> <2852@stpstn.UUCP> <559@Portia.Stanford.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bywater!scifi!njs From: njs@scifi.UUCP (Nicholas J. Simicich) Newsgroups: comp.sys.ibm.pc.rt Subject: Simple clear command [Was: BSD Unix on 6150-135?] Summary: Simple clear command... Message-ID: <548@scifi.UUCP> Date: 1 Mar 89 15:39:32 GMT References: <1966@nmtsun.nmt.edu> <28304@bu-cs.BU.EDU> <496@Portia.Stanford.EDU> <2852@stpstn.UUCP> <559@Portia.Stanford.EDU> Reply-To: njs@scifi.UUCP (Nicholas J. Simicich) Organization: Nick Simicich, Peekskill, NY Lines: 28