From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Tolpin Message-Id: <200403020655.i226tUPh070926@adat.davidashen.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Threads: Sewing badges of honor onto a Kernel In-Reply-To: Content-Type: text/plain; charset=KOI8-R Date: Tue, 2 Mar 2004 10:55:30 +0400 Topicbox-Message-UUID: 0a0a9602-eacd-11e9-9e20-41e7f4b1d025 > > how can I make my text windows in rio show indents in increments of 8 > > for tabs, and not of 4? > > > % tabstops=4 In acme and samterm, it is tabstop, not tabstops. > is all sam needs to adjust to 4 spaces to the tab. > Acme does it by > default, but it also obeys $tabstops. Learn acme in preference to > sam, it will astonish you. Yes, I know how to use acme for editing, and had learned it before acme had been written. In 1991, I think. > I keep using sam by habit, and it seems to > me to be a bad habit. I don't think sam is a bad habit. It is a different editor, less integrated into Plan9/rio, but I use it not just in Plan 9. The question, however, was not how to do 4 spaces per tab in sam. It was the opposite. I was asking how to make window show 8 spaces per tab. I've looked into the sources. It turns out that I cannot do it for one window, I have to set tabstop and run rio. It can be obvious for you, but it was not for me, untill I looked at what /bin/window is. The code in acme.c appears to be copy'n'pasted from the same source as code in rio.c, with independent default value for maxtab. Why it is needed? Is acme supposed to run without rio? David Tolpin