[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ctrl-C ignored after pasting a long text in an X terminal emulator



On Mon 23 Jan 2023 at 04:15:38 (+0100), Vincent Lefevre wrote:
> On 2023-01-21 23:04:30 -0600, David Wright wrote:
> 
> > In this case, if I paste the large file, I do see almost the start
> > of the file (I seem to lose just the first line, which rolls off the
> > top), and ^C still works, returning to the prompt with return code
> > 130.
> > 
> > (I don't know whether all terminals behave like this: I just use
> > xterm myself.)
> 
> This should work if the terminal and the shell both support
> bracketed paste.

Bracketed paste allows me to erase all the input with ^U.
But I didn't think you needed bracketed paste for ^C to work.

Cheers,
David.


Reply to: