Greg Haerr writes:
> 
> Al,
>     Good to hear you've got another version of ELKS coming.  I've 
> completed the first round of getting an actual graphical scrolling terminal
> emulator running under ELKS.  It's done.  Except that the code to open
> the /dev/ptypX and /dev/ttypX fails.  My version of ELKS (0.77)
> doesn't have these /dev/ entries.  I need to know the magic numbers.
> Also, does version 0.77 support pseudo ttys?  I wanted to make sure
> this support is complete in the 0.0.80 version, as Microwindows
> now supports a terminal emulator.  (No it won't quite yet run vi,
> that's coming)

ptys were introduced in 78 and improved to the pont where they actually
worked in 79. The device files were not included in the distribution as
the code was still preliminary. Here are the details:-

$MKDEV ttyp0 c 4 8
$MKDEV ttyp1 c 4 9
$MKDEV ttyp2 c 4 10
$MKDEV ttyp3 c 4 11

$MKDEV ptyp0 c 4 8
$MKDEV ptyp1 c 4 9
$MKDEV ptyp2 c 4 10
$MKDEV ptyp3 c 4 11

> 
> Also, on another note, in catching signals in Linux from the terminal
> emulator, I attempt to send them to the process group with killpg().
> This routine under ELKS causes an undefined symbol getgpid() when
> linking.  It appears there's an error in linux-8086 libc.
> 

The error is not in libc, and there are two problems with this. Firstly
getpgid() is currently not implemented int the kernel, and almost certainly
needs to be, and secondly it is not yet possible to kill process groups
using the kill system call. This too needs to be added.

Al

Reply via email to