Discussion:
[9fans] "fake tty" or other trick?
(too old to reply)
Jens Staal
2011-12-28 15:41:05 UTC
Permalink
Hi all

I have been playing with trying to get the current MirOS ksh (mksh) to
compile and run under APE. It now compiles but as it is executed it
complains about no /dev/tty and crashes as soon as I try to write a
command to it.

Since the pdksh was ported as the generic APE 'sh' I guess the
"tty-issue" has been solved once before. Any pointers?

current source and temporary (ugly) solutions can be seen here:
http://code.google.com/p/ports2plan9/source/browse/#hg%2Fmksh
Charles Forsyth
2011-12-30 11:26:06 UTC
Permalink
/sys/src/ape/cmd/pdksh/tty.c
just #ifdef's out the need for /dev/tty

there once was a ptyfs in ape, but it seems to have vanished

Continue reading on narkive:
Loading...