Re: open controlling terminal from cron
From: Louis Erickson (wwonko_at_rdwarf.com)
Date: 09/09/03
- Next message: Kyndig: "How to close rogue file descriptors?"
- Previous message: Charles Carrano: "Re: open controlling terminal from cron"
- In reply to: Charles Carrano: "Re: open controlling terminal from cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 8 Sep 2003 22:15:55 +0000 (UTC)
Charles Carrano <c.carrano@att.net> wrote:
: Thank you very much. This is exactly what I wanted -- a way to start
: my ncurses-based program at boot, and restart it automatically if the
: program should crash. No cron needed!
Isn't Unix cool? =)
: I have noticed that running via inittab in this way causes me to lose
: some special characters (the ones that ncurses uses to draw boxes),
: versus running from the command line prompt. This is likely some
: kind of terminal misconfiguration, however, and is likely something
: I can figure out.
You may have to use a shell script to set your TERM environment variable
to the same value you use in your shell, and may need to run 'tset' to
get the terminal initialzied properly. Doing those should help get
ncurses to realize it's got line-drawing characters. Unless it's something
else that's wrong. =)
man tset for all the gory details.
-- Louis Erickson - wwonko@rdwarf.com - http://www.rdwarf.com/~wwonko/ Lost interest? It's so bad I've lost apathy.
- Next message: Kyndig: "How to close rogue file descriptors?"
- Previous message: Charles Carrano: "Re: open controlling terminal from cron"
- In reply to: Charles Carrano: "Re: open controlling terminal from cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|