9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] "fake tty" or other trick?
@ 2011-12-28 15:41 Jens Staal
  2011-12-30 11:26 ` Charles Forsyth
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Staal @ 2011-12-28 15:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] "fake tty" or other trick?
  2011-12-28 15:41 [9fans] "fake tty" or other trick? Jens Staal
@ 2011-12-30 11:26 ` Charles Forsyth
  0 siblings, 0 replies; 2+ messages in thread
From: Charles Forsyth @ 2011-12-30 11:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 135 bytes --]

/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

[-- Attachment #2: Type: text/html, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-30 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-28 15:41 [9fans] "fake tty" or other trick? Jens Staal
2011-12-30 11:26 ` Charles Forsyth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).