Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 18:00:02 +0100
From:      Roman Neuhauser <neuhauser@mobil.cz>
To:        Alex Dyas <adyas@twowaytv.co.uk>
Cc:        FBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: clear screen command?
Message-ID:  <20011217180002.K389@roman.mobil.cz>
In-Reply-To: <20011217162548.R223-100000@r2d2.twowaytv.co.uk>
References:  <20011214211545.R27919@roman.mobil.cz> <20011217162548.R223-100000@r2d2.twowaytv.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 17 Dec 2001 16:27:02 +0000 (GMT)
> From: Alex Dyas <adyas@twowaytv.co.uk>
> To: Roman Neuhauser <neuhauser@mobil.cz>
> cc: FBSD Questions <questions@FreeBSD.ORG>
> Subject: Re: clear screen command?
> 
> On Fri, 14 Dec 2001, Roman Neuhauser wrote:
> 
> > > From: "Joe & Fhe Barbish" <barbish@a1poweruser.com>
> > > To: "FBSD Questions" <questions@FreeBSD.ORG>
> > > Subject: clear screen command?
> > > Date: Fri, 14 Dec 2001 15:04:25 -0500
> > >
> > > When the screen gets full of messages and starts rolling off,
> > > I would sometimes like to clear the screen IE: blank it out,
> > > so only the command line remains.
> > > Does FBSD have a command to do this?
> >
> >     press ctrl+l (that's ell)
> 
> doing this in ksh does not work. maybe bash specific?

    I don't use bash at all.

    roman@roman ~ > echo $shell
    /bin/tcsh
    roman@roman ~ > bindkey |grep clear
    "^L"           ->  clear-screen
    "^L"           ->  clear-screen
    roman@roman ~ > grep clear .tcshrc 
    roman@roman ~ > 
   
    So in tcsh it's default. BTW this "shortcut" is so common it's a
    defacto standard. I think that reading man ksh will reveal how to
    set it.

-- 
FreeBSD 4.4-STABLE
5:57PM up 4:52, 8 users, load averages: 0.34, 0.25, 0.13

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011217180002.K389>