>
>> And we can also make the utilities behave "human friendly" when the output
>> is a terminal and not in ohtercases, although that has the problem of
>> making "ls -l" and "ls -l | less" behave completely differently.
>
>Another crazy idea would be to make utilities sensitive to a certain 
>environment variable that defines the default "flavor". It doesn't work 
>out of the box exactly, but it could be made almost OOB if the choice of 
>flavor is offered when the user account is created - and for most 
>newbies that would also be install time, since the new installer will 
>create the default non-root account - and automatically add that 
>environment variable to ~/.profile.

Nice idea, but it has one drawback: it still doesn't fix the scripting
issues.

One way to implement this, sidestepping scripting issues, is populating
accounts with default aliases:

        ls -h
        df -h [*]

in the appropriate shell startup files.

Casper

[*] df -h does not work for certain aguments (-h and -o are incompatible)
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to