🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5031

Re: Building xboard 3.0 pl19/gnuchess 4.0 pl68 on SGI Indigo, 5.1.1.2

#5031
From: Tim Mann
Date: Wed, 09 Mar 1994 20:29
29 lines
1710 bytes
In article <CMDnK2.Guu@news.cis.umn.edu> donahue@s3 (Michael J. Donahue) writes:
>Has anyone done a successful build of xboard 3.0 pl19 with gnuchess
>4.0 pl68 using the IRIX Release 5.1.1.2 cc compiler?  
>...
>But when I try to run xboard with gnuchess it crashes
>immediately and gives the message:
>
>	xboard: Can't ioctl pseudo-tty: Invalid argument
>

Try the following patch.  This will be in the next xboard patchlevel.

	--Tim

*** ../xboard-3.0.9/xboard.c    Thu Sep  9 18:24:25 1993
--- xboard.c    Mon Mar  7 13:54:58 1994
***************
*** 3388,3395 ****
--- 3491,3500 ----
      if (ioctl (to_prog[0], I_PUSH, "ptem") == -1 ||
        ioctl (to_prog[0], I_PUSH, "ldterm") == -1 ||
        ioctl (to_prog[0], I_PUSH, "ttcompat") == -1) {
+ #ifdef NOTDEF /* seems some systems don't have or need ptem and ttcompat */
        DisplayFatalError("Can't ioctl pseudo-tty", errno);
        ExitEvent(1);
+ #endif /*NOTDEF*/
      }
  #endif /*SVR4*/
  
Technical Details
Message-ID: <2llbji$sot@src-news.pa.dec.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!fnnews.fnal.gov!overload.lbl.gov!dog.ee.lbl.gov!agate!ames!sgiblab!gatekeeper.us.oracle.com!decwrl!pa.dec.com!src.dec.com!mann
References: <CMDnK2.Guu@news.cis.umn.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,8e2fb6bf07aa08f5
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1994-03-09 12:29:38 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!fnnews.fnal.gov!overload.lbl.gov!dog.ee.lbl.gov!agate!ames!sgiblab!gatekeeper.us.oracle.com!decwrl!pa.dec.com!src.dec.com!mann
From: mann@src.dec.com (Tim Mann)
Newsgroups: gnu.chess
Subject: Re: Building xboard 3.0 pl19/gnuchess 4.0 pl68 on SGI Indigo, 5.1.1.2
Date: 9 Mar 1994 20:29:38 GMT
Organization: DEC Systems Research Center
Lines: 29
Message-ID: <2llbji$sot@src-news.pa.dec.com>
References: <CMDnK2.Guu@news.cis.umn.edu>
NNTP-Posting-Host: cypress.pa.dec.com