Post details: Soon there'll be no more pining for ^C!

7 February, 2008

Permalink 01:55 UTC, by Joe Peterson Email , 167 words, 552 views   English (US)
Categories: Gentoo

Soon there'll be no more pining for ^C!

For those of you who read my previous blog entry on this subject, you'll be happy to know that you won't have to wait much longer for a better Linux terminal experience. That's right, my patches (sorry, more than a one-line change) to the Linux kernel were merged today by Linus, bringing "Real ctrl-C echo" (tm) to a console (or xterm!) near you.

Now, when you interrupt a program, you'll be able to revel in that confirmation that YOU interrupted the process:

^C

Yay! And it doesn't stop there, you'll see ^Z too (or whatever ctrl character you may have assigned to "susp" in stty).

Beyond that, "stty ixany" was basically broken, eating the character that resumed the output as well as not honoring ^C and the unusual ^\ ("quit"). You'll soon enjoy a more compliant (i.e. in-line with other Unixes) behavior here too.

I'm not sure which kernel version will bring these new and exciting capabilities, but rest assured, you will see these revolutionary enhancements soon.

Trackback address for this post:

http://planet.gentoo.org/developers/htsrv/trackback.php/1468

Comments, Trackbacks:

Comment from: Josh Saddler [Member] Email · http://dev.gentoo.org/~nightmorph
Shweet. :)
PermalinkPermalink 7 February, 2008 @ 09:34

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Joe Peterson

July 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 119

powered by
b2evolution