From: Colin B. on
Hey all;

Lately I've been moving back and forth from my trust ksh to others, and
found that an annoying little quirk doesn't exist in zsh or bash. As a
result, I'm wondering if I could change it in ksh.

It's this: ^C at the beginning of a line after an interrupt.

In ksh, I see:

$ ssh fakehost
(break it with CTRL-C)
^C$

Whereas in zsh and bash (and tcsh), I see:
$ ssh fakehost
(break it with CTRL-C)
^C
$

This has consequences for command-line editing. Does anyone know if I
could easily add the line-feed to the end of a ^C character in ksh?

Cheers,
Colin

From: Cydrome Leader on
Colin B. <cbigam(a)somewhereelse.shaw.ca> wrote:
> Hey all;
>
> Lately I've been moving back and forth from my trust ksh to others, and
> found that an annoying little quirk doesn't exist in zsh or bash. As a
> result, I'm wondering if I could change it in ksh.
>
> It's this: ^C at the beginning of a line after an interrupt.
>
> In ksh, I see:
>
> $ ssh fakehost
> (break it with CTRL-C)
> ^C$
>
> Whereas in zsh and bash (and tcsh), I see:
> $ ssh fakehost
> (break it with CTRL-C)
> ^C
> $
>
> This has consequences for command-line editing. Does anyone know if I
> could easily add the line-feed to the end of a ^C character in ksh?
>
> Cheers,
> Colin

rewrite ksh to act like a normal program?