From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] sam vs acme In-reply-to: Your message of "Fri, 20 Jul 2001 08:54:16 +0000." <3B57437F.96A9F824@null.net> Message-ID: <10149.995622462@apnic.net> From: George Michaelson Date: Fri, 20 Jul 2001 19:47:42 +1000 Topicbox-Message-UUID: d1923cc4-eac9-11e9-9e20-41e7f4b1d025 > I have in the past used TECO, which offers only two advantages: > (1) more programmability (not limited to extended r.e.s) > (2) multiple snarf buffers (Q-registers). > In "sam" I miss (2) much more than (1). I think 1) is of limited use to most people, and much use to skilled people. Structured RE probably sit in the same space, I honour Rob for being able to both write and exploit them, I still grapple with some base concepts. 2) I can see both sides of. Newer vi have multipe undo as a stack *and* named/numbered snarf space *and* the u-u toggle behaviour of do/undo and I actually find I like both/all three. What amused me was that trying to follow the sam -d tute, I typed in text by snarfing it (xterm wise, not sam/9term) into the sam edit input state. And, I scored the leading ^ (thats 4 spaces) at each line. The tutorial didn't show me how to remove them quite how I expected, and my simplistic use of ed s/^....// failed. But, when I went to sam on X and not sam -d of *course* I used the mouse to do this, and it just worked. So for all I stand confused, I could use it in seconds, and it just worked. Boyd speaks of 'ports' -for me, making current spec sam on FreeBSD meant copying Make.BSDi to Makefile, and changing -I/usr/include/posix to posix4 and X11 to X11R6 (and some associated X link requirements, talk about bloat: R6 pulls in pthreads and ICE and 2 other libraries) and it just worked. I think sam needs/deserves a bit more tute doc. Only a little more. the ed/ex/vi style brought up to date? god, how I miss the V6/7 learn programme -George