From mboxrd@z Thu Jan 1 00:00:00 1970 From: mah@mhorton.net (Mary Ann Horton) Date: Wed, 06 Aug 2014 11:26:16 -0700 Subject: [TUHS] terminal - just for fun In-Reply-To: References: <201408060256.s762u7Ni007007@coolidge.cs.dartmouth.edu> <201408060645.s766jV9p004639@freefriends.org> <20140806132257.GA23663@mercury.ccil.org> Message-ID: <20140806112616.88371tyymackmn9k@webmail.mhorton.net> Quoting "Jeremy C. Reed" : > When did the sh shell provide intra-line editing? I don't think sh ever did line editing, unless sh is a link to bash or ksh. I first saw this in csh around 1978, ed-style. David Korn added EMACS editing to ksh in the early 80s, and Alan Hewitt wrote a mini-vi version which Korn also included. Once I had access to vi in the shell, I switched from csh to ksh and never went back. > How was the "HERE IS" key programmed? Was it used in Unix? HERE IS was intended for two teletypes connected to each other via modem. There was a short ID string hardcoded somehow into the teletype - I think the limit was 8 or 16 characters, and if not null, typically was a short ID of whose teletype it was (e.g. the organization name or site in the org.) If you press HERE IS, it was as if you had typed those characters. More interesting was that if one side of the link sent the ASCII ENQ (enquiry, control E) character, the other side would respond with its HERE IS string. You were supposed to type a message offline onto paper tape (editing with the "back space" button on the tape punch, which rewound the tape reel one character so the most recent char was ready to be punched again) and then type RUB OUT, which obliterated the typo.) Then you would put the tape in the reader, dial the number of another teletype, and press Start on the tape reader. Your tape would read and be transmitted to the other side. Sort of a primitive email system, it was widely used by news media. There was even a "Telex" network of these things - the Wikipedia entry for Telex has some background and a few vintage photos. I think if you put an ENQ at the beginning of your tape, the other side would identify itself, so you were sure it went to the right place. Of course, the tape kept reading, so you'd better have several NULL characters after the ENQ. I never tried this, my ASR33 days were spent dialing up computers, not other teletypes. I actually bought one of these things as a college sophomore so I could access the computer center from my dorm room! UNIX didn't use HERE IS. Mary Ann