* [TUHS] TECO was: Re: basic tools / Universal Unix
@ 2017-11-16 23:15 Doug McIlroy
0 siblings, 0 replies; 23+ messages in thread
From: Doug McIlroy @ 2017-11-16 23:15 UTC (permalink / raw)
>Speaking of which, am I the only one annoyed by Penguin/OS' silly coloured
"ls" output?
Syntax coloring, of which IDE's seem to be enamored, always
looks to me like a ransom note. For folks who like colorized
text, Writers Workbench had a tool that can be harnessed to
do a bang-up job of syntax colorizing for English: "parts"
did a remarkable job of inferring parts of spechc in running
text.
Doug
^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix @ 2017-10-30 14:16 Noel Chiappa 2017-10-30 20:56 ` Dave Horsfall 0 siblings, 1 reply; 23+ messages in thread From: Noel Chiappa @ 2017-10-30 14:16 UTC (permalink / raw) > From: Ralph Corderoy > Then the real definition, ending in an execution of the empty `q'. > qq/4$^Ma2^[@qq Gah. That reminds me of nothing so much as TECO (may it long Rest in Peace). Noel ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-10-30 14:16 [TUHS] " Noel Chiappa @ 2017-10-30 20:56 ` Dave Horsfall 2017-10-31 10:50 ` Ronald Natalie 0 siblings, 1 reply; 23+ messages in thread From: Dave Horsfall @ 2017-10-30 20:56 UTC (permalink / raw) On Mon, 30 Oct 2017, Noel Chiappa wrote: > > Then the real definition, ending in an execution of the empty `q'. > > qq/4$^Ma2^[@qq > > Gah. That reminds me of nothing so much as TECO (may it long Rest in > Peace). I'm glad that I'm not the only one who remembers TECO; a fun game was to type your name at it to see what it did. -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-10-30 20:56 ` Dave Horsfall @ 2017-10-31 10:50 ` Ronald Natalie 2017-11-01 3:23 ` Dave Horsfall 0 siblings, 1 reply; 23+ messages in thread From: Ronald Natalie @ 2017-10-31 10:50 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1180 bytes --] . make love NOT WAR? [4K CORE] I’m a bizarre UNIX relic. I never learned vi. I went from “ed” to the various emacs variants (starting with Warren Montgomery’s EMACS, then JOVE and UNIPRESS, and later GNU). I used INed (a commercialization of the Rand editor) but didn’t particularly like that either. My coworkers for years would be amused when if I found the machine had no EMACS variant, I’d just use ed. I could be startlingly fast in ed and you do learn regular expressions well if you have to do a lot of editing that way. On a few machines where I’m confronted with VI and no ed/emacs, I just use VI in “ex” mode. > On Oct 30, 2017, at 4:56 PM, Dave Horsfall <dave at horsfall.org> wrote: > > On Mon, 30 Oct 2017, Noel Chiappa wrote: > >> > Then the real definition, ending in an execution of the empty `q'. >> > qq/4$^Ma2^[@qq >> >> Gah. That reminds me of nothing so much as TECO (may it long Rest in Peace). > > I'm glad that I'm not the only one who remembers TECO; a fun game was to type your name at it to see what it did. > > -- > Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-10-31 10:50 ` Ronald Natalie @ 2017-11-01 3:23 ` Dave Horsfall 2017-11-15 1:25 ` Nemo 0 siblings, 1 reply; 23+ messages in thread From: Dave Horsfall @ 2017-11-01 3:23 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 930 bytes --] On Tue, 31 Oct 2017, Ronald Natalie wrote: > I’m a bizarre UNIX relic. I never learned vi. I went from “ed” to the > various emacs variants (starting with Warren Montgomery’s EMACS, then > JOVE and UNIPRESS, and later GNU). I used INed (a commercialization of > the Rand editor) but didn't particularly like that either. My coworkers > for years would be amused when if I found the machine had no EMACS > variant, I’d just use ed. I could be startlingly fast in ed and you do > learn regular expressions well if you have to do a lot of editing that > way. On a few machines where I’m confronted with VI and no ed/emacs, I > just use VI in “ex” mode. A previous boss insisted that all his support staff learn ED, because one day it might be the only editor available on a trashed box (you can't mount /usr etc). -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-01 3:23 ` Dave Horsfall @ 2017-11-15 1:25 ` Nemo 2017-11-15 2:10 ` Will Senn 0 siblings, 1 reply; 23+ messages in thread From: Nemo @ 2017-11-15 1:25 UTC (permalink / raw) On 31/10/2017, Dave Horsfall <dave at horsfall.org> wrote: > A previous boss insisted that all his support staff learn ED, because one > day it might be the only editor available on a trashed box (you can't > mount /usr etc). ed man; man ed https://www.gnu.org/fun/jokes/ed-msg.html (Sorry -- could not resist) N. ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 1:25 ` Nemo @ 2017-11-15 2:10 ` Will Senn 2017-11-15 2:16 ` Larry McVoy 0 siblings, 1 reply; 23+ messages in thread From: Will Senn @ 2017-11-15 2:10 UTC (permalink / raw) On 11/14/17 7:25 PM, Nemo wrote: > On 31/10/2017, Dave Horsfall <dave at horsfall.org> wrote: >> A previous boss insisted that all his support staff learn ED, because one >> day it might be the only editor available on a trashed box (you can't >> mount /usr etc). > ed man; man ed > > https://www.gnu.org/fun/jokes/ed-msg.html (Sorry -- could not resist) > > N. For all that it's the butt of jokes, ed is awesome. I didn't really appreciate it until vi wasn't an easy goto option anymore (v6). After reading Kernighan's tutorial, I kind of fell in love with it. g/re/p? Who'd of thunk it? ed may not be 'visual', but the entire document is editable and its support of regex and the global command are incredibly powerful. Especially, for so incredibly tiny an editor. Finally, ed is the sibling of sed and once I got the connection there, it opened up a whole new world of editing awesomeness. Will -- GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 2:10 ` Will Senn @ 2017-11-15 2:16 ` Larry McVoy 2017-11-15 2:37 ` Warner Losh 0 siblings, 1 reply; 23+ messages in thread From: Larry McVoy @ 2017-11-15 2:16 UTC (permalink / raw) +1. Anyone who gets this is someone I'd work with. On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote: > On 11/14/17 7:25 PM, Nemo wrote: > >On 31/10/2017, Dave Horsfall <dave at horsfall.org> wrote: > >>A previous boss insisted that all his support staff learn ED, because one > >>day it might be the only editor available on a trashed box (you can't > >>mount /usr etc). > >ed man; man ed > > > >https://www.gnu.org/fun/jokes/ed-msg.html (Sorry -- could not resist) > > > >N. > > For all that it's the butt of jokes, ed is awesome. I didn't really > appreciate it until vi wasn't an easy goto option anymore (v6). After > reading Kernighan's tutorial, I kind of fell in love with it. g/re/p? Who'd > of thunk it? ed may not be 'visual', but the entire document is editable and > its support of regex and the global command are incredibly powerful. > Especially, for so incredibly tiny an editor. Finally, ed is the sibling of > sed and once I got the connection there, it opened up a whole new world of > editing awesomeness. > > Will > > -- > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF -- --- Larry McVoy lm at mcvoy.com http://www.mcvoy.com/lm ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 2:16 ` Larry McVoy @ 2017-11-15 2:37 ` Warner Losh 2017-11-15 3:07 ` Will Senn 0 siblings, 1 reply; 23+ messages in thread From: Warner Losh @ 2017-11-15 2:37 UTC (permalink / raw) It took me a while to realize that ed(1) is what TECO should have been.... Too much TECO trauma scared me away for far too long.... But maybe it was all the TECO macros I wrote to make the BH100 terminal useful as an editor in full screen mode.... Warner On Tue, Nov 14, 2017 at 7:16 PM, Larry McVoy <lm at mcvoy.com> wrote: > +1. Anyone who gets this is someone I'd work with. > > On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote: > > On 11/14/17 7:25 PM, Nemo wrote: > > >On 31/10/2017, Dave Horsfall <dave at horsfall.org> wrote: > > >>A previous boss insisted that all his support staff learn ED, because > one > > >>day it might be the only editor available on a trashed box (you can't > > >>mount /usr etc). > > >ed man; man ed > > > > > >https://www.gnu.org/fun/jokes/ed-msg.html (Sorry -- could not resist) > > > > > >N. > > > > For all that it's the butt of jokes, ed is awesome. I didn't really > > appreciate it until vi wasn't an easy goto option anymore (v6). After > > reading Kernighan's tutorial, I kind of fell in love with it. g/re/p? > Who'd > > of thunk it? ed may not be 'visual', but the entire document is editable > and > > its support of regex and the global command are incredibly powerful. > > Especially, for so incredibly tiny an editor. Finally, ed is the sibling > of > > sed and once I got the connection there, it opened up a whole new world > of > > editing awesomeness. > > > > Will > > > > -- > > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF > > -- > --- > Larry McVoy lm at mcvoy.com > http://www.mcvoy.com/lm > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171114/1c998140/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 2:37 ` Warner Losh @ 2017-11-15 3:07 ` Will Senn 2017-11-15 16:13 ` Arthur Krewat 0 siblings, 1 reply; 23+ messages in thread From: Will Senn @ 2017-11-15 3:07 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2332 bytes --] I wasn't going to say it earlier, but now that you've said something about it... I was thinking, thank god, ed isn't teco! :). On 11/14/17 8:37 PM, Warner Losh wrote: > It took me a while to realize that ed(1) is what TECO should have > been.... Too much TECO trauma scared me away for far too long.... But > maybe it was all the TECO macros I wrote to make the BH100 terminal > useful as an editor in full screen mode.... > > Warner > > On Tue, Nov 14, 2017 at 7:16 PM, Larry McVoy <lm at mcvoy.com > <mailto:lm at mcvoy.com>> wrote: > > +1. Anyone who gets this is someone I'd work with. > > On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote: > > On 11/14/17 7:25 PM, Nemo wrote: > > >On 31/10/2017, Dave Horsfall <dave at horsfall.org > <mailto:dave at horsfall.org>> wrote: > > >>A previous boss insisted that all his support staff learn ED, > because one > > >>day it might be the only editor available on a trashed box > (you can't > > >>mount /usr etc). > > >ed man; man ed > > > > > >https://www.gnu.org/fun/jokes/ed-msg.html > <https://www.gnu.org/fun/jokes/ed-msg.html> (Sorry -- could not > resist) > > > > > >N. > > > > For all that it's the butt of jokes, ed is awesome. I didn't really > > appreciate it until vi wasn't an easy goto option anymore (v6). > After > > reading Kernighan's tutorial, I kind of fell in love with it. > g/re/p? Who'd > > of thunk it? ed may not be 'visual', but the entire document is > editable and > > its support of regex and the global command are incredibly powerful. > > Especially, for so incredibly tiny an editor. Finally, ed is the > sibling of > > sed and once I got the connection there, it opened up a whole > new world of > > editing awesomeness. > > > > Will > > > > -- > > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF > > -- > --- > Larry McVoy lm at mcvoy.com <http://mcvoy.com> > http://www.mcvoy.com/lm > > -- GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171114/76d68798/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 3:07 ` Will Senn @ 2017-11-15 16:13 ` Arthur Krewat 2017-11-15 16:23 ` Arthur Krewat 0 siblings, 1 reply; 23+ messages in thread From: Arthur Krewat @ 2017-11-15 16:13 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2958 bytes --] I still don't get what was so bad about TECO. *20t$$ <20 lines of text> *fs<text to search for>$<text to replace it with>$$ *0lt$$ ; type current line to review what you've changed. Very simple. *<fstextsearch$textreplace$>$$ replace all occurrences of textsearch. Now, of course, searching for something like a regular expression was much harder. Q-registers, all sorts of cool stuff. But then, maybe I'm talking about a later version of TECO than you all. I think I was on version 22 on TOPS-10 6.03A On 11/14/2017 10:07 PM, Will Senn wrote: > I wasn't going to say it earlier, but now that you've said something > about it... I was thinking, thank god, ed isn't teco! :). > > On 11/14/17 8:37 PM, Warner Losh wrote: >> It took me a while to realize that ed(1) is what TECO should have >> been.... Too much TECO trauma scared me away for far too long.... But >> maybe it was all the TECO macros I wrote to make the BH100 terminal >> useful as an editor in full screen mode.... >> >> Warner >> >> On Tue, Nov 14, 2017 at 7:16 PM, Larry McVoy <lm at mcvoy.com >> <mailto:lm at mcvoy.com>> wrote: >> >> +1. Anyone who gets this is someone I'd work with. >> >> On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote: >> > On 11/14/17 7:25 PM, Nemo wrote: >> > >On 31/10/2017, Dave Horsfall <dave at horsfall.org >> <mailto:dave at horsfall.org>> wrote: >> > >>A previous boss insisted that all his support staff learn ED, >> because one >> > >>day it might be the only editor available on a trashed box >> (you can't >> > >>mount /usr etc). >> > >ed man; man ed >> > > >> > >https://www.gnu.org/fun/jokes/ed-msg.html >> <https://www.gnu.org/fun/jokes/ed-msg.html> (Sorry -- could not >> resist) >> > > >> > >N. >> > >> > For all that it's the butt of jokes, ed is awesome. I didn't really >> > appreciate it until vi wasn't an easy goto option anymore (v6). >> After >> > reading Kernighan's tutorial, I kind of fell in love with it. >> g/re/p? Who'd >> > of thunk it? ed may not be 'visual', but the entire document is >> editable and >> > its support of regex and the global command are incredibly >> powerful. >> > Especially, for so incredibly tiny an editor. Finally, ed is >> the sibling of >> > sed and once I got the connection there, it opened up a whole >> new world of >> > editing awesomeness. >> > >> > Will >> > >> > -- >> > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF >> >> -- >> --- >> Larry McVoy lm at mcvoy.com <http://mcvoy.com> >> http://www.mcvoy.com/lm >> >> > > -- > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/bc83f765/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 16:13 ` Arthur Krewat @ 2017-11-15 16:23 ` Arthur Krewat 2017-11-15 16:48 ` Clem Cole 0 siblings, 1 reply; 23+ messages in thread From: Arthur Krewat @ 2017-11-15 16:23 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 3185 bytes --] Ah, a later reply pointed out the minimalist thing. never mind ;) On 11/15/2017 11:13 AM, Arthur Krewat wrote: > I still don't get what was so bad about TECO. > > *20t$$ > <20 lines of text> > *fs<text to search for>$<text to replace it with>$$ > *0lt$$ ; type current line to review what you've changed. > > Very simple. > > *<fstextsearch$textreplace$>$$ > > replace all occurrences of textsearch. > > Now, of course, searching for something like a regular expression was > much harder. > > Q-registers, all sorts of cool stuff. > > But then, maybe I'm talking about a later version of TECO than you > all. I think I was on version 22 on TOPS-10 6.03A > > > On 11/14/2017 10:07 PM, Will Senn wrote: >> I wasn't going to say it earlier, but now that you've said something >> about it... I was thinking, thank god, ed isn't teco! :). >> >> On 11/14/17 8:37 PM, Warner Losh wrote: >>> It took me a while to realize that ed(1) is what TECO should have >>> been.... Too much TECO trauma scared me away for far too long.... >>> But maybe it was all the TECO macros I wrote to make the BH100 >>> terminal useful as an editor in full screen mode.... >>> >>> Warner >>> >>> On Tue, Nov 14, 2017 at 7:16 PM, Larry McVoy <lm at mcvoy.com >>> <mailto:lm at mcvoy.com>> wrote: >>> >>> +1. Anyone who gets this is someone I'd work with. >>> >>> On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote: >>> > On 11/14/17 7:25 PM, Nemo wrote: >>> > >On 31/10/2017, Dave Horsfall <dave at horsfall.org >>> <mailto:dave at horsfall.org>> wrote: >>> > >>A previous boss insisted that all his support staff learn >>> ED, because one >>> > >>day it might be the only editor available on a trashed box >>> (you can't >>> > >>mount /usr etc). >>> > >ed man; man ed >>> > > >>> > >https://www.gnu.org/fun/jokes/ed-msg.html >>> <https://www.gnu.org/fun/jokes/ed-msg.html> (Sorry -- could not >>> resist) >>> > > >>> > >N. >>> > >>> > For all that it's the butt of jokes, ed is awesome. I didn't >>> really >>> > appreciate it until vi wasn't an easy goto option anymore >>> (v6). After >>> > reading Kernighan's tutorial, I kind of fell in love with it. >>> g/re/p? Who'd >>> > of thunk it? ed may not be 'visual', but the entire document >>> is editable and >>> > its support of regex and the global command are incredibly >>> powerful. >>> > Especially, for so incredibly tiny an editor. Finally, ed is >>> the sibling of >>> > sed and once I got the connection there, it opened up a whole >>> new world of >>> > editing awesomeness. >>> > >>> > Will >>> > >>> > -- >>> > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF >>> >>> -- >>> --- >>> Larry McVoy lm at mcvoy.com <http://mcvoy.com> >>> http://www.mcvoy.com/lm >>> >>> >> >> -- >> GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/cb1b5fa9/attachment-0001.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 16:23 ` Arthur Krewat @ 2017-11-15 16:48 ` Clem Cole 2017-11-15 18:13 ` Bakul Shah 0 siblings, 1 reply; 23+ messages in thread From: Clem Cole @ 2017-11-15 16:48 UTC (permalink / raw) Teco commands were described as being 'indistinguishable from line noise.' On 10/30/120 cps dial up lines, that was not always a good thing ;-) One of my favorite stories of teco years ago, one of my friends was editing a teco macro and had gotten up from his terminal for a minute, his wife looked at the screen and asked him if his 2 year old has been attacking the keyboard again. Clem BTW: My friend and former co-worker, Paul Cantrell wrote an excellent teco implemnentation for UNIX. I believe if you go to his web site ( copters.com) and poke around its available for download. On Wed, Nov 15, 2017 at 11:23 AM, Arthur Krewat <krewat at kilonet.net> wrote: > Ah, a later reply pointed out the minimalist thing. never mind ;) > > > > On 11/15/2017 11:13 AM, Arthur Krewat wrote: > > I still don't get what was so bad about TECO. > > *20t$$ > <20 lines of text> > *fs<text to search for>$<text to replace it with>$$ > *0lt$$ ; type current line to review what you've changed. > > Very simple. > > *<fstextsearch$textreplace$>$$ > > replace all occurrences of textsearch. > > Now, of course, searching for something like a regular expression was much > harder. > > Q-registers, all sorts of cool stuff. > > But then, maybe I'm talking about a later version of TECO than you all. I > think I was on version 22 on TOPS-10 6.03A > > > On 11/14/2017 10:07 PM, Will Senn wrote: > > I wasn't going to say it earlier, but now that you've said something about > it... I was thinking, thank god, ed isn't teco! :). > > On 11/14/17 8:37 PM, Warner Losh wrote: > > It took me a while to realize that ed(1) is what TECO should have been.... > Too much TECO trauma scared me away for far too long.... But maybe it was > all the TECO macros I wrote to make the BH100 terminal useful as an editor > in full screen mode.... > > Warner > > On Tue, Nov 14, 2017 at 7:16 PM, Larry McVoy <lm at mcvoy.com> wrote: > >> +1. Anyone who gets this is someone I'd work with. >> >> On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote: >> > On 11/14/17 7:25 PM, Nemo wrote: >> > >On 31/10/2017, Dave Horsfall <dave at horsfall.org> wrote: >> > >>A previous boss insisted that all his support staff learn ED, because >> one >> > >>day it might be the only editor available on a trashed box (you can't >> > >>mount /usr etc). >> > >ed man; man ed >> > > >> > >https://www.gnu.org/fun/jokes/ed-msg.html (Sorry -- could not resist) >> > > >> > >N. >> > >> > For all that it's the butt of jokes, ed is awesome. I didn't really >> > appreciate it until vi wasn't an easy goto option anymore (v6). After >> > reading Kernighan's tutorial, I kind of fell in love with it. g/re/p? >> Who'd >> > of thunk it? ed may not be 'visual', but the entire document is >> editable and >> > its support of regex and the global command are incredibly powerful. >> > Especially, for so incredibly tiny an editor. Finally, ed is the >> sibling of >> > sed and once I got the connection there, it opened up a whole new world >> of >> > editing awesomeness. >> > >> > Will >> > >> > -- >> > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF >> >> -- >> --- >> Larry McVoy lm at mcvoy.com >> http://www.mcvoy.com/lm >> > > > -- > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/a03296d7/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 16:48 ` Clem Cole @ 2017-11-15 18:13 ` Bakul Shah 2017-11-15 19:01 ` Clem Cole 0 siblings, 1 reply; 23+ messages in thread From: Bakul Shah @ 2017-11-15 18:13 UTC (permalink / raw) Tom Almy's version, based on Pete Siemsen's TECO implementation is available as a FreeBSD port. Also runs on a bunch of other platforms. A more recent version with Blake McBride's changes is at https://github.com/blakemcbride/TECOC. I had used TECO a long time ago on TOPS-10 so I played with this version but it feels completely foreign to me now:-) > On Nov 15, 2017, at 8:48 AM, Clem Cole <clemc at ccc.com> wrote: > > Teco commands were described as being 'indistinguishable from line noise.' On 10/30/120 cps dial up lines, that was not always a good thing ;-) > > One of my favorite stories of teco years ago, one of my friends was editing a teco macro and had gotten up from his terminal for a minute, his wife looked at the screen and asked him if his 2 year old has been attacking the keyboard again. > > Clem > > BTW: My friend and former co-worker, Paul Cantrell wrote an excellent teco implemnentation for UNIX. I believe if you go to his web site (copters.com) and poke around its available for download. > > On Wed, Nov 15, 2017 at 11:23 AM, Arthur Krewat <krewat at kilonet.net> wrote: > Ah, a later reply pointed out the minimalist thing. never mind ;) > > > > On 11/15/2017 11:13 AM, Arthur Krewat wrote: >> I still don't get what was so bad about TECO. >> >> *20t$$ >> <20 lines of text> >> *fs<text to search for>$<text to replace it with>$$ >> *0lt$$ ; type current line to review what you've changed. >> >> Very simple. >> >> *<fstextsearch$textreplace$>$$ >> >> replace all occurrences of textsearch. >> >> Now, of course, searching for something like a regular expression was much harder. >> >> Q-registers, all sorts of cool stuff. >> >> But then, maybe I'm talking about a later version of TECO than you all. I think I was on version 22 on TOPS-10 6.03A >> >> >> On 11/14/2017 10:07 PM, Will Senn wrote: >>> I wasn't going to say it earlier, but now that you've said something about it... I was thinking, thank god, ed isn't teco! :). >>> >>> On 11/14/17 8:37 PM, Warner Losh wrote: >>>> It took me a while to realize that ed(1) is what TECO should have been.... Too much TECO trauma scared me away for far too long.... But maybe it was all the TECO macros I wrote to make the BH100 terminal useful as an editor in full screen mode.... >>>> >>>> Warner >>>> >>>> On Tue, Nov 14, 2017 at 7:16 PM, Larry McVoy <lm at mcvoy.com> wrote: >>>> +1. Anyone who gets this is someone I'd work with. >>>> >>>> On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote: >>>> > On 11/14/17 7:25 PM, Nemo wrote: >>>> > >On 31/10/2017, Dave Horsfall <dave at horsfall.org> wrote: >>>> > >>A previous boss insisted that all his support staff learn ED, because one >>>> > >>day it might be the only editor available on a trashed box (you can't >>>> > >>mount /usr etc). >>>> > >ed man; man ed >>>> > > >>>> > >https://www.gnu.org/fun/jokes/ed-msg.html (Sorry -- could not resist) >>>> > > >>>> > >N. >>>> > >>>> > For all that it's the butt of jokes, ed is awesome. I didn't really >>>> > appreciate it until vi wasn't an easy goto option anymore (v6). After >>>> > reading Kernighan's tutorial, I kind of fell in love with it. g/re/p? Who'd >>>> > of thunk it? ed may not be 'visual', but the entire document is editable and >>>> > its support of regex and the global command are incredibly powerful. >>>> > Especially, for so incredibly tiny an editor. Finally, ed is the sibling of >>>> > sed and once I got the connection there, it opened up a whole new world of >>>> > editing awesomeness. >>>> > >>>> > Will >>>> > >>>> > -- >>>> > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF >>>> >>>> -- >>>> --- >>>> Larry McVoy lm at mcvoy.com http://www.mcvoy.com/lm >>>> >>> >>> -- >>> GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF >>> >> > > ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] basic tools / Universal Unix 2017-11-15 18:13 ` Bakul Shah @ 2017-11-15 19:01 ` Clem Cole 2017-11-15 19:52 ` [TUHS] TECO was: " Arthur Krewat 0 siblings, 1 reply; 23+ messages in thread From: Clem Cole @ 2017-11-15 19:01 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1102 bytes --] On Wed, Nov 15, 2017 at 1:13 PM, Bakul Shah <bakul at bitblocks.com> wrote: > Tom Almy's version, I'd forgotten Tom was a teco guy. I'm not sure what happened too it, but at some point Tom and I got the RT11 version (which was in Macro-11 assembler) running in V7 @ Tektronix before we had vi. Tom was the biggest user at that point. I was running something Phil Karn had brought to CMU from Cornell (and I took to Tektronix) called 'fred' (friendly ed) which had compiled in terminal support. Fred supported glass tty's; which is why I liked it even though I knew teco & emacs from my 10's days. Mark Bales came up from Berkeley later that summer and brought 1BSD/2BSD with him (that's when I learned csh and reprogrammed my fingers to the current rom configuration). Gosling Emacs for UNIX does not show up until we started running Vaxen and had the address space, so at the time it was ed, fred, vi, teco on the 11s. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/7d6879df/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-15 19:01 ` Clem Cole @ 2017-11-15 19:52 ` Arthur Krewat 2017-11-15 20:19 ` Clem Cole 0 siblings, 1 reply; 23+ messages in thread From: Arthur Krewat @ 2017-11-15 19:52 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2135 bytes --] Suddenly I fell like I'm in a TECO support group ;) I have my own implementations of TECO - both on UNIX and MSDOS (of all things). They both do colorization of structured programming, something that preceded EMACs colorization by a few years. I always wondered if my released MSDOS version of TECO gave people ideas. When did EMACS start coloring things? I started it in my TECO as of around 1984-1985 - it supported it in text strings, parentheses, etc. From my MSDOS version, showing some MASM code: The structured macros were inspired by Bruce Maier's structured macros he did for MACRO-10 on TOPS-10 in the mid to late 70's. On 11/15/2017 2:01 PM, Clem Cole wrote: > > > On Wed, Nov 15, 2017 at 1:13 PM, Bakul Shah <bakul at bitblocks.com > <mailto:bakul at bitblocks.com>> wrote: > > Tom Almy's version, > > > I'd forgotten Tom was a teco guy. I'm not sure what happened too > it, but at some point Tom and I got the RT11 version (which was in > Macro-11 assembler) running in V7 @ Tektronix before we had vi. Tom > was the biggest user at that point. I was running something Phil Karn > had brought to CMU from Cornell (and I took to Tektronix) called > 'fred' (friendly ed) which had compiled in terminal support. Fred > supported glass tty's; which is why I liked it even though I knew teco > & emacs from my 10's days. Mark Bales came up from Berkeley later > that summer and brought 1BSD/2BSD with him (that's when I learned csh > and reprogrammed my fingers to the current rom configuration). > Gosling Emacs for UNIX does not show up until we started running Vaxen > and had the address space, so at the time it was ed, fred, vi, teco on > the 11s. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/b388601c/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: dmddfbedoblifaak.png Type: image/png Size: 60010 bytes Desc: not available URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/b388601c/attachment-0001.png> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-15 19:52 ` [TUHS] TECO was: " Arthur Krewat @ 2017-11-15 20:19 ` Clem Cole 2017-11-15 20:25 ` Arthur Krewat 0 siblings, 1 reply; 23+ messages in thread From: Clem Cole @ 2017-11-15 20:19 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1232 bytes --] On Wed, Nov 15, 2017 at 2:52 PM, Arthur Krewat <krewat at kilonet.net> wrote: > > When did EMACS start coloring things? > I'm fairly sure, Gosling EMACS could do color by '83 when we had it on the Masscomp systems. Cantrell's Teco was a year or two later always support color in some manner, because was a graphics guy at Masscomp (and DEC before that). I'm dating this by, the fact I had left Berkeley by then. PC or one of the HW folks had written a set of EMACS macro's to emulate VMS's EDT for the ex-DEC HW guys which used color. The MIT contingent was all EMACS, but we switched to Zimmerman's EMACS when we hired Steve I want to say in 84 or 85. I remember there was some heartache because Zimmerman EMACS was very close to ITS EMACS and preferred by the ex-MIT folks (unlike Gosling EMACS). But the color stuff for EDT broke and there was complaining from the HW folks. [Andy Tannenbaum, Eric Ginger and I were the die hard ed/vi folks - which in those days was BW - to this day even with vim, I still rarely use colors with that editor]. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/15bf082c/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-15 20:19 ` Clem Cole @ 2017-11-15 20:25 ` Arthur Krewat 2017-11-15 22:18 ` Ralph Corderoy 2017-11-16 0:29 ` Grant Taylor 0 siblings, 2 replies; 23+ messages in thread From: Arthur Krewat @ 2017-11-15 20:25 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1734 bytes --] It's always interesting how parallel development happens with certain things. I certainly had no exposure to EMACS at the time I came up with the idea, nor the rest of this community you describe. I'm not sure I like vim's coloring, actually. I find myself having to search for a nonexistent string just to get rid of it's highlighting of a search string. On 11/15/2017 3:19 PM, Clem Cole wrote: > > > On Wed, Nov 15, 2017 at 2:52 PM, Arthur Krewat <krewat at kilonet.net > <mailto:krewat at kilonet.net>> wrote: > > > When did EMACS start coloring things? > > > I'm fairly sure, Gosling EMACS could do color by '83 when we had it > on the Masscomp systems. Cantrell's Teco was a year or two later > always support color in some manner, because was a graphics guy at > Masscomp (and DEC before that). > > I'm dating this by, the fact I had left Berkeley by then. PC or one > of the HW folks had written a set of EMACS macro's to emulate VMS's > EDT for the ex-DEC HW guys which used color. The MIT contingent was > all EMACS, but we switched to Zimmerman's EMACS when we hired Steve I > want to say in 84 or 85. I remember there was some heartache because > Zimmerman EMACS was very close to ITS EMACS and preferred by the > ex-MIT folks (unlike Gosling EMACS). But the color stuff for EDT > broke and there was complaining from the HW folks. [Andy Tannenbaum, > Eric Ginger and I were the die hard ed/vi folks - which in those days > was BW - to this day even with vim, I still rarely use colors with > that editor]. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/5fc01bf0/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-15 20:25 ` Arthur Krewat @ 2017-11-15 22:18 ` Ralph Corderoy 2017-11-16 4:34 ` Dave Horsfall 2017-11-16 0:29 ` Grant Taylor 1 sibling, 1 reply; 23+ messages in thread From: Ralph Corderoy @ 2017-11-15 22:18 UTC (permalink / raw) Hi Arthur, > I'm not sure I like vim's coloring, actually. I find myself having to > search for a nonexistent string just to get rid of it's highlighting `:noh' turns off the highlighting of the current matches. They start again on the next search, e.g. `n'. In less(1), it's `Esc u'. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-15 22:18 ` Ralph Corderoy @ 2017-11-16 4:34 ` Dave Horsfall 2017-11-16 4:36 ` Jim Capp ` (4 more replies) 0 siblings, 5 replies; 23+ messages in thread From: Dave Horsfall @ 2017-11-16 4:34 UTC (permalink / raw) On Wed, 15 Nov 2017, Ralph Corderoy wrote: > `:noh' turns off the highlighting of the current matches. > They start again on the next search, e.g. `n'. > In less(1), it's `Esc u'. Speaking of which, am I the only one annoyed by Penguin/OS' silly coloured "ls" output? I can never remember how to turn off that frippery, as the contrast is particularly hard on my eyes; the minimalist "F" flag works just fine. -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 4:34 ` Dave Horsfall @ 2017-11-16 4:36 ` Jim Capp 2017-11-16 8:42 ` Pete Turnbull ` (3 subsequent siblings) 4 siblings, 0 replies; 23+ messages in thread From: Jim Capp @ 2017-11-16 4:36 UTC (permalink / raw) You are not the only one !!! From: "Dave Horsfall" <dave@horsfall.org> To: "The Eunuchs Hysterical Society" <tuhs at tuhs.org> Sent: Wednesday, November 15, 2017 11:34:30 PM Subject: Re: [TUHS] TECO was: Re: basic tools / Universal Unix On Wed, 15 Nov 2017, Ralph Corderoy wrote: > `:noh' turns off the highlighting of the current matches. > They start again on the next search, e.g. `n'. > In less(1), it's `Esc u'. Speaking of which, am I the only one annoyed by Penguin/OS' silly coloured "ls" output? I can never remember how to turn off that frippery, as the contrast is particularly hard on my eyes; the minimalist "F" flag works just fine. -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/e92cfa5b/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 4:34 ` Dave Horsfall 2017-11-16 4:36 ` Jim Capp @ 2017-11-16 8:42 ` Pete Turnbull 2017-11-18 14:39 ` Ralph Corderoy 2017-11-16 9:19 ` arnold ` (2 subsequent siblings) 4 siblings, 1 reply; 23+ messages in thread From: Pete Turnbull @ 2017-11-16 8:42 UTC (permalink / raw) On 16/11/2017 04:34, Dave Horsfall wrote: >> Speaking of which, am I the only one annoyed by Penguin/OS' silly > coloured "ls" output? I can never remember how to turn off that > frippery, as the contrast is particularly hard on my eyes; the > minimalist "F" flag works just fine. I find the colours awful, and have that stupidity turned off, along with the coloured prompt, the ridiculously long path in the prompt, and set MANPAGER="less -X" so as not to disappear manpages. -- Pete Pete Turnbull ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 8:42 ` Pete Turnbull @ 2017-11-18 14:39 ` Ralph Corderoy 0 siblings, 0 replies; 23+ messages in thread From: Ralph Corderoy @ 2017-11-18 14:39 UTC (permalink / raw) Hi, Pete Turnbull wrote: > and set MANPAGER="less -X" so as not to disappear manpages. (This is to stop the terminal switching between its two screens so the useful bit of the man page is hidden from view when you quit, even though you then want to type based on its content.) For vim, `set t_ti= t_te=' overrides the terminal's definition. Or, have a ~/.terminfo/... compiled from the system's default but with those entries blanked. Then all commands are "fixed". -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 4:34 ` Dave Horsfall 2017-11-16 4:36 ` Jim Capp 2017-11-16 8:42 ` Pete Turnbull @ 2017-11-16 9:19 ` arnold 2017-11-16 21:59 ` Dave Horsfall 2017-11-17 1:18 ` Greg 'groggy' Lehey 4 siblings, 0 replies; 23+ messages in thread From: arnold @ 2017-11-16 9:19 UTC (permalink / raw) Dave Horsfall <dave at horsfall.org> wrote: > Speaking of which, am I the only one annoyed by Penguin/OS' silly coloured > "ls" output? I can never remember how to turn off that frippery, as the > contrast is particularly hard on my eyes; the minimalist "F" flag works > just fine. I *think* that's because some global file does something like alias ls='ls --colors' You can verify with type ls Try running unalias ls and see if that helps. Arnold ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 4:34 ` Dave Horsfall ` (2 preceding siblings ...) 2017-11-16 9:19 ` arnold @ 2017-11-16 21:59 ` Dave Horsfall 2017-11-16 22:58 ` Andy Kosela 2017-11-17 1:18 ` Greg 'groggy' Lehey 4 siblings, 1 reply; 23+ messages in thread From: Dave Horsfall @ 2017-11-16 21:59 UTC (permalink / raw) On Thu, 16 Nov 2017, Dave Horsfall wrote: > Speaking of which, am I the only one annoyed by Penguin/OS' silly > coloured "ls" output? I can never remember how to turn off that > frippery, as the contrast is particularly hard on my eyes; the > minimalist "F" flag works just fine. Thanks, all; I'll just knock up a simple script that blows away the entire environment and unaliases everything in sight. I'll probably call it "orca" because I have a warped sense of humour... Unix taught me to be minimalist; you had to be when writing a bootstrap to fit into 512 bytes... -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 21:59 ` Dave Horsfall @ 2017-11-16 22:58 ` Andy Kosela 2017-11-17 2:17 ` Steve Johnson 2017-11-17 3:50 ` Lyndon Nerenberg 0 siblings, 2 replies; 23+ messages in thread From: Andy Kosela @ 2017-11-16 22:58 UTC (permalink / raw) On Thursday, November 16, 2017, Dave Horsfall <dave at horsfall.org> wrote: > On Thu, 16 Nov 2017, Dave Horsfall wrote: > > Speaking of which, am I the only one annoyed by Penguin/OS' silly coloured >> "ls" output? I can never remember how to turn off that frippery, as the >> contrast is particularly hard on my eyes; the minimalist "F" flag works >> just fine. >> > > Thanks, all; I'll just knock up a simple script that blows away the entire > environment and unaliases everything in sight. I'll probably call it > "orca" because I have a warped sense of humour... > > Unix taught me to be minimalist; you had to be when writing a bootstrap to > fit into 512 bytes... > > If you happen to be on Red Hat derived Linux, the easiest way to turn off all this crap is to rename /etc/profile to something like /etc/profile.dist and then populate your own startup scripts. For a minimalist prompt I just use: export PS1='\h \$ ' --Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171116/4700a4ee/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 22:58 ` Andy Kosela @ 2017-11-17 2:17 ` Steve Johnson 2017-11-17 2:38 ` George Michaelson 2017-11-17 3:50 ` Lyndon Nerenberg 1 sibling, 1 reply; 23+ messages in thread From: Steve Johnson @ 2017-11-17 2:17 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1660 bytes --] Reminds me of a comment a seasoned co-worker came out with when looking over a new employee's program, filled with variableNamesThatRanOnAndOnForHalfALineOrMaybeLonger. "I used to write boot loaders that were shorter than your variable names!" Steve ----- Original Message ----- From: "Andy Kosela" <akosela@andykosela.com> To:"Dave Horsfall" <dave at horsfall.org> Cc:"The Eunuchs Hysterical Society" <tuhs at tuhs.org> Sent:Thu, 16 Nov 2017 23:58:59 +0100 Subject:Re: [TUHS] TECO was: Re: basic tools / Universal Unix On Thursday, November 16, 2017, Dave Horsfall <dave at horsfall.org [1]> wrote: On Thu, 16 Nov 2017, Dave Horsfall wrote: Speaking of which, am I the only one annoyed by Penguin/OS' silly coloured "ls" output? I can never remember how to turn off that frippery, as the contrast is particularly hard on my eyes; the minimalist "F" flag works just fine. Thanks, all; I'll just knock up a simple script that blows away the entire environment and unaliases everything in sight. I'll probably call it "orca" because I have a warped sense of humour... Unix taught me to be minimalist; you had to be when writing a bootstrap to fit into 512 bytes... If you happen to be on Red Hat derived Linux, the easiest way to turn off all this crap is to rename /etc/profile to something like /etc/profile.dist and then populate your own startup scripts. For a minimalist prompt I just use: export PS1='h $ ' --Andy Links: ------ [1] mailto:dave at horsfall.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171116/5a44aec9/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-17 2:17 ` Steve Johnson @ 2017-11-17 2:38 ` George Michaelson 2017-11-17 3:56 ` Ian Zimmerman 2017-11-17 8:44 ` Michael Kjörling 0 siblings, 2 replies; 23+ messages in thread From: George Michaelson @ 2017-11-17 2:38 UTC (permalink / raw) I THINK that I don't like ls colours, but I have to admit that since I started trying to pay attention more, I find colour coding has some value, for some meaning of some and no value defined. Actually no, I still hate colour LS. I like ls -F because the implied extra information can be semantically extracted with a grep, although why find . -type d -maxdepth 1 isn't being used is beyond me. de gustibus non disputandum, but on a unibus, there are also no disputes because the bus master arbitrates On Fri, Nov 17, 2017 at 10:17 AM, Steve Johnson <scj at yaccman.com> wrote: > Reminds me of a comment a seasoned co-worker came out with when looking over > a new employee's program, filled with > variableNamesThatRanOnAndOnForHalfALineOrMaybeLonger. "I used to write boot > loaders that were shorter than your variable names!" > > Steve > > > > ----- Original Message ----- > From: > "Andy Kosela" <akosela at andykosela.com> > > To: > "Dave Horsfall" <dave at horsfall.org> > Cc: > "The Eunuchs Hysterical Society" <tuhs at tuhs.org> > Sent: > Thu, 16 Nov 2017 23:58:59 +0100 > Subject: > Re: [TUHS] TECO was: Re: basic tools / Universal Unix > > > > > On Thursday, November 16, 2017, Dave Horsfall <dave at horsfall.org> wrote: >> >> On Thu, 16 Nov 2017, Dave Horsfall wrote: >> >>> Speaking of which, am I the only one annoyed by Penguin/OS' silly >>> coloured "ls" output? I can never remember how to turn off that frippery, >>> as the contrast is particularly hard on my eyes; the minimalist "F" flag >>> works just fine. >> >> >> Thanks, all; I'll just knock up a simple script that blows away the entire >> environment and unaliases everything in sight. I'll probably call it "orca" >> because I have a warped sense of humour... >> >> Unix taught me to be minimalist; you had to be when writing a bootstrap to >> fit into 512 bytes... >> > > If you happen to be on Red Hat derived Linux, the easiest way to turn off > all this crap is to rename /etc/profile to something like /etc/profile.dist > and then populate your own startup scripts. > > For a minimalist prompt I just use: > > export PS1='\h \$ ' > > --Andy > > ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-17 2:38 ` George Michaelson @ 2017-11-17 3:56 ` Ian Zimmerman 2017-11-17 4:07 ` Steve Nickolas 2017-11-17 8:44 ` Michael Kjörling 1 sibling, 1 reply; 23+ messages in thread From: Ian Zimmerman @ 2017-11-17 3:56 UTC (permalink / raw) On 2017-11-17 10:38, George Michaelson wrote: > Actually no, I still hate colour LS. I like ls -F because the implied > extra information can be semantically extracted with a grep, although > why find . -type d -maxdepth 1 isn't being used is beyond me. Colorized ls can show you other things. For example: * setuid/setgid files * broken symlinks ls -F can't do these. Myself, I like ls itself to be colourless, but I do have an alias "cls" and use it often. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet, fetch the TXT record for the domain. ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-17 3:56 ` Ian Zimmerman @ 2017-11-17 4:07 ` Steve Nickolas 0 siblings, 0 replies; 23+ messages in thread From: Steve Nickolas @ 2017-11-17 4:07 UTC (permalink / raw) On Thu, 16 Nov 2017, Ian Zimmerman wrote: > On 2017-11-17 10:38, George Michaelson wrote: > >> Actually no, I still hate colour LS. I like ls -F because the implied >> extra information can be semantically extracted with a grep, although >> why find . -type d -maxdepth 1 isn't being used is beyond me. > > Colorized ls can show you other things. For example: > > * setuid/setgid files > * broken symlinks > > ls -F can't do these. > > Myself, I like ls itself to be colourless, but I do have an alias "cls" > and use it often. > > Overall I guess it's more of a matter of, well, do you want Unix or do you want GNU? On a desktop, I tend to find the GNU extensions useful. On a server, I think I want lean and mean, minimalist, and more of a pure Unix environment. -uso. ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-17 2:38 ` George Michaelson 2017-11-17 3:56 ` Ian Zimmerman @ 2017-11-17 8:44 ` Michael Kjörling 1 sibling, 0 replies; 23+ messages in thread From: Michael Kjörling @ 2017-11-17 8:44 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1552 bytes --] On 17 Nov 2017 10:38 +0800, from ggm at algebras.org (George Michaelson): > although why find . -type d -maxdepth 1 isn't being used is beyond me. (In normal usage) unless you want your dot-directories as well, there's always good ol' \ls -1d */, or even echo */ if you can live with the entries being all on one line separated by just one space. Works nicely in an interactive shell, but may be slightly too unreliable for a script (in GNU bash, the exact behavior depends on the globbing options such as dotglob; other shells might act differently based on state too, I just am not too familiar with them). Using \ls above because some people (including myself) already have their ls aliased to a ls command that includes -F, which looks ugly when used with -d */. If you aren't one of them, then maybe you don't need the backslash. Using echo has the bonus that it's very often built in to the shell, so no external invocation is required. I don't think I'd call find minimalistic anything. :-) Modern ls is pretty bloated too (surprisingly enough, on my system, the binary for find is only about twice the size of the binary for ls; 233,968 and 114,032 bytes, respectively, but that's not counting any libraries they pull in dynamically), but ls is probably in the disk cache already; echo's nice and lean, though... -- Michael Kjörling • https://michael.kjorling.se • michael at kjorling.se “People who think they know everything really annoy those of us who know we don’t.” (Bjarne Stroustrup) ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 22:58 ` Andy Kosela 2017-11-17 2:17 ` Steve Johnson @ 2017-11-17 3:50 ` Lyndon Nerenberg 2017-11-17 6:51 ` Andy Kosela 1 sibling, 1 reply; 23+ messages in thread From: Lyndon Nerenberg @ 2017-11-17 3:50 UTC (permalink / raw) > On Nov 16, 2017, at 2:58 PM, Andy Kosela <akosela at andykosela.com> wrote: > > If you happen to be on Red Hat derived Linux, the easiest way to turn off all this crap is to rename /etc/profile to something like /etc/profile.dist and then populate your own startup scripts. Better is to install a .profile that begins with 'unalias -a'. That seems to clean out all the cruft and leave you with a clean slate to build from. I've just learned to install my own .profile and .env files, and ignore the crap foisted on me by ... whatever ... ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-17 3:50 ` Lyndon Nerenberg @ 2017-11-17 6:51 ` Andy Kosela 0 siblings, 0 replies; 23+ messages in thread From: Andy Kosela @ 2017-11-17 6:51 UTC (permalink / raw) On Friday, November 17, 2017, Lyndon Nerenberg <lyndon at orthanc.ca> wrote: > > > On Nov 16, 2017, at 2:58 PM, Andy Kosela <akosela at andykosela.com > <javascript:;>> wrote: > > > > If you happen to be on Red Hat derived Linux, the easiest way to turn > off all this crap is to rename /etc/profile to something like > /etc/profile.dist and then populate your own startup scripts. > > Better is to install a .profile that begins with 'unalias -a'. That seems > to clean out all the cruft and leave you with a clean slate to build from. > > I've just learned to install my own .profile and .env files, and ignore > the crap foisted on me by ... whatever ... Why wasting all the cycles for sourcing all this crap in the first place? I know we have faster computers now, but still I do not want to load something that is completely unnecessary, just so I can remove it later with 'unalias'. IMHO it is much cleaner to remove/rename all this, and then start with your own scripts. I happen to still work a lot on hardware monochrome terminals connected via serial -- it is noticably slower if color information is included in the output... I always hated color on UNIX. Monochrome green/amber/white is perfectly fine to me. --Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171117/9b607469/attachment-0001.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 4:34 ` Dave Horsfall ` (3 preceding siblings ...) 2017-11-16 21:59 ` Dave Horsfall @ 2017-11-17 1:18 ` Greg 'groggy' Lehey 4 siblings, 0 replies; 23+ messages in thread From: Greg 'groggy' Lehey @ 2017-11-17 1:18 UTC (permalink / raw) On Thursday, 16 November 2017 at 15:34:30 +1100, Dave Horsfall wrote: > On Wed, 15 Nov 2017, Ralph Corderoy wrote: > >> `:noh' turns off the highlighting of the current matches. >> They start again on the next search, e.g. `n'. >> In less(1), it's `Esc u'. > > Speaking of which, am I the only one annoyed by Penguin/OS' silly > coloured "ls" output? Certainly not. But I don't think it's all Linux. I've summarized how to fix this and other annoyance in my Linux HOWTO page: http://www.lemis.com/grog/HOWTO/linux-setup.php Greg -- Sent from my desktop computer. Finger grog at lemis.com for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 163 bytes Desc: not available URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171117/9b5892cc/attachment.sig> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-15 20:25 ` Arthur Krewat 2017-11-15 22:18 ` Ralph Corderoy @ 2017-11-16 0:29 ` Grant Taylor 2017-11-16 0:35 ` Grant Taylor 1 sibling, 1 reply; 23+ messages in thread From: Grant Taylor @ 2017-11-16 0:29 UTC (permalink / raw) On 11/15/2017 01:25 PM, Arthur Krewat wrote: > I find myself having to search for a nonexistent string just to get rid > of it's highlighting of a search string. " Map normal mode ^L to :noh to turn of hilighting of the most recent search. nnoremap <C-L> :noh<CR><C-L> -- Grant. . . . unix || die -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3717 bytes Desc: S/MIME Cryptographic Signature URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/6d444c72/attachment-0001.bin> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 0:29 ` Grant Taylor @ 2017-11-16 0:35 ` Grant Taylor 2017-11-16 0:52 ` Warner Losh 0 siblings, 1 reply; 23+ messages in thread From: Grant Taylor @ 2017-11-16 0:35 UTC (permalink / raw) On 11/15/2017 05:29 PM, Grant Taylor via TUHS wrote: > " Map normal mode ^L to :noh to turn of hilighting of the most recent > search. > nnoremap <C-L> :noh<CR><C-L> I hit send too soon. Credit goes to @Gumnos for the idea. I also like the fact that ^L causes screen redraw, so double duty. -- Grant. . . . unix || die -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3717 bytes Desc: S/MIME Cryptographic Signature URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/5c90839f/attachment.bin> ^ permalink raw reply [flat|nested] 23+ messages in thread
* [TUHS] TECO was: Re: basic tools / Universal Unix 2017-11-16 0:35 ` Grant Taylor @ 2017-11-16 0:52 ` Warner Losh 0 siblings, 0 replies; 23+ messages in thread From: Warner Losh @ 2017-11-16 0:52 UTC (permalink / raw) Speaking of TECO, this is from a wikipedia article on it. Presented w/o comment... run TECO *GZ0J\UNQN"E 20UN ' BUH BUV HK QN< J BUQ QN*10/3UI QI< \ +2*10+(QQ*QI)UA B L K QI*2-1UJ QA/QJUQ QA-(QQ*QJ)-2\ 10 at I// -1%I > QQ/10UT QH+QT+48UW QW-58"E 48UW %V ' QV"N QV^T ' QWUV QQ-(QT*10)UH > QV^T @^A/ /HKEX$$ 31415926535897932384 On Wed, Nov 15, 2017 at 5:35 PM, Grant Taylor via TUHS <tuhs at minnie.tuhs.org > wrote: > On 11/15/2017 05:29 PM, Grant Taylor via TUHS wrote: > >> " Map normal mode ^L to :noh to turn of hilighting of the most recent >> search. >> nnoremap <C-L> :noh<CR><C-L> >> > > I hit send too soon. > > Credit goes to @Gumnos for the idea. > > I also like the fact that ^L causes screen redraw, so double duty. > > > > > -- > Grant. . . . > unix || die > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/aef618c8/attachment.html> ^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2017-11-18 14:39 UTC | newest] Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-11-16 23:15 [TUHS] TECO was: Re: basic tools / Universal Unix Doug McIlroy -- strict thread matches above, loose matches on Subject: below -- 2017-10-30 14:16 [TUHS] " Noel Chiappa 2017-10-30 20:56 ` Dave Horsfall 2017-10-31 10:50 ` Ronald Natalie 2017-11-01 3:23 ` Dave Horsfall 2017-11-15 1:25 ` Nemo 2017-11-15 2:10 ` Will Senn 2017-11-15 2:16 ` Larry McVoy 2017-11-15 2:37 ` Warner Losh 2017-11-15 3:07 ` Will Senn 2017-11-15 16:13 ` Arthur Krewat 2017-11-15 16:23 ` Arthur Krewat 2017-11-15 16:48 ` Clem Cole 2017-11-15 18:13 ` Bakul Shah 2017-11-15 19:01 ` Clem Cole 2017-11-15 19:52 ` [TUHS] TECO was: " Arthur Krewat 2017-11-15 20:19 ` Clem Cole 2017-11-15 20:25 ` Arthur Krewat 2017-11-15 22:18 ` Ralph Corderoy 2017-11-16 4:34 ` Dave Horsfall 2017-11-16 4:36 ` Jim Capp 2017-11-16 8:42 ` Pete Turnbull 2017-11-18 14:39 ` Ralph Corderoy 2017-11-16 9:19 ` arnold 2017-11-16 21:59 ` Dave Horsfall 2017-11-16 22:58 ` Andy Kosela 2017-11-17 2:17 ` Steve Johnson 2017-11-17 2:38 ` George Michaelson 2017-11-17 3:56 ` Ian Zimmerman 2017-11-17 4:07 ` Steve Nickolas 2017-11-17 8:44 ` Michael Kjörling 2017-11-17 3:50 ` Lyndon Nerenberg 2017-11-17 6:51 ` Andy Kosela 2017-11-17 1:18 ` Greg 'groggy' Lehey 2017-11-16 0:29 ` Grant Taylor 2017-11-16 0:35 ` Grant Taylor 2017-11-16 0:52 ` Warner Losh
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).