Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ji.Berkeley.EDU!kolding From: kolding@ji.Berkeley.EDU (Eric Koldinger) Newsgroups: comp.editors Subject: Re: How to put vi into 132 column mode? Message-ID: <2775@pasteur.Berkeley.Edu> Date: 27 Apr 88 20:34:14 GMT References: <4524@mnetor.UUCP> Sender: news@pasteur.Berkeley.Edu Reply-To: kolding@ji.Berkeley.EDU.UUCP (Eric Koldinger) Organization: University of California, Berkeley Lines: 15 In article <4524@mnetor.UUCP> lazer@mnetor.UUCP (Lazer Danzinger) writes: > Although I am aware that by setting the "term" type appropriately, > one can place a vt100 into 132 column mode, I would like to > solicit (preferably csh) scripts which place a vt100 into 132 column > mode; then invoke vi with "term" set to vt00-w; and upon existing > from the script, return everything back to normal. How's 'bout: alias wvi 'stty cols 132; vi \!\*; stty cols 80' That should do the trick, right? _ /| Eric \`o_O' kolding@ji.berkeley.edu ( ) "Gag Ack Barf" {....}!ucbvax!ji!kolding U