Control characters pass through?

Mar 9, 2009
28
0
[C:\]ver /r

TCC 10.00.64 Windows XP [Version 5.1.2600]
TCC Build 64 Windows XP Build 2600 Service Pack 3
Registered to Emilio Perea - 1 System License
*---

It seems that control characters are not being passed through to attached Microsoft Services for Unix shells or those invoked from tcc via e.g.

alias csh posix /u /c /usr/local/bin/tcsh -l

I know this used to work fine on earlier builds of TCC 10, but unfortunately I did not notice when it changed. It was already a problem with build 63, but I no longer have earlier versions to check. Tabs must be detached before control characters work.

% uname -a
Interix ARTEMIS 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model104_Stepping2
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
Emilio III wrote:

>
> It seems that control characters are not being passed through to attached Microsoft Services for Unix shells or those invoked from tcc via e.g.
>
> alias csh posix /u /c /usr/local/bin/tcsh -l
>
> I know this used to work fine on earlier builds of TCC 10, but unfortunately I did not notice when it changed. It was already a problem with build 63, but I no longer have earlier versions to check. Tabs must be detached before control characters work.
>
> % uname -a
> Interix ARTEMIS 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model104_Stepping2

Not sure what you mean by "control characters" - can you give me a
specific example?

Rex Conn
JP Software
 
Mar 9, 2009
28
0
On Tue, Mar 31, 2009 at 09:27:08PM -0500, rconn wrote:

> Not sure what you mean by "control characters" - can you give me a
> specific example?

Sorry, that's not the right wording. I meant <Ctrl-C> or <Ctrl-Z> in
particular. Neither the right nor the left Ctrl key can be used with C
to stop a ping, for example. This morning I thought <Ctrl-Z> to suspend
and several others didn't work either, but they work fine now. Only
<Ctrl-C> seems to be a problem now, and <Ctrl-Break> can substitute, so
it's not nearly as big a problem as I thought it was, though still
annoying.

OTOH, if I'm the only one seeing this there's no point in worrying about
it.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
On Tue, 31 Mar 2009 21:27:14 -0500, rconn <> wrote:

|Not sure what you mean by "control characters" - can you give me a
|specific example?

I wasn't sure what the OP meant either. I tried TCSH in a tab and ^U erased a
command line in progress, ^H erased the character before the caret ... both as
expected. And ^C terminated an (external) ls and ping.exe. ^Break causes
ping.exe to give up-to-date stats and continue. ALl seems as it should be.
--
- Vince
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
Emilio III wrote:

> On Tue, Mar 31, 2009 at 09:27:08PM -0500, rconn wrote:
>
>
> ---Quote---
>> Not sure what you mean by "control characters" - can you give me a
>> specific example?
> ---End Quote---
> Sorry, that's not the right wording. I meant <Ctrl-C> or <Ctrl-Z> in
> particular. Neither the right nor the left Ctrl key can be used with C
> to stop a ping, for example. This morning I thought <Ctrl-Z> to suspend
> and several others didn't work either, but they work fine now. Only
> <Ctrl-C> seems to be a problem now, and <Ctrl-Break> can substitute, so
> it's not nearly as big a problem as I thought it was, though still
> annoying.
>
> OTOH, if I'm the only one seeing this there's no point in worrying about
> it.

Not reproducible here.

Check your TCMD menu shortcuts - right click on the menu bar, then
Customize, then Keyboard, and select Edit in the Category combo box.
Make sure you don't have Ctrl+C set as a shortcut key for Copy.

Rex Conn
JP Software
 
Mar 9, 2009
28
0
On Wed, Apr 01, 2009 at 06:50:57AM -0500, rconn wrote:

> Not reproducible here.
>
> Check your TCMD menu shortcuts - right click on the menu bar, then
> Customize, then Keyboard, and select Edit in the Category combo box.
> Make sure you don't have Ctrl+C set as a shortcut key for Copy.

No, it's Ctrl+Ins. I reset all key assignments, but ^C still doesn't
work for me. NBD if you can't reproduce it.
 
Apr 16, 2009
4
0
I am having the same issue with Ctrl -C not working as well. As others have mentioned, it worked in previous builds (I just can't remember which ones exactly).

Info:
Vista x64 w/SP1 (also happens with Vista x64 SP2RC escrow)
TC v10 (build 64)
cmd.exe as my comspec
Ctrl-C is not mapped to any keyboard shortcuts

Steps to reproduce (hopefully):

1. In a cmd window from TC, go to C:\Windows\System32
2. Type dir /p
3. Ctrl-C

If all goes well, nothing will happen for you as it does me :)

Now if I try the following from a cmd window that I open from the Windows Start Menu, Ctrl-C will work as expected (i.e. stop dir/p).

Hope that helps,
-Eric
 
Similar threads
Thread starter Title Forum Replies Date
Jay Sage Bug With Flow Control and/or Command Grouping Support 2
D History and control-C Support 1
C Control Everything CPU usage at startup? Support 7
J Piping ANSI control sequences through 'type' Support 4
M How to? Run the control panel from a TCC session... Support 2
D How move cursor out of popup edit control after no match? Support 14
Charles Dye Control-Shift-X Support 3
F How to? Stop hijacking control-shift-z Support 6
T TCC control-C copy operation Support 3
Mordachai how to control window size? Support 10
tmaynard How to? Control-U alias for Escape (command line editing) Support 5
vefatica Can I control forum drafts? Support 0
S WAD %_do_errors does not report errors when loop control variable type is not directory entry Support 1
S Forum: Where is "what's new" control information? Support 1
Jay Sage Improved Edit Control for Directory Popup Support 5
A Bug report: Control-C still not working Support 9
A Control-c Support 1
deleyd Commands to launch Control Panel items? Support 10
R WAD Unusable state when using Chinese characters Support 3
C TEE command appending null characters to output Support 6
D Regexes and escape characters Support 5
vefatica Quoting file names with special characters? Support 7
vefatica How to? Add real <ESC> characters with TPIPE Support 2
C Erase all characters left or right from cursor location Support 2
J Escaped Characters and Variables Support 2
Joe Caverly Unicode, Codepage 437, and line characters Support 3
gschizas Fixed Using codepage 65001 (UTF-8) breaks non-ASCII characters Support 8
vefatica Display of special characters in aliases. Support 25
J Python: TCC command line parsing removes '=' equal sign characters Support 4
C filemasks over 172 characters fail Support 5
redwdc TCC.exe opens to 11 characters x 3 rows Support 1
G Selection characters with mouse double-click Support 3
R Function #IDOW returns only 2 characters Support 10
krischik WAD Tee printing Chinese characters Support 7
Alexander How to? how can I use Cyrillic characters in the Echo command? Support 8
jadaml Echo unicode characters from UTF-8 Batch files? Support 1
V Fixed CD ~ has trash characters in it Support 5
S International characters - TYPE vs %@LINE function Support 5
Jay Sage Getting Quote Characters into a Toolbar Tab Support 12
vefatica Fixed Escaping special characters Support 1
M Problem with Extended Search and non-ASCII characters in directories names Support 3
A How to? PhraseExpress autotext/autocompletion printing unexpected characters Support 4
thedave WAD Unable to type various characters using Windows 8's onscreen keyboard Support 7
JohnQSmith WAD DO and escaped redirect characters Support 6
W TCMD 16: double characters Support 11
MickeyF how to work with env var with special characters in the name Support 5
vefatica Fixed TPIPE doesn't /SPLIT at characters Support 0
A Escape characters on right side of pipe Support 0
J How to? 'tab' characters in the console and clipboard 'copy' Support 1
M How to? Determine a whether vars beginning with certain characters exist... Support 5

Similar threads