Re: cron and setting TERM
Posted in 1999
Topics: General Discussion
On Wed, 25 Aug 1999 09:18:40 +1000, Bryan Tonnet <batonnet@phase4.com.au> wrote: >Sujit.Pal@bankofamerica.com wrote: > >> Dont you need to put a semi-colon between the envvar=value and export >> envvar. Something like: >> >> TERM=wy60; export TERM > >No. sh/ksh/bash (probably others) are happy without the extra ; . >Hey, anything to save a bit of effort at the keyboard :) > >Bryan Tonnet If it's still not working, can you put an env>filename in the cron script and post the entire contents of that file? Gary Q
Gary Quiring wrote:
> If it's still not working, can you put an env>filename in the cron script
> and post the entire contents of that file?
Sure thing. Here's the output.
DBCENTURY=C
DBDATE=DMY2/DBEDIT=vi
DBPATH=/app1/pmsinf/dbs:/app2/pmsinf/runtime/libDBTEMP=/tmp
DEFWARE=NS
HOME=/
HZ=100
INFORMIXDIR=/app1/informix7
INFORMIXSERVER=ranger_se
INFORMIXTERM=termcapLOGNAME=root
LPPICK=2391b
PATH=/app2/pmsinf/scripts:/app1/informix7/bin::/bin:/usr/bin:/usr/lbinSHELL=/bin/sh
TERM=wy60
TERMCAP=/app2/t2000/tetracap
I'm still having no luck with this, and will report it formally as a bug
(Informix) today. Hopefully I won't end up in a finger pointing
excercise.
Bryan Tonnet
On Thu, 26 Aug 1999 09:43:10 +1000, Bryan Tonnet <batonnet@phase4.com.au> wrote: Just for jollies, it probably won't make a difference, but try setting your TERMINFO=/usr/share/lib/terminfo I also have a INFORMIXSQLHOSTS set to $INFORMIX/etc/sqlhosts Also, are you running compiled or intepreted code? Gary Q