🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4323

Re: problem with initString

#4323
From: Tim Mann
Date: Thu, 29 Jun 1995 00:00
31 lines
1460 bytes
In article <3ssjfh$49r@quagga.ru.ac.za>, Kevan Watkins <g94w5723> writes:
>I compiled the latest version of xboard and gnuchessx on a solaris machine.
>It works fine, except when I run xboard with the -initString
>new\nbeep\nrandom\n
>option ; which causes it to hang and dump core.

The "\n" sequences in the initString have to be real newlines.  It is
easiest to set the initString in your .Xdefaults file; in that case it
goes through a level of parsing that changes the characters "\n" to a
real newline.  If you want to set it from the shell, you have to do
this:

	xboard -initString 'new\
beep\
random\
'

Or do this:

	xboard -xrm '*initString: new\nbeep\nrandom\n'

I thought I had put this info in the man page at one time, but
apparently I didn't.

>The only compiler warning given was : (with xboard)
>backend.c:487: warning: comparison is always 0 due to limited range of data
>type

This warning is harmless.  It will be fixed in the next release.

	--Tim
Technical Details
Message-ID: <3st09j$qug@src-news.pa.dec.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3ssjfh$49r@quagga.ru.ac.za>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,5c41abbe61bfd447
X-Google-Attributes: gid10d71d,public
From: mann@src.dec.com (Tim Mann)
Subject: Re: problem with initString
Date: 1995/06/29
Message-ID: <3st09j$qug@src-news.pa.dec.com>
X-Deja-AN: 105308094
distribution: world
references: <3ssjfh$49r@quagga.ru.ac.za>
organization: Digital Equipment Corp., Systems Research Center
reply-to: mann@pa.dec.com
newsgroups: gnu.chess