bug-xboard
[Top][All Lists]
Advanced

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

Re: [Bug-XBoard] premove bug?


From: Eric Mullins
Subject: Re: [Bug-XBoard] premove bug?
Date: Wed, 21 Oct 2009 11:54:47 -0600
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Eric Mullins wrote:
On FICS, $<foo> prevents alias substitution. backend.c attempts to set the prefix (for preventing alias substitution) based on the ICS type. I don't know how well that works outside of FICS since that's all I ever use. I'm not sure which part of the code contains the prefix for premove, but it should be using the ics_prefix variable instead of '$' in order to presumably use the correct one based on ICS type.

As an aside: from a design perspective, this behavior should be encapsulated in the SendToICS routine(). neither frontend nor backend code should ever have to concern itself with prepending a prefix when issuing server commands. Yet pretty much every command we issue to the server technically should be prepended with a prefix if availabe. (You don't want 'set width 40' to become something else when the user has an alias for 'set')





reply via email to

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