Re: are there some special about '\x1a' symbol

2009-01-16 Thread Matthew Woodcraft
Steve Holden st...@holdenweb.com writes: Unknown wrote: On 2009-01-12, John Machin sjmac...@lexicon.net wrote: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sectors, forcing the use of an in-band EOF marker for text files (b) MS

Re: [OT] Re: are there some special about '\x1a' symbol

2009-01-14 Thread Gabriel Genellina
En Tue, 13 Jan 2009 22:04:33 -0200, Terry Reedy tjre...@udel.edu escribió: Gabriel Genellina wrote: En Mon, 12 Jan 2009 12:00:16 -0200, John Machin sjmac...@lexicon.net escribió: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte

Re: are there some special about '\x1a' symbol

2009-01-14 Thread Hendrik van Rooyen
Steve Holden stevenweb.com wrote: Unknown wrote: On 2009-01-12, John Machin sjmac...@lexicon.net wrote: I believe that feature was inherited by CP/M from DEC OSes (RSX-11 or RSTS-11). AFAICT, all of CP/M's file I/O API (including the FCB) was lifted almost directly from DEC's

Re: are there some special about '\x1a' symbol

2009-01-14 Thread Grant Edwards
On 2009-01-14, Steve Holden st...@holdenweb.com wrote: Unknown wrote: On 2009-01-12, John Machin sjmac...@lexicon.net wrote: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sectors, forcing the use of an in-band EOF marker for text

Re: [OT] Re: are there some special about '\x1a' symbol

2009-01-14 Thread Grant Edwards
On 2009-01-14, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Tue, 13 Jan 2009 22:04:33 -0200, Terry Reedy tjre...@udel.edu escribió: Gabriel Genellina wrote: En Mon, 12 Jan 2009 12:00:16 -0200, John Machin sjmac...@lexicon.net escribió: I didn't think your question was stupid.

Re: are there some special about '\x1a' symbol

2009-01-14 Thread Mel
Steve Holden wrote: Unknown wrote: On 2009-01-12, John Machin sjmac...@lexicon.net wrote: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sectors, forcing the use of an in-band EOF marker for text files (b) MS continuing to regard Ctrl-Z

Re: are there some special about '\x1a' symbol

2009-01-14 Thread R Fritz
Raps cane on floor. It's probably an end-of-file sentinel because 'Z' is the last letter of the alphabet. I suspect it comes from MIT. Unix, developed at a telephone company, uses \x4, which was, in fact, the ASCII in-band end-of-transmission code and would disconnect a teletype. Does this

Re: are there some special about '\x1a' symbol

2009-01-13 Thread sim.sim
On 12 янв, 16:00, John Machin sjmac...@lexicon.net wrote: On Jan 13, 12:45 am, sim.sim maksim.kasi...@gmail.com wrote: On 10 ÑÎ×, 23:40, John Machin sjmac...@lexicon.net wrote: On Jan 11, 2:45šam, sim.sim maksim.kasi...@gmail.com wrote: Hi all! I had touch with some different

Re: are there some special about '\x1a' symbol

2009-01-13 Thread John Machin
On Jan 13, 10:12 pm, sim.sim maksim.kasi...@gmail.com wrote: Ah John, thank you for your explanations! My first impression was that your comments does not relates to my question, but I've found new things where I used to think there was nothing. Now it is interesting to me how one have to

Re: [OT] Re: are there some special about '\x1a' symbol

2009-01-13 Thread Terry Reedy
Gabriel Genellina wrote: En Mon, 12 Jan 2009 12:00:16 -0200, John Machin sjmac...@lexicon.net escribió: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sectors, forcing the use of an in-band EOF marker for text files (b) MS continuing to

Re: are there some special about '\x1a' symbol

2009-01-13 Thread Grant Edwards
On 2009-01-12, John Machin sjmac...@lexicon.net wrote: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sectors, forcing the use of an in-band EOF marker for text files (b) MS continuing to regard Ctrl-Z as an EOF decades after people

Re: are there some special about '\x1a' symbol

2009-01-13 Thread Steve Holden
Unknown wrote: On 2009-01-12, John Machin sjmac...@lexicon.net wrote: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sectors, forcing the use of an in-band EOF marker for text files (b) MS continuing to regard Ctrl-Z as an EOF decades

Re: are there some special about '\x1a' symbol

2009-01-12 Thread sim.sim
On 10 янв, 23:40, John Machin sjmac...@lexicon.net wrote: On Jan 11, 2:45 am, sim.sim maksim.kasi...@gmail.com wrote: Hi all! I had touch with some different python behavior: I was tried to write into a file a string with the '\x1a' symbol, and for FreeBSD system, it gives expected

Re: are there some special about '\x1a' symbol

2009-01-12 Thread John Machin
On Jan 13, 12:45 am, sim.sim maksim.kasi...@gmail.com wrote: On 10 ÑÎ×, 23:40, John Machin sjmac...@lexicon.net wrote: On Jan 11, 2:45šam, sim.sim maksim.kasi...@gmail.com wrote: Hi all! I had touch with some different python behavior: I was tried to write into a file a string

[OT] Re: are there some special about '\x1a' symbol

2009-01-12 Thread Gabriel Genellina
En Mon, 12 Jan 2009 12:00:16 -0200, John Machin sjmac...@lexicon.net escribió: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sectors, forcing the use of an in-band EOF marker for text files (b) MS continuing to regard Ctrl-Z as an EOF

are there some special about '\x1a' symbol

2009-01-10 Thread sim.sim
Hi all! I had touch with some different python behavior: I was tried to write into a file a string with the '\x1a' symbol, and for FreeBSD system, it gives expected result: open(test, w).write('before\x1aafter') open('test').read() 'before\x1aafter' but for my WinXP box, it gives some

Re: are there some special about '\x1a' symbol

2009-01-10 Thread Marc 'BlackJack' Rintsch
On Sat, 10 Jan 2009 07:45:53 -0800, sim.sim wrote: I had touch with some different python behavior: I was tried to write into a file a string with the '\x1a' symbol, and for FreeBSD system, it gives expected result: open(test, w).write('before\x1aafter') open('test').read()

Re: are there some special about '\x1a' symbol

2009-01-10 Thread Mel
sim.sim wrote: Hi all! I had touch with some different python behavior: I was tried to write into a file a string with the '\x1a' symbol, and for FreeBSD system, it gives expected result: open(test, w).write('before\x1aafter') open('test').read() 'before\x1aafter' but for my WinXP

Re: are there some special about '\x1a' symbol

2009-01-10 Thread John Machin
On Jan 11, 2:45 am, sim.sim maksim.kasi...@gmail.com wrote: Hi all! I had touch with some different python behavior: I was tried to write into a file a string with the '\x1a' symbol, and for FreeBSD system, it gives expected result: open(test, w).write('before\x1aafter')