Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Ctrl-Break hangs up Tcl console shell

Closed / Fixed217955ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:46:34
OriginalBugID: 4132 Bug
Version: 8.3b2
SubmitDate: '2000-02-07'
LastModified: '2000-02-08'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2619
OS: Windows 98
OSVersion: 4.10.1998
Machine: Celeron 300 / 64 Mb
FixedDate: '2000-10-25'
ClosedDate: '2000-02-08'


Name:
SnakE

Extensions:
none

CustomShell:
none

Comments:
The problem is present since Tcl 8.0. It is important because it is
    absolutely no way to give the user an ability to terminate
    time-consuming process in console Tcl shell. Checking keyboard is
    impossible because of 'fconfigure' doesn't work for 'stdin' on Windows
    NT.

ReproducibleScript:
No script needed, just start 'tclsh83' and then press Ctrl-C. On the first time it works (Tcl terminates), but now if start it again Ctrl-C will hang it up

ObservedBehavior:
Console hangs up. It can be killed using Windows98 Task Manager (Ctrl-Alt-Del), but files opened in the shell stay opened forever. The problem can be solved due reboot only.

DesiredBehavior:
The Tcl shell should terminate on Ctrl-C as any normal console application do
welch Closed ticket [217955ffff]. [History diff]2000-10-26 08:10:56
dgp Ticket [217955ffff]: 3 changes [History diff]2001-04-19 11:28:27
Log in (anonymous is fine) to add a comment.