pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cannot start xterm on NetBSD-4.0



emacs/shell:

  0 ~>xterm
  xterm: Error 32, errno 2: No such file or directory
  Reason: get_pty: not enough ptys
  32 ~>

ktrace says

  7897      1 xterm    NAMI  "/usr/share/nls/C/libc.cat"
  7897      1 xterm    RET   open 4
  7897      1 xterm    CALL  __fstat30(4,0xbfbfc528)
  7897      1 xterm    RET   __fstat30 0
  7897      1 xterm    CALL  mmap(0,0x10be,1,1,4,0,0,0)
  7897      1 xterm    RET   mmap -1148727296/0xbb87d000
  7897      1 xterm    CALL  close(4)
  7897      1 xterm    RET   close 0
  7897      1 xterm    CALL  munmap(0xbb87d000,0x10be)
  7897      1 xterm    RET   munmap 0
  7897      1 xterm    CALL  write(2,0xbfbfc664,0x1a)
  7897      1 xterm    GIO   fd 2 wrote 26 bytes
       "No such file or directory
       "
  7897      1 xterm    RET   write 26/0x1a
  7897      1 xterm    CALL  write(2,0xbfbfc664,0x21)
  7897      1 xterm    GIO   fd 2 wrote 33 bytes
       "Reason: get_pty: not enough ptys
       "
  7897      1 xterm    RET   write 33/0x21
  7897      1 xterm    CALL  close(0)
  7897      1 xterm    RET   close 0
  7897      1 xterm    CALL  chown(0x8089000,0,0)
  7897      1 xterm    NAMI  "/dev/pts/0"
  7897      1 xterm    RET   chown -1 errno 2 No such file or directory
  7897      1 xterm    CALL  chmod(0x8089000,0x1b6)
  7897      1 xterm    NAMI  "/dev/pts/0"
  7897      1 xterm    RET   chmod -1 errno 2 No such file or directory
  7897      1 xterm    CALL  exit(0x20)

and there is no /dev/pts directory on my system

NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: Sun Jul  6 
22:33:53 EEST 2008  
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386

Any help?

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index