Group: comp.lang.tcl


Subject: tkcon and !
From: Glenn Jackman
Date: 12/5/2007 3:37:18 PM
At 2007-12-05 08:58AM, "Larry W. Virden" wrote: > On Dec 4, 4:15 pm, Glenn Jackman <gle...@ncf.ca> wrote: > > > > > tkcon somehow doesn't like proc name ! [...] > > So, what were your symptoms? > > I start tkcon v2.5 through an Hummingbird exceed connection to a sparc > solaris 9 server . While it is thinking about displaying its console, > windows stops responding (sigh). Then I try something simple: > > (unix) 21 % proc ! {x} {return 123} > (unix) 22 % set a [!] > wrong # args: should be "! x" > (unix) 23 % set a [! a] > 123 > (unix) 24 % info patchlevel > 8.4.16 > > > so it seems to work for me... (glennj) 49 % proc ! x {return 123} (glennj) 50 % ! 5 (glennj) 50 % set x [! 5] 123 (glennj) 51 % As Richard suggested, it's a history substitution issue -- the non-incremented history number 50 could have given me a clue but I didn't notice it. -- Glenn Jackman "You can only be young once. But you can always be immature." -- Dave Barry