Re: Unix98 PTY support
Rafal Wierzbicki (rafal@mcss.cas.mcmaster.ca)
Wed, 24 Mar 1999 19:58:17 -0500 (EST)
Hi,
To disable Unix98 pty support in aterm 0.3.4 locate the following
in src/command.c
-----------------------------------------------------------------------
#if defined __GLIBC__ && __GLIBC__ >= 2
# if defined __GLIBC_MINOR__ && __GLIBC_MINOR__ >= 1
# define __lnx21__ 1
# endif
#endif
----------------------------------------------------------------------
add #define __lnx21__ 0
right after the #endif statement.
Ralf Wierzbicki
--
<rafal@mcss.mcmaster.ca>
<http://mcss.mcmaster.ca/~rafal>
On 24 Mar 1999, Chris wrote:
> >>>>> "Gene" == <ebi@ozob.net> 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...
>
> HTH HAND
>
> --
> Chris Bayly
>
> Email: cb@v-wave.com | 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: http://www.tec.ualberta.ca/~cb/ | Canada T6G 2S7
>
> --
> WWW: http://www.afterstep.org/
> FTP: ftp://ftp.afterstep.org/
> MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html
>
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html