Re: Does variable expansion (ctrl-x) actually work?
TCC 10.00.76 Windows XP [Version 5.1.2600]
TCC Build 76 Windows XP Build 2600 Service Pack 3
I believe in the old 4DOS days, ^X was the escape character. I still
have that configured. Is there any chance you do?
D:\>option escapechar
escapechar=↑
Curiously, either Ctrl key works for me, in spite of having only the
left Ctrl (and Alt) reserved for TCMD.
Does the Ctrl-X send a key code? I tested below using Ctrl-Q, since
Ctrl-X does not insert anything. The 17 (Ctrl-Q) listed below would be
24 if Ctrl-X just sent its code. Between the square brackets, press
the Ctrl-X key once.
D:\>echo %@ascii[â—„]
17
> | Ctrl-X will only expand the variable at the cursor, not all of the
> | variables on the line.
I don't get that behavior.
D:\>set Q*
Q1=one
Q2=two
Q3=three
D:\>echo %Q1 %Q2 and %Q3 please{Cursor is here}
I press Ctrl-X and the last line immediately changes to
D:\>echo one two and three please
On Wed, Sep 9, 2009 at 8:39 PM, dcantor <> wrote:
> ---Quote (Originally by rconn)---
> dcantor wrote:
>
>
>
> You've either not enabled the Ctrl key for the TCC window (Options /
> Configure Take Command / Tabs), or you have an existing Ctrl-X menu
> shortcut defined in Take Command. Â*(Right click on the menu and select
> "Customize".)
>
> Rex Conn
> JP Software
> ---End Quote---
> I do have left-ctrl enabled for Take Command, and there is nothing that I can find in keyboard customization menus that has Ctrl-X assigned.
>
> This is really mystifying. Â* Meanwhile, I've assigned F11 for this function (and that works), but I'd prefer a control character.
>
>
>
>
>
--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.