9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9port: 9term won't connect
@ 2004-10-20 15:13 Karl Sackett
  0 siblings, 0 replies; only message in thread
From: Karl Sackett @ 2004-10-20 15:13 UTC (permalink / raw)
  To: 9fans

I have plan9port installed under Fedora Core 2.  When I run 9term from a bash
shell I get this:

sstbpc65$ 9term
9term: no ptys

The frame of the 9term window opens, then closes as the error message
comes up.  When I run strace on 9term I get this:

...
open("/dev/ptya0", O_RDWR|O_LARGEFILE)  = -1 ENXIO (No such device or
address)
open("/dev/ptya1", O_RDWR|O_LARGEFILE)  = -1 ENXIO (No such device or
address)
open("/dev/ptya2", O_RDWR|O_LARGEFILE)  = -1 ENXIO (No such device or
address)
...
open("/dev/pty80", O_RDWR|O_LARGEFILE)  = -1 ENOENT (No such file or
directory)
open("/dev/pty90", O_RDWR|O_LARGEFILE)  = -1 ENOENT (No such file or
directory)
write(2, "9term: no ptys\n", 159term: no ptys
)        = 15
exit_group(0)                           = ?

No ptys?  Nonsense:

sstbpc65$ ls /dev/pty* |wc
    256     256    2816
sstbpc65$ ll /dev/ptya0
crw-rw-rw-  1 root tty 2, 176 Feb 23  2004 /dev/ptya0
sstbpc65$ ll /dev/ptyzf
crw-rw-rw-  1 root tty 2, 175 Feb 23  2004 /dev/ptyzf

So it's running through all the pty devices and can't find any of them.
Any suggestions on how to fix this?  I have plan9port running on two
Debian machines and I've never encountered this problem before. 

-- 
Karl Sackett                     K4KRS                    krs@hiwaay.net

     "I am not allowed to mount a bayonet on a crew-served weapon."
                                               Skippy's List, #101


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-20 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-20 15:13 [9fans] plan9port: 9term won't connect Karl Sackett

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).