using 'printf' in a script in terminal window

Ambrose LI ambrose.li at gmail.com
Sat Nov 21 20:53:09 CET 2009


2009/11/21 Ambrose LI <ambrose.li at gmail.com>:
> No, this sounds more like cron is not providing a correct $TERM (which
> should be "dumb" or similar for non-interactive jobs) to its children.
> Maybe setting TERM=dumb in the crontab (if possible) can fix this, or
> maybe running the particular cron job prefixed by TERM=dumb to force
> the correct terminal type.

Sorry to follow up on myself. I mean, if the cron job is run with TERM=dumb,
then the "clear" command should just output a \f (or maybe nothing). Which
would mean we can then use the "clear" command.


-- 
cheers,
-ambrose



More information about the Xfce mailing list