Xboard + Timeseal on FICS

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Xboard + Timeseal on FICS

Postby Philippe Etard » 12 Jun 2013, 21:58

Hello,
I am trying to have Xboard 4.5.3 and Timeseal (the one provided with Ubuntu 12..04)

Running from a consol this 2 commands works well :
./timeseal 69.36.243.188 5000 -p 5500 &
xboard -ics -icshost localhost -size medium -icsport 5500

But if I use this script, I get an error message "Got end of file from keyboard"
#!/bin/bash
./timeseal 69.36.243.188 5000 -p 5500 &
xboard -ics -icshost localhost -size medium -icsport 5500

What's wrong ?
Thank you.
Philippe Etard
 
Posts: 27
Joined: 14 Feb 2006, 20:21
Location: France

Re: Xboard + Timeseal on FICS

Postby H.G.Muller » 13 Jun 2013, 06:19

The problem might come from starting XBoard through a script. I am not really Linux-savvy, but I think this would also then expect whatever you want to type to the ICS from that script in stead of the keyboard (and quickly reach the end of the script file in attempting that).

Note that in XBoard 4.7 it is possible to simply start with the command

xboard fics

if timeseal is in a folder inside your path. If you want to use timeseal from the current directory you would have to edit the file ~/.xboardrc, and replace 'timeseal' in the -icsNames option's line for "fics" to './timeseal' .

It should also be possible to create a FICS.desktop file for starting XBoard in fics mode, if you rather start it from the GUI as through a command. This should contain something like (completely untested):

Code: Select all
[Desktop Entry]
Name=Xboard
Comment=Connect to FICS
GenericName=X-windows chess board
Type=Application
Categories=Game;BoardGame;
Exec=xboard -ics -icshost freechess.org -icshelper timeseal -size medium
Icon=xboard
NoDisplay=false
Terminal=true
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Xboard + Timeseal on FICS

Postby bodiless » 14 Jun 2013, 13:44

I am also starting xboard from a script (fics.sh) which contains the following line:

Code: Select all
#!/bin/sh
xboard -size medium -ics -sgf ~/my_fics_login_name.pgn -icshost freechess.org -icshelper openseal


I have both the script and openseal located in a folder which is in my $PATH so from whatever location I type in the name of the script it gets executes and so does openseal.

In case you don't know about this $PATH thing say you have both the script and openseal located in /home/user/bin/ then open your .bashrc file and at the end of the file add the following line:

Code: Select all
PATH="$PATH:/home/user/bin"


Save the file and logout and in again.

Needles to say that both the scrpt and openseal need to be executable
bodiless
 
Posts: 9
Joined: 17 Jul 2009, 22:03

Re: Xboard + Timeseal on FICS

Postby velocidrom » 20 Jun 2013, 04:48

I had exactly the same error message and I think H.G.Muller provided the answer... namely in the line
Code: Select all
Terminal=true
. This makes all the difference and it should fix your problem.
velocidrom
 
Posts: 44
Joined: 25 Sep 2012, 01:20


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 3 guests