On 2012-01-11 17:39, Sitaram Chamarty wrote: | | 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".
Here are the results from Emacs M-x shell: $ for i in 0 1 2 ; do test -t $i ; echo "fd $i status: $?" ; done fd 0 status: 0 fd 1 status: 0 fd 2 status: 0 Jari -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org