Re: Unix98 PTY support

Chris (
24 Mar 1999 17:18:10 -0700

>>>>> "Gene" ==   <> writes:

    Gene> I'll ask it another way: Does anyone know how to force aterm
    Gene> to compile not using Unix98 PTYs.

As far as I know the use of Unix98 PTY's is determined by which libc
variant your using...  If your stuck.... Errr, if your using glibc
2.1.* then make sure the PTS filesystem is there...

add the line

none           /dev/pts        devpts  gid=5,mode=0620 0       0

to your /etc/fstab and make sure the mount point /dev/pts exists.

Otherwise, in my experience, the openpty() call will fail every
time... (Backwards PTY compatibility my butt... :)  There is a Unix98
PTY faq out there, Search The Web...


Chris Bayly

Email:                    | UNIX Support                 
Email:  Chris.Bayly@UAlberta.CA          | 352 General Services Building
Phone:  (403) 492-9344                   | University of Alberta        
Fax:    (403) 492-1729                   | Edmonton, Alberta            
Web:  | Canada T6G 2S7