[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



Vincent Lefevre wrote:
> The following issue is reproducible in several terminals, e.g. xterm
> and GNOME Terminal, and several shells, e.g. bash and zsh.
>
> 1. From the shell in an X terminal emulator, run an X application
> in foreground, e.g. emacs-gtk or xterm.
>
> 2. Paste a long text (e.g. the contents of /usr/share/doc/libc6/copyright
> to choose an example every one has) in the terminal. Actually, only
> the beginning of the text appears in the terminal.
>
> 3. Type Ctrl-C (one or several times) in the terminal.
> But nothing happens.
You could try pressing ctrl-z at this point to send the application into
background.

fg would bring it into foreground again.

I am not going to send that document into a terminal. It has asterisks
in it, what would happen if there were a line break and the next
characters were rm * ?


Reply to: