bug-xboard
[Top][All Lists]
Advanced

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

Fwd: please help me make timestamp work for xboard


From: Tim Mann
Subject: Fwd: please help me make timestamp work for xboard
Date: Tue, 27 Apr 2021 18:32:39 -0700

I think Kayven was bitten by the following issue that I just observed (with xboard 4.9.1, so it might have been fixed already). If the -icshelper program can't be executed (nonexistent pathname, etc.), the terminal shows no output until you press a key in it. At that point it spews "xboard: Error writing to ICS: Broken pipe" many times, then finally dumps core.

---------- Forwarded message ---------
From: Tim Mann <tim@tim-mann.org>
Date: Tue, Apr 27, 2021 at 6:23 PM
Subject: Re: please help me make timestamp work for xboard
To: Kayven Riese <kayvey@gmail.com>


I didn't mean to suggest that you run timestamp from the command line instead of using xboard. I was just showing that timestamp does connect to chessclub.com if you give the numeric IPv4 address.

You typed the correct xboard command line to use timestamp that way *IF* you have timestamp_linux_2.6.8 in a directory that is in your search path and you have it set to be executable. Type "echo $PATH" to the Linux shell to find out what your search path is, and type "ls -l timestamp_linux_2.6.8" to find out if it is executable -- it should have three x's in the first column, similar to this:

$ echo $PATH
/home/mann/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
$ ls -l ~/bin/timestamp_linux_2.6.8
-rwxrwxr-x 1 mann mann 12432 Apr 25 16:13 /home/mann/bin/timestamp_linux_2.6.8

If you don't put timestamp into a directory in your $PATH, you can still use it by giving the full pathname of where you did put it to xboard. Example:

xboard -ics -icshost 45.55.120.214 -icshelper /home/mann/chess/timestamp/timestamp_linux_2.6.8

I think the canberra-gtk-module message is a harmless one that can be ignored. Google for this message to find a solution if it annoys you. This may work:
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


On Mon, Apr 26, 2021 at 8:26 PM Kayven Riese <kayvey@gmail.com> wrote:
Thank you very much but doing the command you give literally gives an ASCII txt board.  I guess I forfeited unless they do autoabort in starting position to test that. {:P  I thought I figured out the right command but now I cannot connect because of the canberra issue (see attached image)

On Sun, Apr 25, 2021 at 4:21 PM Tim Mann <tim@tim-mann.org> wrote:
For some unknown reason, chessclub.com never gave timestamp the ability to look up hosts by name. So you have to give the numeric IP4 address of chessclub.com instead of the string "chessclub.com". The current numeric IP4 address of chessclub.com is 45.55.120.214. See this example output:

mann@sandman:~/chess/timestamp$ host chessclub.com
chessclub.com has address 45.55.120.214
chessclub.com mail is handled by 10 chessclub-com.relay1g.spamh.com.
chessclub.com mail is handled by 30 chessclub-com.relay1i.spamh.com.
chessclub.com mail is handled by 20 chessclub-com.relay1h.spamh.com.
mann@sandman:~/chess/timestamp$ ./timestamp_linux_2.6.8 45.55.120.214 5000
Welcome to the INTERNET CHESS CLUB

web:   www.chessclub.com    email: support@chessclub.com
phone: 1-412-436-5558

login: mann

"mann" is a registered name.  If it is yours, type the password.
If not, just hit return to try another name.

password: ��XXXXXXXX
��
**  The use of chess-playing programs is not allowed unless you  **
**  have a (C) label ("help computers") or are logged on as an   **
**  anonymous user, e.g. anon1234  ("help anonymous").           **

Internet Chess Club Events:  More details: "https://www20.chessclub.com/calendar".
                             Times are EDT; add 5 hours for GMT - 6 hours for Central Europe.
_____________________________________________________________________
***************************************************************************************
***                         Don't miss ICC videos and LIVE SHOWS!                   ***
***   GOTW, Attack with LarryC, Ask the Master with Watson, Ronen's Greatest Hits   ***
***     Game Of the Day for major events, Dan Heisman's Improve Your Chess,         ***
***     Take it to the Max with Dlugy, Banter Blitz, SimulMaster, and much more!    ***
***     https://www.chessclub.com/videos --> All ICC videos                         ***
***     https://www.youtube.com/user/ICCInternetChessClub --> Live Shows            ***
***                        The best way to learn chess online!                      ***
***************************************************************************************

For a list of events, click here:

https://www20.chessclub.com/calendar
 ____________________________________________________________________  


---> Move timestamping activated.
You have one message.  (Use "messages" to show, "clearmessages *" to clear.)
Present company includes---> oldtimer WelcomeBot
aics%

On Thu, Apr 22, 2021 at 2:30 AM <h.g.muller@hccnet.nl> wrote:
Well, to make things clear: timestamp is not part of the XBoard project, but propriatry closed-source software developed by ICC. The idea behind it is that it encrypts the communication between client and server in a secret way that cannot be reproduced by a non-trusted party in order to tamper with the time stamps. I am not aware of the encryption algorithm having been broken. (As it is for 'timeseal' used by FICS.) If ICC supplies a version that doesn't work under all Linux systems, one must turn to ICC for having it fixed.

Some of what you report seems strange, though. Timestamp should be a simple command-line application, and has no business using GTK. It is not clear which executable acually was responsible for the canberra-gtk-moule error message, but I don't think XBoard would need that, as I never heard of it.

In principle timestamp is a telnet-like application, which you should be able to run from the command line (through he command "./timestamp chessclub.com 5000" ?). After which you should be able to communicate with ICC through it, typing commands and getting the ICS responses displayed in your terminal. If you try that, does it also give this error message?




Op do., apr. 22, 2021 om 03:00, Kayven Riese <kayvey@gmail.com> schreef:
Here is my command line for my computer:
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ uname -a
Linux kayve-HP-Compaq-Elite-8300-CMT 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ldd timestamp
linux-gate.so.1 (0xf7fb6000)
libc.so.5 => not found
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$

(above timestamp was the 2.0.30 version (renamed to simply timestamp).. later I tried 2.6.8 with more interesting but still failing results.. fail to connect)

I can connect to ICC with my xboard it runs better than web interfaces but I can’t figure out how to use timestamp.  I am not sure which version from this webpage is the correct one:
https://download.chessclub.com.s3.amazonaws.com/timestamp/index.html
I believe the file I used is the first one right now linux 2.0.30 (I renamed it to simply timestamp) but I have also tried linux 2.6.8
well I tried this advice:
http://www.talkchess.com/forum3/viewtopic.php?t=27107&start=10
when I tried installing ia32-libs it said lib32z1 was a replacement so I installed that and now this is what is happening:
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ls
example lantern timestamp timestamp_linux_2.6.8
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ rm timestamp
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ mv timestamp_linux_2.6.8 timestamp
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ xboard -ics -icshost chessclub.com -icshelper timestamp
Gtk-Message: 15:50:12.750: Failed to load module “canberra-gtk-module”

kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ sudo apt install canberra-gtk-module
Reading package lists… Done
Building dependency tree    
Reading state information… Done
E: Unable to locate package canberra-gtk-module
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ./timestamp 207.99.83.228 5000
timestamp: Connection timed out
timestamp: can’t connect to server
Can someone help me make my xboard work with timestamp?  Please don’t tell me to use the web interface lag is everything in internet play I can’t have that awful lag. 

Here is more of a dump of what I have done:


kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ file timestamp
timestamp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.1, not stripped
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ sudo dpkg --add-architecture i386
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ sudo apt-get update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
buntu.com/ubuntu focal-backports InRelease [101 kB]
[::deleted stuff::]

Err:12 http://ppa.launchpad.net/ffmulticonverter/stable/ubuntu focal Release                                                    
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ffmulticonverter/stable/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
Reading package lists... Done
Building dependency tree      
Reading state information... Done

[::deleted stuff::]

Setting up libncurses5:i386 (6.2-0ubuntu2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ./timestamp
bash: ./timestamp: No such file or directory
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ /home/kayve/chess/timestamp
bash: /home/kayve/chess/timestamp: No such file or directory
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1

E: Package 'ia32-libs' has no installation candidate
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ldd timestamp
linux-gate.so.1 (0xf7fce000)
libc.so.5 => not found

kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ sudo apt install lib32z1
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  libc6-i386
The following NEW packages will be installed:
  lib32z1 libc6-i386
0 upgraded, 2 newly installed, 0 to remove and 46 not upgraded.
Need to get 2,780 kB of archives.
After this operation, 14.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-i386 amd64 2.31-0ubuntu9.2 [2,723 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 lib32z1 amd64 1:1.2.11.dfsg-2ubuntu1.2 [56.5 kB]
Fetched 2,780 kB in 4s (625 kB/s)
Selecting previously unselected package libc6-i386.
(Reading database ... 251907 files and directories currently installed.)
Preparing to unpack .../libc6-i386_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-i386 (2.31-0ubuntu9.2) ...
Replaced by files in installed package libc6:i386 (2.31-0ubuntu9.2) ...
Selecting previously unselected package lib32z1.
Preparing to unpack .../lib32z1_1%3a1.2.11.dfsg-2ubuntu1.2_amd64.deb ...
Unpacking lib32z1 (1:1.2.11.dfsg-2ubuntu1.2) ...
Setting up libc6-i386 (2.31-0ubuntu9.2) ...
Setting up lib32z1 (1:1.2.11.dfsg-2ubuntu1.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ls
example  lantern  timestamp  timestamp_linux_2.6.8
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ rm timestamp
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ mv timestamp_linux_2.6.8 timestamp
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ xboard -ics -icshost chessclub.com -icshelper timestamp
Gtk-Message: 15:50:12.750: Failed to load module "canberra-gtk-module"
^C
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ./timestamp 207.99.83.228 5000
timestamp: Connection timed out
timestamp: can't connect to server
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ^Cdo apt install lib32z1
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ sudo apt install canberra-gtk-module
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package canberra-gtk-module
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ chmod a+x timestamp
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ./timestamp 207.99.83.228 5000
^C
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ./timestamp chessclub.com 5000
timestamp: Network is unreachable
timestamp: can't connect to server
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ping
ping: usage error: Destination address required
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ping yahoo.com
PING yahoo.com(media-router-fp73.prod.media.vip.bf1.yahoo.com (2001:4998:124:1507::f000)) 56 data bytes
64 bytes from media-router-fp73.prod.media.vip.bf1.yahoo.com (2001:4998:124:1507::f000): icmp_seq=1 ttl=51 time=93.5 ms
64 bytes from media-router-fp73.prod.media.vip.bf1.yahoo.com (2001:4998:124:1507::f000): icmp_seq=2 ttl=51 time=119 ms
^C
--- yahoo.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 93.547/106.399/119.252/12.852 ms
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ./timestamp www.chessclub.com 5000
timestamp: Network is unreachable
timestamp: can't connect to server
kayve@kayve-HP-Compaq-Elite-8300-CMT:~/chess$ ./timestamp www.google.com 5000

--
  Sincerely,

  Kayven Riese
*----------------------------------------------------------*
  Kayven Riese, MSCS,
                      MS  (Physiology and Biophysics)
  (415) 902 5513 cellular
  Webmaster http://ChessYoga.org
*----------------------------------------------------------*




--
  Sincerely,

  Kayven Riese
*----------------------------------------------------------*
  Kayven Riese, MSCS,
                      MS  (Physiology and Biophysics)
  (415) 902 5513 cellular
  Webmaster http://ChessYoga.org
*----------------------------------------------------------*



reply via email to

[Prev in Thread] Current Thread [Next in Thread]