.PL and Ctrl-C

May 20, 2008
11,288
95
Syracuse, NY, USA
If I try to interrupt the Perl script

sleep 10;

(being interpreted by TCC) with a Ctrl-C, TCC disappears (occasionally "encounters a problem"). IIRC this has been discussed before but I don't remember what came of it.
 

rconn

Administrator
Staff member
May 14, 2008
12,316
148
vefatica wrote:

> If I try to interrupt the Perl script
>
> sleep 10;
>
> (being interpreted by TCC) with a Ctrl-C, TCC disappears (occasionally
> "encounters a problem"). IIRC this has been discussed before but I don't
> remember what came of it.

Nothing became of it -- it's a problem with Perl, not TCC. (Perl
replaces the default TCC break handler with its own, which summarily
terminates the app instead of correctly passing it on to any other break
handlers that may be installed.)

The only workaround is to compile a custom version of Perl with the
offending code fixed.

Rex Conn
JP Software
 
May 30, 2008
120
1
On 07/08/2008, vefatica <> wrote:

> If I try to interrupt the Perl script
>
> sleep 10;
>
> (being interpreted by TCC) with a Ctrl-C, TCC disappears
> (occasionally "encounters a problem"). IIRC this has been discussed before but
> I don't remember what came of it.

I raised a similar sounding issue with plugins, which appears to be a
bug in TCC. I don't recall Rex ever responding, though.

Paul
 
May 30, 2008
235
2
I managed to kill TCMD recently with only Ctrl-C (not Break) a while ago as well. It was then running an alias and/or batch file using only TCC internal commands.

After I restarted TCMD I could activate the TCC window and attach it so it seems only TCMD and not TCC was killed.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Can I alias @@Ctrl-Shift-Alt-u? Support 4
cgunhouse Ctrl-C from within a library function Support 6
Alpengreis Fixed [v26.00.26] Crash after answering INKEY with <Ctrl>+C Support 1
vefatica Ctrl-F? Support 3
MickeyF expand alias in cmdline with Ctrl-F in TCC Support 21
MickeyF Ctrl-S and Ctrl-Q in TCC Support 6
Peter Murschall IDE: Ctrl-W is a Harakiri Command ! Support 23
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
samintz TCEDIT Ctrl-S Support 2
vefatica Ctrl-Alt-L (R, Left, Right). Support 8
M Ctrl-C when using command line history does nothing Support 2
V Ctrl-Home/End don't work in Win10 Support 3
Charles Dye Ctrl-Shift-Up doesn't update directory history Support 1
vefatica TPIPE.EXE crashes on Ctrl-C Support 9
Peter Murschall IDE destroys Text on Ctrl-U/Ctrl-Shift-U Support 12
vefatica Ctrl-Enter in command history window? Support 8
vefatica TPIPE crashes on Ctrl-C Support 1
cgunhouse Ctrl + Shift keys and Paste (drop down menu and V) Support 4
M View doesn't recognize Ctrl+End and Ctrl+Pos1 Support 2
M Ctrl-End doesn't work. DelToEnd is not executed Support 13
C Output continues after Ctrl-Break Support 8
J How to? Debug Keyboard Shortcuts (Ctrl-A not remapping?) Support 8
Jay Sage Ctrl-C Not Working Reliably to Copy Screen Content Support 4
vefatica Ctrl-x? Support 13
C How to? ctrl-c does not prompt "Terminate batch job" Support 2
vefatica Ctrl-T and Ctrl-Shift-T Support 6
P Disable global hotkey Ctrl+Shift+T Support 19
vefatica DATEMONITOR + Ctrl-C crashes TCCv15 Support 5
dcantor Fixed Ctrl+Shift+Insert repeats last character Support 3
A WAD No newlines in copy with Ctrl-Ins Support 2
A Ctrl-1 and the command history Support 5
vefatica Ctrl-Up/Down? Support 21
E Ctrl-V does not always work in BDEBUGGER Support 4
vefatica Should Ctrl-C interrupt a COPY? Support 2
M Ctrl-C and Java Support 19
K Ctrl-D alias no longer works Support 4
vefatica Ctrl-F1? Support 0
J CTRL-C does not work on Windows 7 64-bit Support 3
dcantor Does variable expansion (ctrl-x) actually work? Support 27
E Ctrl+C not working as expected Support 8
Juanma Barranquero Ctrl-C trouble Support 1
Fross CTRL-C in V10 Support 3
S Ctrl-C handling while piping Support 0
vefatica LIST, Ctrl-C leaves visual artifact Support 0

Similar threads