Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!dog.ee.lbl.gov!lbl.gov!jnmoyne From: jnmoyne@lbl.gov (Jean-Noel MOYNE) Newsgroups: comp.sys.amiga.tech Subject: Re: Using the amiga from the serial port Message-ID: <8505@dog.ee.lbl.gov> Date: 10 Dec 90 23:06:59 GMT References: <1132@dcl-vitus.comp.lancs.ac.uk> Sender: usenet@dog.ee.lbl.gov Organization: Lawrence Berkeley Laboratory Lines: 37 X-Local-Date: Mon, 10 Dec 90 15:06:59 PST In article <1132@dcl-vitus.comp.lancs.ac.uk> andy@comp.lancs.ac.uk (Andy Colebourne) writes: > It would be nice to control a shell so that all the functions like aliasing > could be used. > > Any help/code/suggestions would be very welcome!! Well what you want to do is: mount aux: newshell aux: And here we go ! You have a shell on your terminal, isn't that great ?!? Oh, by the way, you'll soon see it's not that great, since every time a requester pops-up you loose control of your shell from the terminal (try to do leftA-V from a terminal (-:), so you'll go to the next step which is to write a small program to poke a -1L in the PrWindowPtr (I believe it's the name of the struct member, I'm doing this from memory it was 6 months ago, sorry if I'm wrong check with the definition of struct Process in the include files) field of the Process structure of your shell process. (to Find this process structure, use FindTask(0L) since the process structure begins with the task struct). It should be at offset 40 from the FindTask(0) if you're doing it in a special language that doesn't know about structs. So, once you have -1 in this field, requesters will allways be canceled. But it's not enough since it's very easy to launch a program that opens a Window. But that's another story. JNM -- These are my own ideas (not LBL's) " Just make it!", BO in 'BO knows Unix'