Xref: utzoo comp.unix.misc:1110 comp.editors:2711 Path: utzoo!news-server.csri.toronto.edu!rutgers!att!ucbvax!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal L. Schwartz) Newsgroups: comp.unix.misc,comp.editors Subject: Re: VI (can you fully justify test) Keywords: VI, vi, editing tricks Message-ID: <1991Mar13.164026.12718@iwarp.intel.com> Date: 13 Mar 91 16:40:26 GMT References: <668287724.2919@mindcraft.com> <1991Mar07.010020.294@convex.com> <1991Mar10.215552.8366@hybrid.UUCP> <1991Mar12.055337.10655@vpnet.chi.il.us> Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal L. Schwartz) Followup-To: comp.unix.misc Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 33 In-Reply-To: dattier@vpnet.chi.il.us (David W. Tamkin) In article <1991Mar12.055337.10655@vpnet.chi.il.us>, dattier@vpnet (David W. Tamkin) writes: | fmt must be something in BSD Unix. The question of justifying within vi | comes up often, and someone always says "Filter through fmt, that's all!" | | Then someone else says, "There's no fmt on my system." I've certainly never | found it anywhere I've had shell access. | | (Actually, fmt, if it does what I think it does, will just reduce the | raggedness of the right edge; it won't right-justify text. My personal | opinion is that ragged-right text is far easier to read, but that's another | matter. Perhaps there are some command-line options to fmt that will make it | actually justify the right margin or, if that's what it does with no options | specified, there might be an option to have it produce output with a ragged | right margin as great as possible without exceeding a specified maximum.) If the text is simple (relatively troff-escape free), I just put .ad b .ll 70 .pl 1 in front, and say !!nroff Simple. Just another 'roff hacker, -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/