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.
[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.
------

A gross hack, and doesn't work if people run /usr/bin/tar, for example,
but it that enough, or do we require people put /usr/gnu or /usr/sfw/ in
their paths and be done with it ?


I prefer the idea of a GNU zone, _iff_ there could be seamless desktop
integration with the zone, so at desktop session startup time, the user
actually gets presented a VNC session into a zone that's configured
appropriately to provide that GNU-like environment, rather than a
Solaris environment.

I believe that would keep everyone happy - then at installtime, you
should be able to choose whether you want Solaris installed as the main
userland personality, with a GNU zone, or the other way around.

I'm interested in how we could plan to solve this problem.

        cheers,
                        tim

[ I looked at this sort of stuff a year ago, with a slightly different
gross hack,
http://mail.opensolaris.org/pipermail/approach-discuss/2006-July/000186.html - 
never really took the idea any further ]

-- 
Tim Foster, Sun Microsystems Inc, Solaris Engineering Ops
http://blogs.sun.com/timf

Attachment: command-wrapper.ksh
Description: application/shellscript

_______________________________________________
indiana-discuss mailing list
[email protected]
http://opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to