🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
2 messages
2 total messages Started by Byron Max Guernsey Sun, 19 May 1991 06:50
fork() and req.library
#8247
Author: Byron Max Guernsey
Date: Sun, 19 May 1991 06:50
23 lines
1489 bytes
Is there anyway to redirect a process i/o to the serial.device? In essence I
want to be able to do a CLI or SHELL andrun different console type programs
through the serial.device. I know there are programs to do this (like serserver)
but this is for my own program (so I need to create my own routine or find a
PD one). I don't suppose there would be any way to set the stdin, stdout, etc
in the FORKENV struct to a file associated with AUX: or SER: ??? I didn't
think so. I would rather not write another device if at all possible. 

Also, does anyone have a list of functions or docs for the req.library? (any
version would do..but the newest one is desirable) Just the dox. 

I would appreciate Mail replies but I will attempt to scan csa.tech as much
as possible. 

A budding enthusiast..

Byron Guernsey

-- 
Byron 'Maxwell' Guernsey                       |       ///  //\\
specter@disk.UUCP     or                       |      ///  //  \\
uunet!ukma!corpane!disk!specter                |  \\\///  //====\\
"Great programs aren't written, they're fathered." \\\/  //      \\ m i g a
Re: fork() and req.library
#8249
Author: Carolyn Scheppner - CATS
Date: Mon, 20 May 1991 23:07
22 lines
1564 bytes
In article <1991May19.065047.21385@disk.uucp> specter@disk.uucp (Byron Max Guernsey) writes:
>Is there anyway to redirect a process i/o to the serial.device? In essence I
>want to be able to do a CLI or SHELL andrun different console type programs
>through the serial.device.

newshell AUX: from s:aux-startup

Make a file in s: called aux-startup and
have it turn off requesters and then execute s:shell-startup.
To turn off requesters you will need a program that pokes
((struct Process *)FindTask(NULL))->pr_WindowPtr to -1.
You should be able to find canned programs to do this on
Fish Disks, etc. 

-- 
==========================================================================
 Carolyn Scheppner -- Tech. Mgr. CATS - Commodore Amiga Technical Support
 PHONE 215-431-9180 {uunet,rutgers}!cbmvax!carolyn  carolyn@commodore.com

   "Under the multitasking operating system, the trackdisk.device is
	the defied interface..."     - Bryce
==========================================================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads