From: Thomas L. <ta...@ec...> - 2003-07-04 16:39:43
|
On Fri, Jul 04, 2003 at 11:36:03AM +0200, Jaap Karssenberg wrote: > I'm working on a general shell project <http://zoidberg.sf.net> and I > was considering doing a rox plugin. It would add appdir and MIME-type > support to a basic shell environment. I realise that the rox project > would favor more graphical programs, but I think a shell will always be > needed on unix-like platforms, so why not make one that is consistent > with the graphical parts. > > Some questions: > 1) Is there any specification what a shell should do to play well with > rox ? No, but it's pretty straight-forward: treat any directory containing an executable called AppRun as if it was itself an executable file. When run, argv[0] is the path to the AppRun. In the filer, we also require AppRun to have the same owner as the directory. For running files by MIME type, just copy what the filer does (look for a file in Choices/MIME-Types with the same name as the type, more or less). > 2) Is there a standard for knowing which terminal (xterm, aterm, eterm) > a user likes, or should I make this a Choices configuration. No, but what does the shell need it for? > All comments on how to do this are welcome. This would also be the right > time for feature requests. Well, I want a shell that automatically records the last output, works out its type and presents it in the sensible way. That's probably a bit hopeful, though ;-) $ make blah..blah..blah blah..blah..blah [ 3000 lines not shown ] blah..blah..blah $ |less $ cat data foo bar jim $ |sort bar foo jim $ >out [ 3 lines saved ] -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 |