[Scid-users] Small changes in header search: patch adding Caro-Kann variations

2016-12-05 Thread Igor Sosa Mayor
Hi,

the small dialog which appears in the header search to select openings
has a rather arbitrary selection of openings. For instance there is only
the advance variation in the caro-kann. I wrote a small patch to include
other (most used, by the way) variations.

Maybe it is possible to apply it...

Many thanks in advance.

Igor Sosa Mayor

diff --git a/tcl/lang/english.tcl b/tcl/lang/english.tcl
index b779af1..d4631f1 100644
--- a/tcl/lang/english.tcl
+++ b/tcl/lang/english.tcl
@@ -1513,6 +1513,9 @@ translate E AlekhineDefence {Alekhine Defence}
 translate E Pirc {Pirc}
 translate E CaroKann {Caro-Kann}
 translate E CaroKannAdvance {Caro-Kann Advance}
+translate E CaroKannExchange {Caro-Kann Exchange}
+translate E CaroKannPannov {Caro-Kann Pannov}
+translate E CaroKannClassical {Caro-Kann Classical}
 translate E Sicilian {Sicilian}
 translate E SicilianAlapin {Sicilian Alapin}
 translate E SicilianClosed {Sicilian Closed}
diff --git a/tcl/search/header.tcl b/tcl/search/header.tcl
index 62b3059..9886992 100644
--- a/tcl/search/header.tcl
+++ b/tcl/search/header.tcl
@@ -636,6 +636,9 @@ proc chooseEcoRange {} {
   "B07-B09 [tr Pirc]: 1.e4 d6" \
   "B10-B19 [tr CaroKann]: 1.e4 c6" \
   "B12i-B12z  [tr CaroKannAdvance]: 1.e4 c6 2.d4 d5 3.e5" \
+  "B13-B13[tr CaroKannExchange]: 1.e4 c6 2.d4 d5 3.exd5" \
+  "B14-B14[tr CaroKannPannov]: 1.e4 c6 2.d4 d5 3.exd5 cxd5 4.c4" \
+  "B18-B19[tr CaroKannClassical]: 1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Bf5" \
   "B20-B99  [tr Sicilian]: 1.e4 c5" \
   "B22-B22 [tr SicilianAlapin]: 1.e4 c5 2.c3" \
   "B23-B26 [tr SicilianClosed]: [trans [list 1.e4 c5 2.Nc3]]" \
--
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Help modifying keyboard.tcl

2016-12-01 Thread Igor Sosa Mayor
Fulvio  writes:

> bind $w  {
>  eval [excludeTextWidget %W]
>  set ::showGameInfo [expr {! $::showGameInfo}]
>  ::toggleGameInfo
>  break
> }
>
>
> The "eval [" line disable the shortcut for text widgets (without 
> this line, writing a comment with a comma will rotate the board for example)
> The "set ::showGameInfo ..." line toggle the status (visible or not) of 
> the GameInfo window
> The "::toggleGameInfo" line show (or hide) the GameInfo window 
> (misleading function name indeed)
> The "break" line signal that the user input has been processed and 
> should not be sent to parent windows.


thanks a lot. Above all for the explanation!


--
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Help modifying keyboard.tcl

2016-12-01 Thread Igor Sosa Mayor
Hi again,

sorry for asking again...

I wnat to bind  to showGameInfo. I put:

bind $w  {
toggleGameInfo
}

or

bind $w  {
::toggleGameInfo
}

I also tried F12 (disabling the later bind to correspondence) without
any success...

Any hint?

Many thanks in advance.


-- 
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


--
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Bind Ctrl-R to flip board

2016-12-01 Thread Igor Sosa Mayor
Fulvio <f...@libero.it> writes:

> Igor Sosa Mayor wrote:
>> Hi again,
>>
>> if I do
>> grep -r bind * | grep 'Control-R'
>>
>> on your code, I cannot see that the shortcut Ctrl-R is bound to
>> anything. Would be it possible to bind it to 'flip/rotate board'?
> Yes.
> There is a file tcl/keyboard.tcl for keyboard shortcuts:
> https://sourceforge.net/p/scid/code/ci/master/tree/tcl/keyboard.tcl#l84
>
> The default key for rotating the board is "." (period), but you can 
> modify it to suit your preferences.
> Just close and restart Scid to make a change effective (no need to 
> recompile).

sorry for the noise... I searched for several combinations, but didnt'
think on toggleRotateBoard. 

Thanks!


--
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Bind Ctrl-R to flip board

2016-11-30 Thread Igor Sosa Mayor
Hi again,

if I do
grep -r bind * | grep 'Control-R'

on your code, I cannot see that the shortcut Ctrl-R is bound to
anything. Would be it possible to bind it to 'flip/rotate board'?

Or am I missing something?

Many thanks in advance.

-- 
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


--
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Scid crashes by closing tree window

2016-11-30 Thread Igor Sosa Mayor
Fulvio <f...@libero.it> writes:

> Igor Sosa Mayor wrote:
>> Hi,
>>
>> with the git and the stable version scid crashes if you open a db as
>> tree (through the menu File) and then you close the tree window by
>> clicking on "Close".
> Thanks,
> fixed with:
> https://sourceforge.net/p/scid/code/ci/423eaf646352673f1d1d78f9ccdd019a764b58dc/

thanks a lot! It's working now (and thanks a lot for youd good work with
scid).


--
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Scid crashes by closing tree window

2016-11-30 Thread Igor Sosa Mayor
Hi,

with the git and the stable version scid crashes if you open a db as
tree (through the menu File) and then you close the tree window by
clicking on "Close".

Is there a way to debug scid?

Many thanks in advance.

Igor Sosa Mayor 

-- 
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


--
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Scid.eco

2014-04-19 Thread Igor Sosa Mayor
Joost 't Hart joost.t.h...@planet.nl
writes:

 Personally I still like to see the codes in a written player report.

me too.

-- 
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users