Re: [9fans] fake tty or other trick?

2011-12-30 Thread Charles Forsyth
/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


[9fans] fake tty or other trick?

2011-12-28 Thread Jens Staal
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