Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Obnoxious postings from Google Groups
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kushal Kumaran  
View profile  
 More options Nov 7 2012, 4:38 am
Newsgroups: comp.lang.python
From: Kushal Kumaran <kushal.kumaran+pyt...@gmail.com>
Date: Wed, 07 Nov 2012 15:08:06 +0530
Local: Wed, Nov 7 2012 4:38 am
Subject: RE: Obnoxious postings from Google Groups

"Prasad, Ramit" <ramit.pra...@jpmorgan.com> writes:
> Steven D'Aprano wrote:

>> On Tue, 06 Nov 2012 17:16:44 +0000, Prasad, Ramit wrote:

>> >> To enter the newline, I typed Ctrl-Q to tell bash to treat the next
>> >> character as a literal, and then typed Ctrl-J to get a newline.

>> > That sounds complicated, my version of bash lets me type
>> > 'foo<enter>bar'<enter> for the same effect.

>> Well, I learned something new about bash.

>> On the other hand, the Ctrl-Q next-char-is-literal trick works for
>> entering control characters that otherwise don't have a key on the
>> keyboard.

> Would you mind elaborating on how this works? I know it's not a bash
> list, but I do not understand how ctrl-J is considered a literal.
> Obviously, I must have a different definition of "literal". Where
> can I find a list of other literals? My Google-fu is being weak
> today. :(

It's a readline thing, when you've configured it to use emacs
keybindings.  You can look at the emacs manual about the quoted-insert
function if you want.  It's useful in emacs because people like to bind
ordinary keystrokes to do esoteric stuff (such as binding the TAB key to
insert appropriate amount of spaces), which means that you need a way to
override it (if you want to insert a literal TAB character, for
example).

--
regards,
kushal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.