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

Re: Console commands on AIX

Bryan Stansell bryan@conserver.com
Fri, 3 May 2002 20:00:24 -0700 (PDT)


On Fri, May 03, 2002 at 09:34:19AM -0400, William P LePera wrote:
> Hello,
> 
> Don't know if anyone has experience with conserver and AIX 5.1, but I'm
> seeing a weird problem and I hope someone can help...

i haven't...but i have a guess as to something to try.  instead of
changing the HAVE_PTSNAME config.h option, edit conserver/fallback.c
and change the /dev/ptmx references to /dev/ptc (there should be two).
i'm not sure if this will work, but it looks like the right thing for
aix 5 (looks like aix 3, 4 and 5 all have different methods of
allocating ptys).  all this is loosely based on docs i found on
http://publibn.boulder.ibm.com...so, hopefully i read them right.

> Should I have changed a different env variable to work around the ptmx
> problem?  Could there be a problem with the "configure" utility, which
> seemed to configure the compile environment to think that ptmx was present?

if the change above works, it'll be an easy fix to check for /dev/ptc
and use that instead of /dev/ptmx (seems safer than hardcoding in
another _AIX check in the code).

> Any help or debug tips appreciated!

hope that helps!  let me know how it goes...

Bryan