Hello,
Before fc34 (i.e. in fc32), I used to used ctlC to interrupt any sort of process. In fc34, to have the same result, I need to do ctlC ctlX How can I avoid to have to make this double command?
Thanks
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A ===========================================================================
On Wed, Jun 30, 2021 at 05:23:54PM +0200, Patrick Dupre wrote:
Before fc34 (i.e. in fc32), I used to used ctlC to interrupt any sort of process. In fc34, to have the same result, I need to do ctlC ctlX How can I avoid to have to make this double command?
Not sure how this happened, Control-c should continue to send SIGINT.
What is the output of 'stty -a' on your terminal? It should have 'intr = ^C' in the output.
Typically in bash, Ctrl-X is a sequence used before another keypress, for example, C-x C-v prints out bash version information, C-x C-x jumps to the beginning and back to the original cursor location after repeated presses.
FWIW, Control-c sends the SIGINT when I use it in the shell.
intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
For example ls -lt |more
I need ^C^X to quite
Subject: Re: ctl C/ctl X
On Wed, Jun 30, 2021 at 05:23:54PM +0200, Patrick Dupre wrote:
Before fc34 (i.e. in fc32), I used to used ctlC to interrupt any sort of process. In fc34, to have the same result, I need to do ctlC ctlX How can I avoid to have to make this double command?
Not sure how this happened, Control-c should continue to send SIGINT.
What is the output of 'stty -a' on your terminal? It should have 'intr = ^C' in the output.
Typically in bash, Ctrl-X is a sequence used before another keypress, for example, C-x C-v prints out bash version information, C-x C-x jumps to the beginning and back to the original cursor location after repeated presses.
FWIW, Control-c sends the SIGINT when I use it in the shell.
-- Jonathan Billings billings@negate.org _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Wed, Jun 30, 2021, at 9:06 AM, Tom Horsley wrote:
On Wed, 30 Jun 2021 17:56:24 +0200 Patrick Dupre wrote:
For example ls -lt |more
Looks like something "more" is doing. Try this:
sleep 500 ^C
I am on F33 (so not an F34 issue) with Xfce4 and I see the same as Patrick does for the `more` example but I don't know that Ctrl-c would have ever worked there. My fingers seem to remember to use "q" to quit and that does work as expected.
To: users@lists.fedoraproject.org Subject: Re: ctl C/ctl X
On Wed, 30 Jun 2021 17:56:24 +0200 Patrick Dupre wrote:
For example ls -lt |more
Looks like something "more" is doing. Try this:
sleep 500 ^C _______________________________________________
OK, I can quite properly with ^C in this case
On Wed, Jun 30, 2021, at 9:06 AM, Tom Horsley wrote:
On Wed, 30 Jun 2021 17:56:24 +0200 Patrick Dupre wrote:
For example ls -lt |more
Looks like something "more" is doing. Try this:
sleep 500 ^C
I am on F33 (so not an F34 issue) with Xfce4 and I see the same as Patrick does for the `more` example but I don't know that Ctrl-c would have ever worked there. My fingers seem to remember to use "q" to quit and that does work as expected.
OK, it works fine when dialing q Never did that way before
On Wed, 2021-06-30 at 12:06 -0400, Tom Horsley wrote:
Looks like something "more" is doing.
Plenty of other things will ignore CTRL C, such as reading man pages.
The CTRL C abort sequence is more to do with aborting the running of scripts, and the like. I'm not sure that more, less, vi, and other such things, should be expected to abort with a CTRL C command.
On 6/30/21 11:26 AM, Tim via users wrote:
The CTRL C abort sequence is more to do with aborting the running of scripts, and the like. I'm not sure that more, less, vi, and other such things, should be expected to abort with a CTRL C command.
I don't know about vi, as I never use it, but nano uses it for Cursor Position, whatever that means.