Hello,

I received this tweet this morning:

> {@SCIDChess is there any possibility to make the shortcut for new game on
scid 4.6 functional again? ;-)

https://twitter.com/kragenweite/status/604526739050635265

This made me realize that indeed the Ctrl-X command does not work.

After some trial an error, I found a workaround:

@kragenweite -

1. Open /bin/tcl/keyboard.tcl with an editor.
2. Replace "Ctrl-X" with "Ctrl-x" on line 133.
3. Restart SCID.

Thanks!

https://twitter.com/SCIDChess/status/642070595711148032

***

Since this is not a tweet, I might as well clarify a few things in this
procedure:

First, in the file keyboard.tcl, find the line that reads

[133] bind $w <Control-X> ::game::Clear

and replace it with

[133] bind $w <Control-x> ::game::Clear

I am not sure why this works, but that's the only way I made it work.
Nothing I changed in menus.tcl seemed to help.

My only explanation is that "Ctrl-X" might refer to Ctrl-Shift-x, since a
capital X is printed after pressing Shift-x. If I am correct, then there is
a use-mention confusion in the code.

Second, since this is Tcl code, there's no need to recompile anything.
Closing and relaunching SCID after having made the changes in the .tcl file
suffices.

Third, it's possible to create any shortcuts you fancy by editing
keyboard.tcl. To modify the shortcuts adverized in the menu, you'll have to
edit the menus.tcl file.

***

Tell me if that works for you.

B




­
­
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to