On Wed, Jan 11, 2012 at 5:30 PM, jaalto <jari.aa...@cante.net> wrote: > On 2012-01-11 16:37, Sitaram Chamarty wrote: > | Please check if 'test -t 0' is sufficient to test this and let me know. > > Under Emacs M-x shell: > > $ test -t 0 ; echo $? > 0
And I know under a normal shell also it says the same. Well, try fd 1, and possibly fd 2 as well I guess. I'll also check around for a way to detect "not having a controlling terminal". -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org