On 7/2/07, Tim Foster <[EMAIL PROTECTED]> wrote:
> http://www.opensolaris.org/os/project/indiana/documents/problem_statement/
>
> [ just to recap, FAM-2 says:
>
> FAM-2: Provide an environment such that migrating (particularly
>        GNU/Linux) users will be familiar with the utilities
>        available, while preserving the binary compatibility
>        story that people want and expect. ]
>
> On Fri, 2007-06-29 at 11:26 +0100, Alberto Ruiz wrote:
> > People would expect things like tab completion in the shell (and some
> > shortcuts like Ctrl+R), top, ps aux, vim, tar zxvf to work, they don't
> > care if they are GNU or not. I think that we should, at least, provide
> > information to the user, when usual Linux commands are typed, on how
> > to get the same information. For example, typing top, we could point
> > them to the equivalent tool in OpenSolaris, kind of the Google's "Did
> > you mean" or the new stuff in the ubuntu shell.
>
> Is this the sort of thing you mean:
>
> ----
> [EMAIL PROTECTED] PATH=/home/timf/command-wrapper:${PATH}
> [EMAIL PROTECTED] export PATH
> [EMAIL PROTECTED] ls -la
> total 30
> drwxr-xr-x   2 timf     elc          512 Jul  2 15:04 .
> drwxr-xr-x 123 timf     elc         8192 Jul  2 15:03 ..
> -rwxr-xr-x   1 timf     elc         2465 Jul  2 15:03 command-wrapper.ksh
> lrwxrwxrwx   1 timf     elc           19 Jul  2 14:54 ps -> 
> command-wrapper.ksh
> lrwxrwxrwx   1 timf     elc           19 Jul  2 14:54 tar -> 
> command-wrapper.ksh
> lrwxrwxrwx   1 timf     elc           19 Jul  2 14:59 top -> 
> command-wrapper.ksh
> [EMAIL PROTECTED] ps aux
> The command "ps aux" is unavailable or has different
> syntax in OpenSolaris.
> You might want to use the following instead -
> Example: ps -ef
>
> See the ps(1) or pargs(1) man page for more information.

Or we could do what other operating systems did 15 years ago and
get ps to give the information requested.

> [EMAIL PROTECTED] top
> The command "top" has is unavailable or has different
> syntax in OpenSolaris.
> You might want to use the following instead -
> Example: prstat 1
>
> see the prstat(1m) man page for more information.

No, we should ship top and give users what they want.

I regard the aim as being to provide a useful and user-friendly
environment, not to explicitly advertise to the user how
deficient and user-hostile Solaris is.

Fixing this doesn't break compatibility. It enhances the
environment for everyone. And it's not about Linux or
whatever - I've been typing 'ps uax' and 'top' since
well before Linux existed.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
indiana-discuss mailing list
[email protected]
http://opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to