X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107393,2a296f26445f348c X-Google-Attributes: gid107393,public X-Google-Thread: f996b,2a296f26445f348c X-Google-Attributes: gidf996b,public From: jhallen@world.std.com (Joseph H Allen) Subject: Re: Editor for "ASCII-Drawing"? Date: 1996/10/23 Message-ID: #1/1 X-Deja-AN: 191587275 distribution: inet references: <54kh7v$lnh@voyager.iii.org.tw> organization: The World Public Access UNIX, Brookline, MA keywords: ASCII art, editors, rectangle operations newsgroups: comp.editors,alt.ascii-art In article <54kh7v$lnh@voyager.iii.org.tw>, wrote: >Bob Hutson (rfh@netcom.com) wrote -- >> Please let me know of any vi clones you know of that support >> rectangular yank/puts. I have been wanting this feature for a long >> long time. Thanks in advance. >In Column Block mode,... >WordStar. >A diamond is forever. JOE can do this and much more- including filter rectangles through unix commands. It even includes a fully complete WordStar nondocument compatibility mode which runs as a seperate program: jstar. You can get JOE by anonymous ftp from ftp.std.com, file: src/editors/joe2.8.tar.Z. If you have Linux, you already have JOE. Also a DOS version is availaible on ftp.std.com, file: src/msdos/editors/joe2x2.zip. Incidentally, JOE also emulates emacs (jmacs) and I'm currently working on getting the column mode to work for the emacs yank system. -- /* jhallen@world.std.com (192.74.137.5) */ /* Joseph H. Allen */ int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0) +r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2 ]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}