>   I agree with much of your post. Though rather than using the 
>execution PATH, why not
>use the function call 'isatty' to change the behavior only in an 
>interactive session, and leave
>scripts un-touched.  As it this is already used by several commands in 
>Solaris, where is it a
>problem with simple commands like df?


But that means that you can't easily write a script which expects
"new" output.

(Also, isatty() is a bit of problem for things like:


        ls -l
vs
        ls -l | less

do we really want the output to change?

(I love the fact, though, that "ls -l | cat" kills some forms of
colorls)

Casper
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to