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


Groups > comp.lang.c > #13992

Re: Character Array vs String

From Uno <merrilljensen@q.com>
Newsgroups comp.lang.c
Subject Re: Character Array vs String
Date 2011-11-27 22:46 -0700
Message-ID <9jglgmFh5aU1@mid.individual.net> (permalink)
References (11 earlier) <0.9049b181463c1e9cc0f2.20111110032150GMT.87liro1x2p.fsf@bsb.me.uk> <j9gaua$3u6$1@dont-email.me> <0.3a7100b98f8e1c6de72b.20111110120425GMT.87aa8418vq.fsf@bsb.me.uk> <52d46015-83cd-4bae-9525-cf3a8d01513d@v5g2000yqn.googlegroups.com> <LdqdnfdQPNsnv1DTnZ2dnUVZ_hednZ2d@bestweb.net>

Show all headers | View raw


On 11/23/2011 9:42 AM, Kenneth Brody wrote:
> On 11/21/2011 3:02 PM, Lew Pitcher wrote:
> [...]
>> Yes, teletypes (I'm thinking of the KSR33 and ASR33 models, here)
>> would print exactly what you sent them, regardless of where the print
>> head was at the time.
>>
>> It was customary to send a CR followed by a LF (often followed by one
>> or more padding characters like NUL) so that the print head had time
>> to return to the left margin /before/ it received and printed the
>> first printable character of the next line. From the right margin, the
>> carriage took more than 1/10'th of a second to return to the left
>> margin, and sometimes took more than 2/10'ths of a second. Thus, while
>> the carriage was traveling left, the LF character (and, if necessary,
>> the follow-on NUL padding characters) gave the carriage that time it
>> needed.
> [...]
>
> Yup. I saw systems which didn't add some sort of delay-after-CR, and the
> printouts would include what was supposed to be the first character of
> the next line somewhere in the middle of the line. (Sometimes between
> lines, as the LF hadn't yet fully advanced the paper.)
>

Interesting.  Would I be "wrong" to think that 'teletype' might usually 
be abbreviated to 'tty'?
-- 
Uno

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Character Array vs String Sheky <shekhar07.nitdgp@gmail.com> - 2011-11-09 03:09 -0800
  Re: Character Array vs String Malcolm McLean <malcolm.mclean5@btinternet.com> - 2011-11-09 03:28 -0800
  Re: Character Array vs String James Kuyper <jameskuyper@verizon.net> - 2011-11-09 06:52 -0500
  Re: Character Array vs String Quentin Carbonneaux <qcarbonn@invalid.com> - 2011-11-09 12:01 +0000
    Re: Character Array vs String 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-09 04:48 -0800
      Re: Character Array vs String Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-11-09 05:53 -0800
        Re: Character Array vs String "osmium" <r124c4u102@comcast.net> - 2011-11-09 09:44 -0600
          Re: Character Array vs String Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-11-10 00:57 -0800
            Re: Character Array vs String "osmium" <r124c4u102@comcast.net> - 2011-11-10 08:56 -0600
              Re: Character Array vs String Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-11-10 08:16 -0800
                Re: Character Array vs String "Joachim Schmitz" <nospam.jojo@schmitz-digital.de> - 2011-11-10 18:34 +0100
                Re: Character Array vs String Kenneth Brody <kenbrody@spamcop.net> - 2011-11-10 14:08 -0500
                Re: Character Array vs String Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-11-10 20:52 +0000
                Re: Character Array vs String Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-11-11 01:29 -0800
              Re: Character Array vs String Lowell Gilbert <lgusenet@be-well.ilk.org> - 2011-11-10 12:29 -0500
              Re: Character Array vs String lawrence.jones@siemens.com - 2011-11-10 12:32 -0500
                Re: Character Array vs String Keith Thompson <kst-u@mib.org> - 2011-11-10 12:41 -0800
                Re: Character Array vs String jt@toerring.de (Jens Thoms Toerring) - 2011-11-11 13:12 +0000
              Re: Character Array vs String David Thompson <dave.thompson2@verizon.net> - 2011-11-21 02:39 -0500
                Re: Character Array vs String Kenneth Brody <kenbrody@spamcop.net> - 2011-11-23 11:39 -0500
                Re: Character Array vs String "BartC" <bc@freeuk.com> - 2011-11-23 17:15 +0000
                Re: Character Array vs String Kaz Kylheku <kaz@kylheku.com> - 2011-11-23 18:48 +0000
                Re: Character Array vs String Ben Pfaff <blp@cs.stanford.edu> - 2011-11-23 10:58 -0800
                Re: Character Array vs String Patrick Scheible <kkt@zipcon.net> - 2011-11-27 20:21 -0800
                Re: Character Array vs String David Thompson <dave.thompson2@verizon.net> - 2012-01-19 02:43 -0500
        Re: Character Array vs String Malcolm McLean <malcolm.mclean5@btinternet.com> - 2011-11-09 07:48 -0800
          Re: Character Array vs String James Kuyper <jameskuyper@verizon.net> - 2011-11-09 11:06 -0500
            Re: Character Array vs String Willem <willem@toad.stack.nl> - 2011-11-09 16:24 +0000
              Re: Character Array vs String James Kuyper <jameskuyper@verizon.net> - 2011-11-09 11:30 -0500
                Re: Character Array vs String "BartC" <bc@freeuk.com> - 2011-11-09 16:53 +0000
                Re: Character Array vs String Willem <willem@toad.stack.nl> - 2011-11-09 17:05 +0000
                Re: Character Array vs String Malcolm McLean <malcolm.mclean5@btinternet.com> - 2011-11-09 08:54 -0800
                Re: Character Array vs String Tobias Blass <tobiasblass@gmx.net> - 2011-11-09 21:01 +0000
                Re: Character Array vs String "BartC" <bc@freeuk.com> - 2011-11-09 21:26 +0000
                Re: Character Array vs String Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-11-10 01:11 -0800
                Re: Character Array vs String David Thompson <dave.thompson2@verizon.net> - 2011-11-21 02:39 -0500
                Re: Character Array vs String Keith Thompson <kst-u@mib.org> - 2011-11-21 00:15 -0800
                Re: Character Array vs String Keith Thompson <kst-u@mib.org> - 2011-11-09 14:06 -0800
                Re: Character Array vs String Stephen Sprunk <stephen@sprunk.org> - 2011-11-09 19:32 -0600
                Re: Character Array vs String Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-11-10 03:21 +0000
                Re: Character Array vs String "BartC" <bc@freeuk.com> - 2011-11-10 11:00 +0000
                Re: Character Array vs String Keith Thompson <kst-u@mib.org> - 2011-11-10 03:26 -0800
                Re: Character Array vs String Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-11-10 12:04 +0000
                Re: Character Array vs String Lew Pitcher <lpitcher@teksavvy.com> - 2011-11-21 12:02 -0800
                Re: Character Array vs String Kenneth Brody <kenbrody@spamcop.net> - 2011-11-23 11:42 -0500
                Re: Character Array vs String Uno <merrilljensen@q.com> - 2011-11-27 22:46 -0700
                Re: Character Array vs String Lew Pitcher <lpitcher@teksavvy.com> - 2011-11-27 23:30 -0800
                Re: Character Array vs String Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-11-28 00:22 -0800
        Re: Character Array vs String Keith Thompson <kst-u@mib.org> - 2011-11-09 13:59 -0800
    Re: Character Array vs String James Kuyper <jameskuyper@verizon.net> - 2011-11-09 08:36 -0500
      Re: Character Array vs String Quentin Carbonneaux <qcarbonn@invalid.com> - 2011-11-09 14:06 +0000
    Re: Character Array vs String Malcolm McLean <malcolm.mclean5@btinternet.com> - 2011-11-09 05:38 -0800
    Re: Character Array vs String Keith Thompson <kst-u@mib.org> - 2011-11-09 13:52 -0800
  Re: Character Array vs String Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-11-09 07:39 -0500
  Re: Character Array vs String "BartC" <bc@freeuk.com> - 2011-11-09 13:51 +0000
  Re: Character Array vs String John Bode <jfbode1029@gmail.com> - 2011-11-23 19:32 -0800
    Re: Character Array vs String James Kuyper <jameskuyper@verizon.net> - 2011-11-24 11:49 -0500

csiph-web