using 'printf' in a script in terminal window
Yves-Alexis Perez
corsac at debian.org
Sat Nov 21 23:40:41 CET 2009
On sam., 2009-11-21 at 15:51 -0500, Jerry wrote:
> On Sat, 21 Nov 2009 19:59:33 +0100
> Yves-Alexis Perez <corsac at debian.org> replied:
>
> > Maybe because it doesn't make sense to clear the screen when running
> > not interactively. I'd add there's no such things as screen, in that
> > case.
>
> True enough. However, there is no way to be sure if an end user will
> use a script that I develop via CRON, in a Terminal like xterm, etc.,
> or at a regular console sans "X". Adding extra code or creating
> multiple
> versions of a script to circumvent this annoyance is an annoyance.
That's why there's clear(1) which will do the job for you (if you use
the correct $TERM, I mean)
Cheers,
--
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20091121/ba6449e6/attachment.pgp>
More information about the Xfce
mailing list