[TriLUG] [EMACS] clear screen in shell buffer

Craig Taylor ctalkobt at gmail.com
Mon Oct 1 04:56:36 EDT 2007


The usual command line you want is 'clear' - I'm not an emacs user so not
sure how applicable it is to your need..

On 9/30/07, Brian McCullough <bdmc at bdmcc-us.com> wrote:
>
> On Sun, Sep 30, 2007 at 08:50:17AM -0400, Robert Dale wrote:
> > On 9/29/07, Andrew Ball <anball at gmail.com> wrote:
> > > Does anyone know of a way to do something like clearing the screen in
> > > an emacs shell buffer (from M-x shell) ?  It looks like it just
> implements
> > > a dumb terminal, which has no idea how to clear itself, but anyone
> > > who sees me use the command line will see how much I like to clear
> > > the screen.
> >
> > Make a macro that hits enter screen-height times?
>
>
> Riiiiight.
>
>
> Another answer might be to have it print the ANSI "clear screen" code to
> the screen buffer. ( insert appropriate code for your terminal ) ( See
> TermInfo or Termcap for more. )
>
>
> B-)
>
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



More information about the TriLUG mailing list