Glenn Fowler wrote: > On Wed, 12 Mar 2008 17:33:11 -0700 Bill Shannon wrote: > > Bill Shannon wrote: > > > Glenn Fowler wrote: > > >> On Mon, 10 Mar 2008 20:03:30 -0700 Bill Shannon wrote: > > >>> Who's invoking "tty -l" when I use ksh93? It's not in any of my > > >>> dot files. > > > According to truss, this message is coming from ksh93 itself. > > if its the builtin tty from -lcmd it would show up in the same process > there must be a tty -l call in some script somewhere
For the Solaris 11/ksh93 update1 binaries of 2008-02-29 I am getting this result: -- snip -- $ tty /dev/pts/2 not on an active synchronous line -- snip -- Looking at the libcmd "tty.c" code... -- snip -- } if(!sflag) sfputr(sfstdout,tty,'\n'); #if _mac_STWLINE if(lflag && (n = ioctl(0, STWLINE, 0)) >= 0) error(ERROR_OUTPUT, 1, "synchronous line %d", n); else #endif error(ERROR_OUTPUT, 1, "not on an active synchronous line"); return(error_info.errors); } -- snip -- ... I have the feeling that |_mac_STWLINE| isn't set correctly (I don't have a development tree to test the theory but that's currently my top canidate) ... I'll report back when I have more data... ---- Bye, Roland P.S: Bill: Could you file a bug at http://bugs.grommit.com/enter_bug.cgi?product=ksh93-integration for the "tty" problem, please ? -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)