I'm trying to insert "new-" at the beginning of a filename that was read for the command line into a variable. Why doesn't this work (and no insults please :))
set filmname=%$
set newfilename=%@insert[0,new-,%filename]
I readily admit that I know very little about the internal workings of Take Command. It's a tool I use to get my real work done. I'm often reluctant to upgrade because invariably something has changed that gives me trouble and I don't really want to deal with it. :smile:
In any case, thanks for...
I found the problem, and you led me there. Thanks.
ERASELINE was in the .ini file twice. Once in the [4NT] section and once in the [KEYS] section.
EraseLine=Ctrl-Y
I changed both instances to
EraseLine=Ctrl-Y Esc
That fixed it and the options under keyboard now lists the ESC key. That's...
But I have a TCC21 console open. It's using the same .ini file and ESC works as expected. It seems maybe some addition to the .ini file that 21 doesn't respond to but 24 does.
Esc works as expected with two Is.
I notice there''s a bunch of new stuff in the .ini file in the keys section that wasn't there before installing 24.0.
I have the same problem running a standalone TCC. If I run CMD in a Take Command tab, -ESC works as expected.
But I still have TCC21 installed and there is no problem in 21, only in 24.
I'm not sure I'm being understood. I'm talking about the command line in a console window. EraseLine in the options shouldn't effect that because it's a built-in Windows shortcut. ESC clears the command line in a Windows console and it works in a TCC21 console window and in a CMD console window...
That doesn't help. As I said, Escape to clear the command line is a Windows console shortcut, not a TCC shortcut. TCC 24 must be blocking the escape from reaching windows. Escape also clears the command line in a CMD.EXE window.
The Editing shortcuts in Option are apparently for the IDE and...
Actually, I found by further checking the the Escape key to clear the command line is a feature of Windows' Console. Apparently TCC 24 is blocking the Escape somehow because I have a TCC 21 console open and Escape clears the command line in that console.
Thanks, but I had already tried that. I don't believe those commands are for the console command line because the assigned key is Crtl+y and that doesn't work either.
I've been using the escape key for many years to clear the command line. I just updated from v21 and escape no long works, I've also used escape in the past to exit from LIST. That no long works either. I can get used to Q to leave LIST, but how do I clear the command line?
You're right. It says TCC key in the email. It is an upgrade and I must have clicked on the wrong choice. How do I correct it?
I'm getting old, I guess. I'm a veteran of 4DOS. :)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.