Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93601

Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time?

From Tony the Tiger <tony@tiger.invalid>
Subject Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time?
Newsgroups comp.lang.python
References <55904328$0$1636$c3e8da3$5496439d@news.astraweb.com>
Message-ID <tsAnx.3609$JE3.2939@fx44.am4> (permalink)
Organization Easynews - www.easynews.com
Date 2015-07-09 20:03 +0000

Show all headers | View raw


On Mon, 29 Jun 2015 04:55:37 +1000, Steven D'Aprano wrote:

> readline.parse_and_bind('tab: "raise"')

According to this:

    https://docs.python.org/2/library/readline.html

... there shouldn't be any "" within the ''s.

Can you trap the Ctrl key at all?

Is 'Control-tab' the correct name? Python is case sensitive.


 /Grrr
-- 
          ___                  ___
 (\_--_/)  | _ ._    _|_|_  _   |o _  _ ._
 ( 9  9 )  |(_)| |\/  |_| |(/_  ||(_|(/_|
 stripes are forever - as overripe ferrets

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Readline -- cannot bind to both Ctrl-tab and tab at the same time? Steven D'Aprano <steve@pearwood.info> - 2015-06-29 04:55 +1000
  Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Laura Creighton <lac@openend.se> - 2015-06-28 23:22 +0200
  Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Chris Angelico <rosuav@gmail.com> - 2015-06-29 11:36 +1000
  Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Tony the Tiger <tony@tiger.invalid> - 2015-07-09 20:03 +0000
    Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Marko Rauhamaa <marko@pacujo.net> - 2015-07-09 23:42 +0300
      Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Michael Torrie <torriem@gmail.com> - 2015-07-09 22:56 -0600

csiph-web