help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test -t can distinguish compile sessions


From: Dan Jacobson
Subject: test -t can distinguish compile sessions
Date: Sat, 14 Jun 2003 12:19:33 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

How can a shell script tell that we can't talk back, i.e. we are
either in a batch job or a emacs compile session? test -t doesn't
catch the latter, nor does test -t 0. case $- in *i*) isn't too
helpful either.  No, don't tell me how to talk back during compile
sessions, just tell me how to test... 
-- 
http://jidanni.org/ Taiwan(04)25854780


reply via email to

[Prev in Thread] Current Thread [Next in Thread]