9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Karl Sackett <krs@hiwaay.net>
To: 9fans@cse.psu.edu
Subject: [9fans] plan9port: 9term won't connect
Date: Wed, 20 Oct 2004 10:13:41 -0500	[thread overview]
Message-ID: <20041020151341.GA1466167@hiwaay.net> (raw)

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


                 reply	other threads:[~2004-10-20 15:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041020151341.GA1466167@hiwaay.net \
    --to=krs@hiwaay.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).