bug-xboard
[Top][All Lists]
Advanced

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

[Bug-XBoard] [bug #27844] Escape sequences in popup messages


From: Tim Mann
Subject: [Bug-XBoard] [bug #27844] Escape sequences in popup messages
Date: Thu, 29 Oct 2009 16:44:22 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14

Follow-up Comment #1, bug #27844 (project xboard):

WinBoard converts n to a real newline in command-line arguments because there
is no way to put a real newline in a command-line argument under Windows,
whereas under Unix/Linux it's possible.  However it probably makes sense to
backport that feature to xboard for convenience, because putting a real
newline into the command line is something people may not realize is
possible.

I can see that it makes sense in telluser, etc., too.

I think the idea was that telluser should give you a non-modal popup that
dismisses automatically if you click on the board (actually at one time I
think it just showed the message in the line where moves are shown, but that's
too easy to miss), while tellusererror should give a modal popup that would
have to be dismissed by clicking its [OK] button before you could do anything
else.

I don't remember if that distinction is observed in both xboard and WinBoard
4.2.7 and haven't checked 4.4.x.  It might not be consistent between xboard
and WinBoard -- at one point I remember that at least one of them did the
wrong thing because I hadn't figured out how to make both modal and non-modal
popups under both X and Windows.  I don't remember which case was missing or
if I fixed it later.

tellusererror wasn't meant to be a fatal error that would make the engine
exit, but it might be OK to redefine it that way.  You'd have to check if
engine authors are using it for nonfatal errors.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27844>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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