Article View: comp.editors
Article #3104Re: How to put vi into 132 column mode?
From: Eric Koldinger
Date: Wed, 27 Apr 1988 20:34
Date: Wed, 27 Apr 1988 20:34
16 lines
1108 bytes
1108 bytes
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
Technical Details
Message-ID:
<2775@pasteur.Berkeley.Edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ji.Berkeley.EDU!koldingReferences:
<4524@mnetor.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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