Path: utzoo!attcan!uunet!mcvax!enea!kth!draken!bmc1!kuling!irf From: irf@kuling.UUCP (Bo Thide) Newsgroups: comp.editors Subject: Re: alignment on the right hand side Keywords: alignment Message-ID: <825@kuling.UUCP> Date: 12 Sep 88 01:07:36 GMT References: <15889@shemp.CS.UCLA.EDU> Reply-To: irf@kuling.UUCP (Bo Thide) Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 24 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 (like wordstar in PC). > >Do you know of any such editors? Can 'vi' do it? 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. E.g., for passing the text from the cursor to the end of the paragraph through the command 'cmd', type ESC!}cmd Useful commands are 'fmt', 'adjust' and 'nroff'; see your UNIX manual. I usually use 'adjust -jm60' to get justified margin at 60 coulmns. On some (non-HP-UX) systems 'adjust' is missing and you have to use the less powerful command 'fmt' instead. -Bo -- >>> Bo Thide', Swedish Institute of Space Physics, S-755 90 Uppsala, Sweden <<< Phone (+46) 18-300020. Telex: 76036 (IRFUPP S). UUCP: ..enea!kuling!irfu!bt