Problems with ptys(?)

From: Kjell Andresen <kjell.andresen_at_usit.uio.no>
Date: Wed, 24 Feb 1999 18:26:45 +0100 (MET)

Hello!

A workstation - pws500au - gives the user a headache:
  jack 39> ghostview ccm3-slp.ps
  Xlib: connection to ":0.0" refused by server
  Xlib: Maximum number of clients reached
  ghostview: cannot open DISPLAY.
 
I see Xlib is complaining, but I think the numbers of /dev/pty* should be
increased:

jack /dev# uname -a; ls pty*|wc -l; ./MAKEDEV PTY 2
OSF1 jack V4.0 878 alpha
        32
MAKEDEV: special file(s) for PTY:
MAKEDEV: unknown device in: PTY

What is wrong?

Here is a more detailed run of MAKEDEV as suggested in the man page:

jack /dev# sh -x MAKEDEV PTY 2|more
PATH=/sbin:/usr/sbin:/usr/bin:/usr/etc/yp:/etc/yp:/local/sbin:/bin:/usr/bin:/usr/ucb:/etc:/usr/etc:/sbin:/usr/sbin:/bin:/usr/bin:/usr/ucb:/usr/bin/X11:/usr/local/bin:/local/ssh/bin:/local/X11R5/bin:/local/bin/X11:/usr/bin/X11:/usr/ccs/bin:/local/bin:/local/etc/bin:/usr/bsd:/local/etc:/local/gnu/bin:/local/rcm/bin:/local/PRISS/bin:/local/adsm/bin:/local/samba/bin
+ export PATH
+ umask 77
silent=
std=klog kcon kbinlog kmem mem null console ws0 mouse0 keyboard0 tty pty0
pty1 ptmx cam audit prf pfcntr zero snmpinfo lockdev
devlist= PTY
devlist= PTY 2
+ expr PTY : ,*\(.[a-zA-Z]*\)
tryname=PTY
+ expr PTY : [^0-9]*\([0-9]*\)
tryunit=
+ expr PTY : [^0-9]*[0-9]*\(.*\)
trypart=
+ test X = X
+ echo MAKEDEV: special file(s) for PTY:
+ umask 77
+ echo MAKEDEV: unknown device in: PTY
+ exit 1
MAKEDEV: special file(s) for PTY:
MAKEDEV: unknown device in: PTY

Tia, Kjell
Received on Wed Feb 24 1999 - 17:30:00 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT