Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'escape': 0.07; 'subject:both': 0.07; 'subject:same': 0.07; 'received:internal': 0.09; 'tab': 0.09; 'whichever': 0.09; 'bind': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:10.202.2.44': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:compute4.internal': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'wrote:': 0.16; 'first.': 0.18; 'trying': 0.22; 'seems': 0.24; 'second': 0.24; 'install': 0.25; '(e.g.': 0.27; 'sequence': 0.27; 'subject: -- ': 0.27; "i'm": 0.29; 'enabled': 0.29; 'readline': 0.29; 'subject:time': 0.31; 'option': 0.31; "d'aprano": 0.33; 'steven': 0.33; 'subject:?': 0.34; 'to:addr:python-list': 0.35; 'but': 0.36; 'received:10': 0.37; 'subject:: ': 0.37; 'received:66': 0.38; 'whatever': 0.39; 'to:addr:python.org': 0.39; 'subject:-': 0.39; 'subject:the': 0.40; 'some': 0.40; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.62; 'binding': 0.66; 'special': 0.72 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=tmN 68naKBjiq9Co7JLSh4Ozy2T8=; b=AzsuvPzDPLE+WzkDhEYspC5UXQtH2VhrwcH kU/Yw/0zck4rywk+1GFGn2ml0C2rNUFJ5DmX9zUSj646lHh+MaPhzldpwCpygx7j 56DBYFr/QFM1YHGHiBTYqDK3x4lYg7EIH9TVlGyVMJgayAQiuQPdWgucXdGJLd/t 5pME5iUE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=tmN68naKBjiq9Co7JLSh4Ozy2T8=; b=fiQGa S4lMzieKMpLOKwFfrJdLswefNBTIJBoPaylgWpP2jBuaMkq3N3KyQd7SkXbbtvML z11jRENCAMHwsR515PsNoC33OH7SHoyAePP6xIV2e5C0gg6l0kz3t+1T1wcTNUwP r+q+ewZrv7e+7lJWo8XZAMBxdh79oqmFFd1rf8= X-Sasl-Enc: Vs+4WewVHB2qLMqWLq5lc0vdOtigAUPs6fSkW+682YN1 1435536856 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-eecef38c Subject: Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Date: Sun, 28 Jun 2015 20:14:16 -0400 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435536859 news.xs4all.nl 2898 [2001:888:2000:d::a6]:34862 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93278 On Sun, Jun 28, 2015, at 14:55, Steven D'Aprano wrote: > I'm trying to use a readline binding for both TAB and Ctrl-TAB, but it's > not > working for me. Whichever I install second seems to over-ride the first. Can you bind it directly to whatever escape sequence ctrl-tab produces? Some terminals may not be able to generate an escape sequence for ctrl-tab, or may require a special option to be enabled (e.g. modifyOtherKeys for xterm).