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


Groups > alt.folklore.computers > #211568

Re: CR or LF?

From J. Clarke <jclarke.873638@gmail.com>
Newsgroups alt.folklore.computers
Subject Re: CR or LF?
Message-ID <i98jcf535slvsvcfnlod7b84s0uvidog7l@4ax.com> (permalink)
References (2 earlier) <c40f7000-bdbb-42c9-bc02-5997f90cf388@googlegroups.com> <576icf94md9shna5jsfc8up63rdkb9paro@4ax.com> <e219bf14-abd0-4787-8cdb-09909f618d6e@googlegroups.com> <rueicf1htibqa6fk68fgmqk30roa5qsesu@4ax.com> <2093984810.611954571.231978.peter_flass-yahoo.com@news.eternal-september.org>
Organization Forte - www.forteinc.com
Date 2020-05-23 18:21 -0400

Show all headers | View raw


On Sat, 23 May 2020 12:27:14 -0700, Peter Flass
<peter_flass@yahoo.com> wrote:

>J. Clarke <jclarke.873638@gmail.com> wrote:
>> On Sat, 23 May 2020 08:02:49 -0700 (PDT), Quadibloc
>> <jsavard@ecn.ab.ca> wrote:
>> 
>>> On Saturday, May 23, 2020 at 6:38:32 AM UTC-6, J. Clarke wrote:
>>>> On Sat, 23 May 2020 03:40:25 -0700 (PDT), Quadibloc
>>>> <jsavard@ecn.ab.ca> wrote:
>>>>> On Friday, April 17, 2020 at 9:40:07 PM UTC-6, Questor wrote:
>>> 
>>>>>> In the days when I
>>>>>> was slinging code on PDP10s, it was common practice for programs to accept CR,
>>>>>> LF, CRLF, VT, FF, and ESC as signifying the end of a user's line of input.
>>>>> 
>>>>> That is so strange. Whatever the operating system may accept as signifying the end 
>>>>> of a user's line of input, by the time that line of input gets to an applications 
>>>>> program, the operating system should signal the end of that line in one and only 
>>>>> one unique way - and so programs would handle exactly that way and no other to 
>>>>> work properly.
>>> 
>>>> Why is that the responsibility of the operating system?  All it is
>>>> obligated to do is furnish bytes until the end of data has been
>>>> reached.  If it starts changing characters it can make a huge mess.
>>> 
>>> The PDP-10 operating system may indeed be more similar to UNIX than it is to 
>>> OS/360, so perhaps my comment was sufficiently unclear as to admit confusion.
>>> 
>>> It is true that under some circumstances, a user program may request characters 
>>> from a device of an appropriate kind, and in such a case, one wouldn't want the 
>>> operating system to change what characters are recieved.
>>> 
>>> However, I was thinking that in the more common case, a user program will 
>>> request *records* from a device. While those records might be delimited by ASCII 
>>> (or EBCDIC) characters if the device was a character mode terminal or a paper-
>>> tape reader, they would _not_ be delimited by any such thing on a magnetic tape 
>>> drive (either inter-record gaps, or the block structure), a punched-card reader, 
>>> *or* a disk drive (because the disk files wouldn't look like what they do in 
>>> UNIX - records on the disk would look like Pascal strings do, and they also 
>>> might be in an ISAM file structure).
>>> 
>>> And then there are block mode terminals. Some ASCII ones do fake behaving like 
>>> ASCII character-mode terminals, because that's what the things they're connected 
>>> to are used to. The 3277 display station, for example, doesn't do stuff like 
>>> that.
>> 
>> If the convention is that there are 20 different characters any of
>> which can be used as end-of-record, again it is not the operating
>> system's responsibility to change them.  If I write a program that
>> generates records with some specific character as end of record and
>> the operating system changes that then when my program tries to read
>> its own records that it generated it breaks.
>> 
>> See the problem?
>> 
>
>Systems, including AFAIK Unix and Multics have the ability to return a
>record “as is” or what Multics calls “canonical” format. For example, if
>the user types “abd<bs>c” do you want to see five characters or three?

What am "I"?  If I am APL I want two characters separated by a
backspace to be mapped to an overstruck APL character if there is one
that matches that combination, for example.

Back to alt.folklore.computers | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

CR or LF? Gareth Evans <headstone255@yahoo.com> - 2020-04-12 11:59 +0100
  Re: CR or LF? John Levine <johnl@taugh.com> - 2020-04-12 20:35 +0000
    Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-04-12 16:52 -0400
      Re: CR or LF? John Levine <johnl@taugh.com> - 2020-04-13 22:16 +0000
    Re: CR or LF? Gareth Evans <headstone255@yahoo.com> - 2020-04-12 22:48 +0100
    Re: CR or LF? Mike Spencer <mds@bogus.nodomain.nowhere> - 2020-04-12 19:44 -0300
    Re: CR or LF? Douglas Miller <durgadas311@gmail.com> - 2020-04-12 16:38 -0700
      Re: CR or LF? John Levine <johnl@taugh.com> - 2020-04-13 19:03 +0000
        Re: CR or LF? Douglas Miller <durgadas311@gmail.com> - 2020-04-13 14:12 -0700
          Re: CR or LF? John Levine <johnl@taugh.com> - 2020-04-13 22:30 +0000
            Re: CR or LF? Douglas Miller <durgadas311@gmail.com> - 2020-04-13 16:00 -0700
        Re: CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-04-13 21:22 +0000
          Re: CR or LF? Thomas Koenig <tkoenig@netcologne.de> - 2020-04-14 09:40 +0000
        Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-04-13 17:56 -0700
    Re: CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-04-13 03:32 +0000
    Re: CR or LF? "Carlos E.R." <robin_listas@es.invalid> - 2020-04-14 05:26 +0200
  Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-04-12 22:11 -0700
    Re: CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-04-13 17:15 +0000
    Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-04-13 16:40 -0700
      Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-04-13 17:29 -0700
        Re: CR or LF? Douglas Miller <durgadas311@gmail.com> - 2020-04-13 18:18 -0700
          Re: CR or LF? Niklas Karlsson <anksil@yahoo.se> - 2020-04-16 13:40 +0000
            Re: CR or LF? maus <maus@dmaus.org> - 2020-04-17 11:00 +0000
              Re: CR or LF? Niklas Karlsson <anksil@yahoo.se> - 2020-04-18 09:56 +0000
        Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-04-13 21:37 -0400
          Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-04-14 14:51 -0700
        Re: CR or LF? Bob Eager <news0073@eager.cx> - 2020-04-14 07:45 +0000
          Re: CR or LF? Gareth Evans <headstone255@yahoo.com> - 2020-04-14 11:38 +0100
            Re: CR or LF? "Carlos E.R." <robin_listas@es.invalid> - 2020-04-14 15:28 +0200
            Re: CR or LF? nobody@example.org (Scott) - 2020-04-14 15:27 +0000
              Re: CR or LF? Gareth Evans <headstone255@yahoo.com> - 2020-04-14 17:37 +0100
                Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-04-14 15:00 -0700
                Re: CR or LF? fred_weigel@hotmail.com - 2020-05-22 17:09 -0700
                Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-23 03:37 -0700
                Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-23 08:36 -0400
                Re: CR or LF? robin.vowels@gmail.com - 2020-05-23 05:38 -0700
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-05-23 08:58 -0400
                Re: base64, not really CR or LF? John Levine <johnl@taugh.com> - 2020-05-23 18:42 +0000
                Re: CR or LF? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-05-23 19:28 +0000
                Re: CR or LF? Bob Eager <news0073@eager.cx> - 2020-05-23 20:27 +0000
                Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-05-23 14:30 -0700
                Re: CR or LF? "Kerr-Mudd,John" <notsaying@invalid.org> - 2020-05-24 10:21 +0000
                Re: CR or LF? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-05-24 06:06 +0000
                Re: CR or LF? Bob Eager <news0073@eager.cx> - 2020-05-24 10:45 +0000
                Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-24 07:03 -0700
                Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-24 10:43 -0400
                Re: CR or LF? Jan van den Broek <fortytwo@xs4all.nl> - 2020-06-05 22:22 +0100
            Re: CR or LF? Mike Spencer <mds@bogus.nodomain.nowhere> - 2020-04-14 17:49 -0300
          Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-04-14 06:29 -0700
            Re: CR or LF? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-04-18 08:42 +0100
              Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-04-18 11:33 -0700
                Re: CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-04-18 19:11 +0000
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-04-18 18:32 -0400
                Re: CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-04-19 01:55 +0000
                Re: CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-04-18 20:03 +0000
                Re: CR or LF? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-04-18 22:44 +0100
                Re: CR or LF? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-04-19 08:46 +0000
                Re: CR or LF? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-04-19 10:58 +0100
                Re: CR or LF? John Levine <johnl@taugh.com> - 2020-04-18 22:22 +0000
                Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-04-18 18:55 -0400
                re: CRLF Peter Flass <peter_flass@yahoo.com> - 2020-04-18 18:03 -0700
                Re: CR or LF? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-04-19 08:55 +0000
                Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-04-19 08:16 -0400
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-04-19 09:19 -0400
                Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-04-19 10:24 -0400
                Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-04-19 10:47 -0700
                Re: CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-04-20 16:02 +0000
                Re: CR or LF? Jan van den Broek <fortytwo@xs4all.nl> - 2020-05-05 16:32 +0100
                Re: CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-04-19 14:54 +0000
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-04-19 12:19 -0400
                Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-04-19 10:47 -0700
                Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-04-19 09:26 -0700
                Re: CR or LF? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2020-04-20 17:40 +0800
                Re: CR or LF? Fred Smith <fred@thejanitor.corp> - 2020-04-20 23:05 +0000
                Re: CR or LF? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-04-21 06:07 +0000
                Re: CR or LF? Rich Alderson <news@alderson.users.panix.com> - 2020-04-22 15:08 -0400
                Re: CR or LF? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-04-22 20:22 +0000
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-04-22 19:40 -0400
                Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-04-22 23:23 -0700
                Re: CR or LF? robin.vowels@gmail.com - 2020-04-23 03:01 -0700
                Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-04-19 10:47 -0700
    Re: CR or LF? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-04-13 19:54 +0100
    Re: CR or LF? hancock4@bbs.cpcn.com - 2020-08-22 11:18 -0700
  Re: CR or LF? "Carlos E.R." <robin_listas@es.invalid> - 2020-04-14 05:24 +0200
    Re: CR or LF? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-04-18 08:44 +0100
      Re: CR or LF? "Carlos E.R." <robin_listas@es.invalid> - 2020-04-18 12:08 +0200
        Re: CR or LF? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-04-18 12:02 +0100
          Re: CR or LF? "Carlos E.R." <robin_listas@es.invalid> - 2020-04-18 21:50 +0200
  Re: CR or LF? usenet@only.tnx (Questor) - 2020-04-18 03:40 +0000
    Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-23 03:40 -0700
      Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-23 08:38 -0400
        Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-23 08:02 -0700
          Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-23 11:07 -0400
            Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-23 11:27 -0700
            Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-05-23 12:27 -0700
              Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-23 18:21 -0400
          Re: CR or LF? John Levine <johnl@taugh.com> - 2020-05-23 20:10 +0000
            Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-24 08:32 -0700
              Re: CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-05-24 16:25 +0000
                Re: CR or LF? John Levine <johnl@taugh.com> - 2020-05-24 18:29 +0000
                Re: CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-05-25 02:00 +0000
                Re: CR or LF? John Levine <johnl@taugh.com> - 2020-05-25 16:28 +0000
                Re: CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-05-26 14:06 +0000
                Re: CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-05-26 15:14 +0000
                Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-05-25 10:55 -0700
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-05-25 15:04 -0400
                Re: CR or LF? robin.vowels@gmail.com - 2020-05-24 21:32 -0700
                Re: CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-05-25 15:44 +0000
                Re: mainframe I/O, was CR or LF? John Levine <johnl@taugh.com> - 2020-05-25 16:32 +0000
                Re: mainframe I/O, was CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-05-26 00:39 +0000
                Re: mainframe I/O, was CR or LF? antispam@math.uni.wroc.pl - 2020-05-31 00:21 +0000
                Re: mainframe I/O, was CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-30 21:59 -0400
                Re: mainframe I/O, was CR or LF? David Wade <g4ugm@dave.invalid> - 2020-05-31 09:30 +0100
                Re: mainframe I/O, was CR or LF? antispam@math.uni.wroc.pl - 2020-05-31 15:48 +0000
                Re: mainframe I/O, was CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-05-31 13:49 -0700
                Re: mainframe I/O, was CR or LF? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-06-01 16:28 +0000
                Re: mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-01 18:48 +0000
                Re: mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-01 16:27 +0000
                Re: mainframe I/O, was CR or LF? usenet@only.tnx (Questor) - 2020-06-02 19:12 +0000
                Re: mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-02 20:28 +0000
                Re: mainframe I/O, was CR or LF? David Wade <g4ugm@dave.invalid> - 2020-06-03 09:13 +0100
                Re: mainframe I/O, was CR or LF? Fred Smith <fred@thejanitor.corp> - 2020-06-03 08:33 +0000
                Re: mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-03 16:20 +0000
                Re: mainframe I/O, was CR or LF? usenet@only.tnx (Questor) - 2020-06-03 18:25 +0000
                Re: mainframe I/O, was CR or LF? Rich Alderson <news@alderson.users.panix.com> - 2020-06-03 17:20 -0400
                Re: mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-04 15:20 +0000
                Re: mainframe I/O, was CR or LF? John Levine <johnl@taugh.com> - 2020-06-04 19:51 +0000
                Re: mainframe I/O, was CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-06-04 16:26 -0700
                Re: mainframe I/O, was CR or LF? usenet@only.tnx (Questor) - 2020-06-05 18:46 +0000
                Re: mainframe I/O, was CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-06-05 12:26 -0700
                Re: mainframe I/O, was CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-06-05 13:28 -0700
                Re: mainframe I/O, was CR or LF? David Lesher <wb8foz@panix.com> - 2020-06-08 01:03 +0000
                Re: PDP-11s, was mainframe I/O, was CR or LF? John Levine <johnl@taugh.com> - 2020-06-06 00:08 +0000
                Re: mainframe I/O, was CR or LF? usenet@only.tnx (Questor) - 2020-06-04 17:41 +0000
                Re: mainframe I/O, was CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-06-04 16:26 -0700
                Re: mainframe I/O, was CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-06-04 17:04 -0700
                Re: mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-04 15:18 +0000
                Re: memory sizes, mainframe I/O, was CR or LF? John Levine <johnl@taugh.com> - 2020-06-04 20:53 +0000
                Re: memory sizes, mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-04 22:22 +0000
                Re: memory sizes, mainframe I/O, was CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-06-04 19:27 -0400
                Re: memory sizes, mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-05 16:10 +0000
                Re: memory sizes, mainframe I/O, was CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-06-05 10:03 -0700
                Re: memory sizes, mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-05 20:29 +0000
                Re: memory sizes, mainframe I/O, was CR or LF? usenet@only.tnx (Questor) - 2020-06-05 18:47 +0000
                Re: mainframe I/O, was CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-06-04 16:26 -0700
                Re: mainframe I/O, was CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-06-01 16:32 +0000
                Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-05-25 10:55 -0700
                Re: CR or LF? Anne & Lynn Wheeler <lynn@garlic.com> - 2020-05-25 15:04 -1000
                Re: CR or LF? Peter Flass <peter_flass@yahoo.com> - 2020-05-26 12:56 -0700
                Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-26 14:15 -0700
                Re: CR or LF? robin.vowels@gmail.com - 2020-05-25 21:41 -0700
                Re: CR or LF? Thomas Koenig <tkoenig@netcologne.de> - 2020-05-28 11:50 +0000
                Re: CR or LF? Bob Eager <news0073@eager.cx> - 2020-05-28 11:56 +0000
                Re: CR or LF? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-05-30 14:49 +0000
                Re: CR or LF? John Levine <johnl@taugh.com> - 2020-05-30 17:39 +0000
                Re: CR or LF? scott@slp53.sl.home (Scott Lurndal) - 2020-05-30 19:07 +0000
                Re: CR or LF? John Levine <johnl@taugh.com> - 2020-05-30 19:32 +0000
                Re: CR or LF? Quadibloc <jsavard@ecn.ab.ca> - 2020-05-30 13:10 -0700
                Re: CR or LF? John Levine <johnl@taugh.com> - 2020-05-30 20:43 +0000
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-05-30 15:50 -0400
                Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-30 16:30 -0400
                Re: CR or LF? Dan Espen <dan1espen@gmail.com> - 2020-05-30 19:42 -0400
                Re: CR or LF? J. Clarke <jclarke.873638@gmail.com> - 2020-05-30 22:17 -0400
                Re: CR or LF? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-05-31 09:45 +0100
            Re: CR or LF? usenet@only.tnx (Questor) - 2020-05-25 18:37 +0000
              Re: CR or LF? Bob Eager <news0073@eager.cx> - 2020-05-25 19:52 +0000
      Re: CR or LF? usenet@only.tnx (Questor) - 2020-05-25 07:37 +0000
  Re: CR or LF? hancock4@bbs.cpcn.com - 2020-08-22 11:15 -0700
    Re: CR or LF? Robin Vowels <robin.vowels@gmail.com> - 2020-08-22 18:55 -0700

csiph-web