From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: DervishD <raul@pleyades.net>
Cc: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Clearing the terminal portably
Date: 30 Jul 2002 18:21:02 +0100 [thread overview]
Message-ID: <1028049662.7886.3.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <3D46AEEF.mail2H19I8Z8@viadomus.com>
On Tue, 2002-07-30 at 16:21, DervishD wrote:
> Hi all :))
>
> I want to clear a terminal more or less 'portably' but without
> using curses (that's forced). I must work at least for the TERM
> 'linux' and it would be great if it works on all linux platforms. The
> portability is intended *only* within different linux archs, not
> more.
>
> I currently write 'ESC c' to the terminal and it works (it is the
> reset code for a 'linux' TERM), but I wonder if there is a better way.
Not really a kernel question. Take a look at tput terminfo ncurses
and/or slang
prev parent reply other threads:[~2002-07-30 16:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-30 15:21 DervishD
2002-07-30 15:40 ` Richard B. Johnson
2002-07-30 17:21 ` Alan Cox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1028049662.7886.3.camel@irongate.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=raul@pleyades.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®