🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3314

Re: alignment on the right hand side

#3314
From: Damian Cugley
Date: Fri, 16 Sep 1988 18:33
37 lines
1957 bytes
In article <15889@shemp.CS.UCLA.EDU> chang@cs.ucla.edu (Keh-Jeng Chang) writes:

>When I post articles on newsgroups, I always hope that there are some
>editors out there which can align the right hand side of my articles
>[...]
>Do you know of any such editors?  Can 'vi' do it?

irf@kuling.UUCP (Bo Thide)  12 Sep 1988
> Yes, since 'vi' can filter an arbitrary portion of its buffer
> through any filter you can use several methods to achieve
> a justified right-hand margin.

Almost any UN*X editor should be able to do this - ed, ex, mailx, Mail,
Elm, even ved and spy.   One notable exception is the SunView textedit,
which allows you to bind filters to keys but doesn't allow you to pick
one completely arbitrarily.
  Is it possible to pick two arbitrary points in vi and invoke a filter
on that region of the buffer without all the counting of lines I ended
up doing?  Better still, can I select these two points using my mouse?

> E.g., for passing the text from the cursor to the end of the paragraph
> through the command 'cmd', type
> ESC!}cmd

S'funny, I seem to remember a text editor wot did paragraph re-formating
with one keystroke...  But of course typing `{ ! } adjust -jm60 RET'
every time you insert a word is much more efficient and mnemonic than
`Meta-Q'.

question> Is there a `fmt' or `adjust' clone capable
question> of doing something similar to the Emacs
question> fill-prefix?

(Actually don't use justified text with fixed-width-fonts, the irregular
spacing looks ugly.)

pdc
Technical Details
Message-ID: <2000002@otter.hple.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!ucsd!ucbvax!hplabs!otter!pdc
References: <15889@shemp.CS.UCLA.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!ucsd!ucbvax!hplabs!otter!pdc
From: pdc@otter.hple.hp.com (Damian Cugley)
Newsgroups: comp.editors
Subject: Re: alignment on the right hand side
Message-ID: <2000002@otter.hple.hp.com>
Date: 16 Sep 88 18:33:36 GMT
References: <15889@shemp.CS.UCLA.EDU>
Organization: Hewlett-Packard Laboratories, Bristol, UK.
Lines: 37