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


Groups > comp.lang.python > #57204

Re: What's wrong with Windows Command Prompt (was Re: Error Testing)

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'insert': 0.05; 'interpreter': 0.05; 'subject:Error': 0.07; 'suppose': 0.07; 'filenames': 0.09; 'prefix': 0.09; 'subset': 0.09; 'typed': 0.09; 'mostly': 0.14; 'windows': 0.15; '(other': 0.16; '-tkc': 0.16; 'adjacent': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'interpreter,': 0.16; 'one)': 0.16; 'subject: \n ': 0.16; 'followed': 0.16; 'wrote:': 0.18; "python's": 0.19; 'typing': 0.19; 'command': 0.22; 'library,': 0.24; 'header:In-Reply-To:1': 0.27; 'rest': 0.29; 'character': 0.29; 'words': 0.29; 'matching': 0.30; 'relative': 0.30; 'specified': 0.30; 'skip:( 20': 0.30; "i'm": 0.30; 'lines': 0.31; 'linux': 0.33; 'comment': 0.34; 'subject: (': 0.35; 'subject:with': 0.35; 'offered': 0.35; 'version': 0.36; 'curious': 0.36; 'executing': 0.36; 'charset:us- ascii': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'previous': 0.38; 'ability': 0.39; 'to:addr:python.org': 0.39; 'first': 0.61; 'power': 0.76; 'received:50.22': 0.84; 'subject:Testing': 0.84; 'clearing': 0.91
Date Mon, 21 Oct 2013 15:29:43 -0500
From Tim Chase <python.list@tim.thechases.com>
To python-list@python.org
Subject Re: What's wrong with Windows Command Prompt (was Re: Error Testing)
In-Reply-To <CAF3Xjbydc0UFGCa-4VAS+azRuUNK8nHegWeeLQjHaiXoqaQG1g@mail.gmail.com>
References <33549834-2f27-47f3-abea-eb3486909dec@googlegroups.com> <CAPTjJmpOHZchuoCeknTaywb+bz2NjYJNNVKF93Eg4+h42tjcMw@mail.gmail.com> <CAF3XjbxnFV31Sq31B=Hyrh8EseQWn3wXZu7n5BPbuaPaWcaTmA@mail.gmail.com> <20131019133119.4109918c@bigbox.christie.dr> <l3uqer$pi4$1@ger.gmane.org> <CAF3Xjbydc0UFGCa-4VAS+azRuUNK8nHegWeeLQjHaiXoqaQG1g@mail.gmail.com>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Get-Message-Sender-Via boston.accountservergroup.com: none
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1320.1382387285.18130.python-list@python.org> (permalink)
Lines 43
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1382387285 news.xs4all.nl 16003 [2001:888:2000:d::a6]:58490
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:57204

Show key headers only | View raw


On 2013-10-21 15:55, David Robinow wrote:
> I wasn't aware that the interactive interpreter on Linux had
> features that the Windows version didn't. I'm curious what those
> features might be.

It's mostly the benefits that come from being built with the readline
library, meaning you get

- command history (Win32 offers this, the rest not AFAIK)

- command-history searchability (control+R)

- the ability to pull down things from previous lines (alt+period in
  particular)

- the ability to comment out the currently typed command without
  executing it (alt+octothorpe)

- the ability to prefix text/commands with a count
  (alt+number_of_times followed by the character/command)

- the ability to insert matching filenames (alt+asterisk after typing
  path relative to the $CWD)

- clearing to the start/end of line (control+U/control+K)

- the ability to paste content (control+Y) previously-cut by ^U/^K

- the ability to transpose adjacent words (alt+T)

- the ability to jump forward/backward to a specified character
  (control+] and control+alt+] followed by the target char) like f/F
  in vi/vim

Those are just a subset of the power offered by readline when built
into Python's interpreter, none of which work (other than that first
one) on Win32's cmd.exe (or, I suppose command.com).

-tkc



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


Thread

Error Testing Scott Novinger <scnovinger@gmail.com> - 2013-10-19 05:23 -0700
  Re: Error Testing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-19 13:37 +0100
    Re: Error Testing Scott Novinger <scnovinger@gmail.com> - 2013-10-19 06:34 -0700
      Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 00:42 +1100
      Re: Error Testing rusi <rustompmody@gmail.com> - 2013-10-19 09:22 -0700
        Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 09:28 +1100
        Re: Error Testing Ned Deily <nad@acm.org> - 2013-10-19 15:46 -0700
        Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 10:02 +1100
        Re: Error Testing Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-20 12:18 -0400
  Re: Error Testing Ned Batchelder <ned@nedbatchelder.com> - 2013-10-19 08:44 -0400
    Re: Error Testing Roy Smith <roy@panix.com> - 2013-10-19 08:57 -0400
      Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 00:04 +1100
      Re: Error Testing Ned Batchelder <ned@nedbatchelder.com> - 2013-10-19 09:07 -0400
        Re: Error Testing Roy Smith <roy@panix.com> - 2013-10-19 09:09 -0400
      Re: Error Testing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-19 14:19 +0100
  Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 00:01 +1100
  Re: Error Testing David Robinow <drobinow@gmail.com> - 2013-10-19 14:08 -0400
  Re: Error Testing Tim Chase <tim@thechases.com> - 2013-10-19 13:31 -0500
  Re: Error Testing Terry Reedy <tjreedy@udel.edu> - 2013-10-19 15:50 -0400
  What's wrong with Windows Command Prompt (was Re: Error Testing) Terry Reedy <tjreedy@udel.edu> - 2013-10-19 16:35 -0400
  Re: What's wrong with Windows Command Prompt (was Re: Error Testing) Chris Angelico <rosuav@gmail.com> - 2013-10-20 09:15 +1100
  Re: Error Testing Chris Angelico <rosuav@gmail.com> - 2013-10-20 09:20 +1100
  Re: What's wrong with Windows Command Prompt (was Re: Error Testing) David Robinow <drobinow@gmail.com> - 2013-10-21 15:55 -0400
  Re: What's wrong with Windows Command Prompt (was Re: Error Testing) Tim Chase <python.list@tim.thechases.com> - 2013-10-21 15:29 -0500

csiph-web