Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

History anomaly (v34)

Jan
945
19
At least in v34 (have no other versions available to test that (my old (offline) Laptop has v23, which doesn't have that feature yet) I discovered a history anomaly as following:

I DO save protocols:

Protocols.webp



Here the command history settings - note that I DO NOT save/load a history file:

History-things.webp



So, sometimes - direct after opening TCC/TCMD - I use the History with <Ctrl>+<Shift>+<PgDown>, select a command with arrows and execute it with <Enter>.
So far so good. Then I can recall this command at the prompt with <ArrowUp> - and now the anomaly happens sometimes: many times I could recall this last command which I selected and executed from the history list ONE TIME only, then the <ArrowUp> doesn't work anymore ... other times it works "endless". Manually typed command working always but not such from the command history list.

Edit: It seems that that happens (mostly or always) right after a new session (probably even aber a PC reboot) ... after I while (where I used that few times and/or typed some commands or something like that) it works then correct (even after restarting TCC/TCMD).
 
Last edited:
Not reproducible here.

The extended history and the command history do not share anything. If you select something from the extended history, it is copied to the command buffer and then will be saved by the parser to the command history. But that's the only (indirect) interaction they have.

If you can come up with a reproducible failcase, I'll take another look.
 
Yes, I found a way to reproduce it EACH time.

1. Make sure that no session of TCC/TCMD is open
2. Open TCMD
3. Press <Ctrl>+<Shift>+<PageDn>
4. Select an entry of the list and press <Enter> to execute the command
5. Press <ArrowUp> ... the last command should appear
6. Press <ESC> ... the command disappears which is normal of course
7. Press <Ctrl>+<Shift>+<PageDn>
8. Select an entry of the list and press <Enter>
9. Press <ArrowUp> ... the last command should appear but is doesn't anymore!

PS: The same happens by the way without the History list too. But at least after I reselected and executed a command again, it should be appear again after <ArrowUp> I think ...
 
Last edited:
Hello Rex @rconn

Still happens in v34.01.26, is that WAD?

No big deal, I'm just interested.
 
Ok, thank you! I can live with that.
 
JFI yet (could maybe interesting for others too):

My problem above happens without an explicite history file only. Since I specified an explicite history file ...

TC_History_file.webp


it works normally it seems.
 
Back
Top