Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!mcsun!ukc!edcastle!dcl-cs!andy From: andy@comp.lancs.ac.uk (Andy Colebourne) Newsgroups: comp.sys.amiga.tech Subject: Using the amiga from the serial port Message-ID: <1132@dcl-vitus.comp.lancs.ac.uk> Date: 10 Dec 90 12:31:57 GMT Reply-To: andy@dcl-cs.UUCP (Andy Colebourne) Organization: Department of Computing at Lancaster University, UK. Lines: 23 I am writing a program to enable an amiga to be used from the serial port. The serial port will accept cli commands and the output of these commands will be sent to the serial port. Can 'Execute' be used to send the output of the command to the serial.device? (if I do "Execute("dir >ser:", 0, 0)" the command cannot open the serial device because it is open for receiving the commands.) It should be possible to execute a command, redirecting the output to a file in RAM:, the reading the file and sending this to the serial port - but I'm hoping that there is a more elegant way of doing it. 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!! Thanks! Andy andy@uk.ac.lancs.comp