🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #687

Shell command line passing

#687
From: march
Date: Wed, 02 Aug 1989 04:33
36 lines
2031 bytes
I have an idea to use GNU's Readline Library and History Library to make an
Amiga shell front-end which will allow one to edit the current command
line using either vi or emacs editing commands.  This will also allow you to
search your command history rather effortlessly.  I feel that any Shell,
be it Amiga or UNIX have the ability to edit a command line and search one's
command history and that these functions be configurable.  I think that this is
a step in the right direction.


I am more familiar with UNIX that with AmigaDOS and exec and hence this might
seem like a relatively easy or difficult project ... 

My question: How does one pass a command line to the shell and then have
the shell parse and execute it?

I have considered looking at Matt Dillon's C Shell however I really don't want
to be wasting my time.  Does anyone in netland have a simple solution or
a suggestion as to where I should concentrate my time and effort.  Or maybe 
one of you would ask why I even want to undertake such a project.  Comments
anyone ...

Please reply as and where (i.e., email or netnews) you see fit.  Thank
you in advance.

				Steve


===============================================================================
Steve March						(H) 344-5303
Department of Computer Science, University of Illinois	(W) 333-7408 
							  
march@cs.uiuc.edu		                          
{uunet,convex,pur-ee}!uiucdcs!march                      
"Emotions are alien to me.  I'm a scientist." -- Spock, "This Side of Paradise"
===============================================================================
Technical Details
Message-ID: <42700020@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc.cso.uiuc.edu!uxc.cso.uiuc.edu!m.cs.uiuc.edu!march

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc.cso.uiuc.edu!uxc.cso.uiuc.edu!m.cs.uiuc.edu!march
From: march@m.cs.uiuc.edu
Newsgroups: comp.sys.amiga.tech
Subject: Shell command line passing
Message-ID: <42700020@m.cs.uiuc.edu>
Date: 2 Aug 89 04:33:00 GMT
Lines: 36
Nf-ID: #N:m.cs.uiuc.edu:42700020:000:1598
Nf-From: m.cs.uiuc.edu!march    Aug  1 23:33:00 1989