Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site mtx5w.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtune!mtunf!mtx5c!mtx5d!mtx5a!mtx5e!mtx5w!bls From: bls@mtx5w.UUCP (Bernard Smith) Newsgroups: net.lang.c Subject: Re: Re: Indentation and braces Message-ID: <733@mtx5w.UUCP> Date: Wed, 11-Jun-86 12:11:03 EDT Article-I.D.: mtx5w.733 Posted: Wed Jun 11 12:11:03 1986 Date-Received: Sun, 15-Jun-86 01:47:12 EDT References: <855@bentley.UUCP> <-18363551@sneaky> <2922@utcsri.UUCP> <4023@sun.uucp> Organization: AT&T Information Systems, Middletown, NJ 07748-4801. Lines: 30 > > In article <-18363551@sneaky> gordon@sneaky writes: > > ^^^^^ ???? > > It's a "notesfiles" site, presumably; they don't use the ordinal number > of the article to generate the article ID. They don't have to, either; the > article ID merely has to be unique. > > > Correct me if I'm wrong, but I was under the impression that UN*X tabs > > are at columns 1,9,17,25 etc and that this is not recommended, but in > > fact *required* to get anywhere (e.g. ls emits tabs ). > > Sort of, but not really. There's a hack which dates back to PWB/UNIX, and > is still around in System V, where you can stick a "tab specification" into > a file indicating where the tab stops should be for that file. I think the > S5 "ed" will do its own tab expansion on output if it's editing such a file, > and there are programs to do the tab expansion on files like that for > printing. The S5 "tabs" command can take a "tab specification" and set the > hardware tabs according to that specification, or can read a file and set > the tabs for the tab specification in that file. I don't think the "vi" > supplied with S5 knows about them, however. Given what PWB/UNIX was > originally intended for, it should be obvious why this "tab specification" > stuff was stuck into PWB/UNIX. > -- Tab specifications can be passed to vi (in S5) using a file .exrc in your home directory: I use tabs every four columns (1, 5, 9, etc.) and my .exrc file contains (in part) set ts=4 shiftwidth=4 set ht=4 Bernard Smith, AT&TIS, Middletown, N.J.