Command line

110 views
Skip to first unread message

John Pollock

unread,
Nov 11, 2011, 10:06:39 AM11/11/11
to PyChess People
Just wondering when a server command line option will be made
available?
BTW Pychess rocks!

JP

gbt...@gmail.com

unread,
Nov 25, 2011, 4:27:01 AM11/25/11
to PyChess People
Can you explain a bit what "server command line option" mean?
(Sorry for late reply.)

John Pollock

unread,
Dec 6, 2011, 9:22:42 AM12/6/11
to PyChess People
When connecting to a chess server like FICS (freechess.org) there is
no command line to enter commands to the chess server. I love the
client PyChess- but many times end up having to utilize another chess
client, due to a lot of commands are usually utilized on the chess
server. The command line gives a user a lot more options on chess
servers.

The command line in this case would be like having a Unix box with GUI
(Graphical User Interface) without the command line.

Hope this helps...

gbt...@gmail.com

unread,
Dec 6, 2011, 11:23:10 AM12/6/11
to PyChess People
Ah, I see now :)
This is issue #414 http://code.google.com/p/pychess/issues/detail?id=414
Seems this is not our first priority. Maybe Thomas or Matt can tell
more.

John Pollock

unread,
Dec 6, 2011, 7:18:40 PM12/6/11
to PyChess People
Hi again, thanks for the quick response.
Too me and I'm sure other users that utilize a chess server like FICS,
having access to a command line window should be a priority-
especially..

PyChess is fantastic, but that is "the main" reason I and I'm sure
others may opt for other less better clients when connecting up to
chess servers.

If your familiar with Unix or Linux, its the equivalent of having a
Linux/Unix box without a command line.

Many online tourneys, can't really be accessed without a command line.

But ending on a positive note, PyChess look and feel and options are
really sweet.
I use it to study a lot of games- but come connecting up to chess
server I switch over to another client.

I wish PyChess would make this command line window a priorty, IMHO. ;)

On Dec 6, 11:23 am, "gbt...@gmail.com" <gbt...@gmail.com> wrote:
> Ah, I see now :)

> This is issue #414http://code.google.com/p/pychess/issues/detail?id=414

Matthew Gatto

unread,
Jan 1, 2012, 9:20:05 PM1/1/12
to pychess...@googlegroups.com
Personally, I'd definitely like to add something like this in due time.
FICS has to be converted to block mode first though, and according to
http://www.freechess.org/Help/HelpFiles/iv_block.html , block mode
doesn't yet work with Timeseal. Until that happens we can't do it, since
Timeseal is essential to playing games on FICS. I sort of have a
work-around idea in my comment to the relevant issue in the issue
tracker:

http://code.google.com/p/pychess/issues/detail?id=414

Lobais

unread,
Jan 2, 2012, 5:59:56 PM1/2/12
to pychess...@googlegroups.com
Actually have you tried it? I remember trying the block mode, and I
think it worked with our (python) version of timeseal.
> --
> You received this message because you are subscribed to the Google Groups "PyChess People" group.
> To post to this group, send email to pychess...@googlegroups.com.
> To unsubscribe from this group, send email to pychess-peopl...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pychess-people?hl=en.
>

--
Mvh. Thomas

Matthew Gatto

unread,
Jan 6, 2012, 8:42:15 PM1/6/12
to pychess...@googlegroups.com
That's good to hear; I haven't tried it out, I was just going on what
the FICS doc said.

Tamás Bajusz

unread,
Aug 25, 2012, 9:44:12 AM8/25/12
to pychess...@googlegroups.com
From http://ictk.svn.sourceforge.net/viewvc/ictk/trunk/ictk/src/ictk/boardgame/chess/net/ics/fics/FICSProtocolHandler.java?revision=154&view=markup

/* chunkByBlockMode *****************************************************/
/** uses FICS's block mode to process the server output. This cannot
* be used with Timeseal because Timeseal chops off the high-order bits
* and DAV made Block_mode use the high-order bits. Duh.

FICS Bock mode commands can be upper 128 (they are integers from 0 to
187), and timeseal encoding contains this:
for i in xrange(len(buf)):
buf[i] |= 0x80
j = (i+encode_offset) % ENCODELEN
buf[i] = chr((buf[i] ^ ENCODE[j]) - 32)

So, the FICS doc (and ictk comment) is correct :(



2012/1/7 Matthew Gatto <matt...@gmail.com>:

Tamás Bajusz

unread,
Aug 25, 2012, 9:47:26 AM8/25/12
to pychess...@googlegroups.com
s/upper 128/beyond 128
Reply all
Reply to author
Forward
0 new messages