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


Groups > comp.lang.python > #39923

Re: Shebang line on Windows?

Date 2013-02-25 21:23 -0500
From Dave Angel <davea@davea.name>
Subject Re: Shebang line on Windows?
References (5 earlier) <512B63BC.6090600@davea.name> <512B9CF4.3070604@gmail.com> <mailman.2512.1361814005.2939.python-list@python.org> <512c0749$0$29998$c3e8da3$5496439d@news.astraweb.com> <512C1908.5050507@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2528.1361845466.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 02/25/2013 09:08 PM, Michael Torrie wrote:
>   <snip>
> This is a reminder to me how much we Linux users look at Windows as a
> quaint anomaly with it's apparently backwards ways of doing things (like
> backslash directory separators, like CP/M did),

Actually the reason MSDOS used backslash was because it had already used 
the forward slash for a switch-character.  Then for version 2, with hard 
disks being supported for the first time, they used the backslash 
instead.  At the time I talked them into supporting a "switchchar" call 
to change to using the dash for switch character, and slash for 
subdirectories.

But the idea was never publicized, so it never caught on.  And future 
versions of utilities generally paid no attention to the value of 
switchchar.

By the time Windows split off from MSDOS (NT 3.1), the support in the OS 
for both slash and backslash was well established.  But the utilities 
never grew up.

Yes, using the slash as a switch-character was inherited from CP/M, 
through QDOS, then MSDOS.


On some of the old teletypes, if the data was coming in fast enough, you 
could see the first character of the next line printed before the typing 
element reached the left margin.  So newline was then spelled CR/LF/NULL 
  or even  CR/LF/NULL/NULL

Buffering?  What's that?

-- 
DaveA

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


Thread

Shebang line on Windows? Walter Hurry <walterhurry@lavabit.com> - 2013-02-22 18:16 +0000
  Re: Shebang line on Windows? Dave Angel <davea@davea.name> - 2013-02-22 13:40 -0500
  Re: Shebang line on Windows? Zachary Ware <zachary.ware+pylist@gmail.com> - 2013-02-22 12:40 -0600
    Re: Shebang line on Windows? James Harris <james.harris.1@gmail.com> - 2013-02-22 14:53 -0800
      Re: Shebang line on Windows? MRAB <python@mrabarnett.plus.com> - 2013-02-22 23:21 +0000
      RE: Shebang line on Windows? "Sells, Fred" <fred.sells@adventistcare.org> - 2013-02-25 12:35 +0000
      Re: Shebang line on Windows? Dave Angel <davea@davea.name> - 2013-02-25 08:14 -0500
      Re: Shebang line on Windows? Chris Gonnerman <chris@gonnerman.org> - 2013-02-25 07:28 -0600
      Re: Shebang line on Windows? Chris Angelico <rosuav@gmail.com> - 2013-02-26 00:54 +1100
      Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 10:18 -0700
        Re: Shebang line on Windows? Anssi Saari <as@sci.fi> - 2013-02-26 16:30 +0200
      Re: Shebang line on Windows? "D'Arcy J.M. Cain" <darcy@druid.net> - 2013-02-25 12:29 -0500
        Re: Shebang line on Windows? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-26 00:52 +0000
          Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 19:08 -0700
          Re: Shebang line on Windows? Dave Angel <davea@davea.name> - 2013-02-25 21:23 -0500
          Re: Shebang line on Windows? MRAB <python@mrabarnett.plus.com> - 2013-02-26 03:08 +0000
          Re: Shebang line on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-25 22:44 -0500
      Re: Shebang line on Windows? David Robinow <drobinow@gmail.com> - 2013-02-25 13:19 -0500
      Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 11:29 -0700
      Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 11:33 -0700

csiph-web