Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'character,': 0.07; 'newline': 0.07; 'subject:Windows': 0.09; 'backslash': 0.09; 'backwards': 0.09; 'inherited': 0.09; 'spelled': 0.09; '(like': 0.15; 'publicized,': 0.16; 'slash': 0.16; 'wrote:': 0.17; 'element': 0.17; 'typing': 0.17; 'windows': 0.19; 'versions': 0.20; 'split': 0.23; 'idea': 0.24; 'linux': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'supported': 0.26; 'instead.': 0.27; 'talked': 0.29; 'character': 0.29; 'up.': 0.31; 'generally': 0.32; 'switch': 0.32; 'could': 0.32; 'to:addr:python-list': 0.33; 'version': 0.34; 'doing': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'next': 0.35; 'michael': 0.36; 'but': 0.36; 'supporting': 0.37; 'being': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'first': 0.61; 'time,': 0.62; 'reached': 0.65; 'forward': 0.66; 'received:74.208': 0.71; 'attention': 0.75; 'received:74.208.4.194': 0.84; 'grew': 0.91 Date: Mon, 25 Feb 2013 21:23:58 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Shebang line on Windows? References: <512B63BC.6090600@davea.name> <512B9CF4.3070604@gmail.com> <512c0749$0$29998$c3e8da3$5496439d@news.astraweb.com> <512C1908.5050507@gmail.com> In-Reply-To: <512C1908.5050507@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:Fc+pXHVMl+WX8OaZuBFd8LInaxyq2CNDuHbFDSpmGRN XW4fqlCUx8HLNKC7TwnH7aO7Z6BdsSHzyGoLuFaomNtqkSBwQo PtRWTzYcMnmY2+C25uDJsW/G5i/ULCjjfHEIi8K+7Pcn5Z1OmF iIcdRlyjOeOBX8osLAk9L05iCzyceBmpalhm6zg8NKiQPCtplC SuYmPWAUj4HGDT4yyvMPH0fyTH56DIfRZ4XVq53nFe/tF75LEM 3w5GWrCegpL/Uw6JCy0HHnlGAwpUMqEcBnuUyj0bSZp/1zLyMr 9Q9dd3g9QvZtgTZozDXr7GzPyFYTQkpK4+dm2BWIHHmCKUDzg= = X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361845466 news.xs4all.nl 6853 [2001:888:2000:d::a6]:54253 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39923 On 02/25/2013 09:08 PM, Michael Torrie wrote: > > 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