Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-20
23:35 • Ticket [218116ffff] "history redo xxx" to recall commands in the histo... artifact: b0891b45cb user: dgp
2000-10-26
08:14 • Closed ticket [218116ffff]. artifact: 388405b468 user: welch
00:53 • New ticket [218116ffff]. artifact: ea28dc4a35 user: nobody

"history redo xxx" to recall commands in the history list do

Closed / Invalid218116ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:53:18
OriginalBugID: 1912 Bug
Version: 8.0.5
SubmitDate: '1999-04-20'
LastModified: '1999-09-16'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Solaris
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-09-16'


Name:
[email protected]

Extensions:
none

CustomShell:
none

ReproducibleScript:
Here is a copy of transcript illustrating problem:
    --------------------------------------------------
    %history  keep 5
    5
    %c1
    invalid command name "c1"
    %c2
    invalid command name "c2
    %c3
    invalid command name "c3"
    %c4
    invalid command name "c4
    %c5
    invalid command name "c5
    %history
          3  c2
          4  c3
          5  c4
          6  c5
          7  history
    %history redo 3
    event "3" is too far in the past
    %exit

ObservedBehavior:
event "3" is too far in the past

DesiredBehavior:
invalid command name "c8"


Actually, this is correct, but what happens is the currently
evaluating command is placed on the history stack first, then
it fetches the other, which was then bumped off.  You see this
when you call 'history', and you can see that it is already in
the history stack as #7 before the command finishes. 
-- 09/16/1999 hobbs
welch Closed ticket [218116ffff]. [History diff]2000-10-26 08:14:48
dgp Ticket [218116ffff]: 5 changes [History diff]2001-04-20 23:35:55
Log in (anonymous is fine) to add a comment.