Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.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.023 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python.': 0.04; 'python': 0.08; '"copyright",': 0.16; '"credits"': 0.16; '"license"': 0.16; '[gcc': 0.16; 'disabled.': 0.16; "isn't.": 0.16; 'linux2': 0.16; 'nick': 0.16; 'roy': 0.16; 'termcap': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; '>>>': 0.18; 'pointed': 0.21; 'maybe': 0.21; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'somebody': 0.28; 'variable': 0.28; 'url:mailman': 0.28; '(even': 0.29; 'cc:addr:python.org': 0.29; 'environment': 0.30; 'btw,': 0.30; 'source': 0.31; "i'll": 0.31; 'thu,': 0.32; 'url:listinfo': 0.32; 'idea': 0.32; "can't": 0.32; 'it.': 0.34; 'setting': 0.34; 'something': 0.35; 'install': 0.35; 'url:python': 0.36; 'cc:2**1': 0.36; 'two': 0.37; 'but': 0.37; 'another': 0.37; 'think': 0.37; 'using': 0.38; 'steven': 0.38; 'received:org': 0.38; 'url:org': 0.39; 'more': 0.61; 'type': 0.61; '2011': 0.61; 'your': 0.61; 'imagine': 0.71; 'reply-to:no real name:2**0': 0.72; 'header :Reply-to:1': 0.84; '-0500,': 0.84; '4.2.1': 0.84; 'yours': 0.85; 'support:': 0.91; 'things:': 0.91 X-Quarantine-ID: <3ErOXvNiqV2t> X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Cc" To: Steven D'Aprano From: Nick Dokos Subject: Re: Disable readline In-Reply-To: Message from Steven D'Aprano of "01 Dec 2011 06:42:19 GMT." <4ed721cb$0$29986$c3e8da3$5496439d@news.astraweb.com> References: <4ed6ffed$0$29986$c3e8da3$5496439d@news.astraweb.com> <4ed721cb$0$29986$c3e8da3$5496439d@news.astraweb.com> Organization: HPCS X-Mailer: MH-E 8.3; nmh 1.3; GNU Emacs 24.0.90 Date: Thu, 01 Dec 2011 09:30:11 -0500 Sender: nick@dokosmarshall.org Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: nicholas.dokos@hp.com 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: 62 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322750221 news.xs4all.nl 6961 [2001:888:2000:d::a6]:58561 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16498 Steven D'Aprano wrote: > On Thu, 01 Dec 2011 00:00:52 -0500, Roy Smith wrote: > > > Another possibility is setting your TERM environment variable to > > something that readline can't support: > > > > ~$ TERM=asr33 > > ~$ python > > Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. > > build 5646)] on darwin Type "help", "copyright", "credits" or "license" > > for more information. Cannot read termcap database; > > using dumb terminal settings. > > Cannot read termcap database; > > using dumb terminal settings. > > Cannot read termcap database; > > using dumb terminal settings. > > > Damn, my python is smarter than your python. > > steve@runes:~$ TERM=asr33 > steve@runes:~$ python > Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) > [GCC 4.4.5] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> > > And readline continues to work :/ > Two things: o Is TERM exported? Maybe Roy's is and yours isn't. o Is asr33 in your termcap database? Try export TERM=dumb perhaps? Nick > > I think I'll install from source a build with readline disabled. > > > > BTW, readline is the coolest, awesomist, most frabjulously gnarly thing > > to be invented since the pointed stick. The idea that somebody would > > want to turn it off (even for testing) disturbs me deeply. > > I know! I don't use more than about 1% of what readline offers, but I > can't imagine not using it. > > > > -- > Steven > -- > http://mail.python.org/mailman/listinfo/python-list >