Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art, started 15 Oct 1996.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
Editor for "ASCII-Drawing"?

Editor for "ASCII-Drawing"?

alt.ascii-art · 14 messages · 15 Oct 1996 - 23 Oct 1996
sch...@mec.fh-muenchen.de (Joerg Schoeppe) writes:

> Are there some mappings for vi out in the net?  Or something like
> a "drawing" editor?

C-h f picture-mode

picture-mode: an interactive autoloaded Lisp function in `picture'.

Switch to Picture mode, in which a quarter-plane screen model is used.
Printing characters replace instead of inserting themselves with motion
afterwards settable by these commands:
  C-c <	  Move left after insertion.
  C-c >	  Move right after insertion.
  C-c ^	  Move up after insertion.
  C-c .	  Move down after insertion.
  C-c `	  Move northwest (nw) after insertion.
  C-c '	  Move northeast (ne) after insertion.
  C-c /	  Move southwest (sw) after insertion.
  C-c \   Move southeast (se) after insertion.

[Lots deleted]

Emacs.



H�vard Fosseng

Joerg Schoeppe <sch...@mec.fh-muenchen.de> ASCII art 15 Oct 1996 00:00 · permalink · report
I want to create ASCII-drawings like this:

                                           +-----+
                                           |     |<----------------+
                                       +---| XOR |                 |
                                       |   |     |<---+            |
                                       |   +-----+    |            |
    +-----+                       <----+              |            |
    |     |<--------                                  |            |
 +--| XOR |                                           |            |
 |  |     |<--+                                       |            |
 |  +-----+   |                                       |            |
 |            |                                       |            |


Are there some mappings for vi out in the net?  Or something like
a "drawing" editor?

Thanks in advance

J"oerg

--
Joerg Schoeppe - Labor Mikroelektronik - FH-Muenchen
sch...@mec.fh-muenchen.de - http://www.mec.fh-muenchen.de/~schoeppe
Public key available via 'finger -l sch...@sun1.mec.fh-muenchen.de'
Key fingerprint =  C1 58 7A 1E BD 88 75 6B  21 8E 80 78 CB 09 67 7C 

"H�vard Fosseng" <hav...@usit.uio.no> writes:

> 
> sch...@mec.fh-muenchen.de (Joerg Schoeppe) writes:
> 
> > Are there some mappings for vi out in the net?  Or something like
> > a "drawing" editor?
[emacs reply deleted]

vile also supports this kind of thing.
    ftp.clark.net:/pub/dickey/vile
sources + binaries for OS/2 and (apparently) Win32.
-- 
Jim Crigler <cri...@seo.com>
Schwartz Electro-Optics, Inc.
3404 N. Orange Blossom Tr.      Phone:  (407)298-1802 x132
Orlando FL 32804-3498           Fax:    (407)290-9666

H�vard Fosseng (hav...@usit.uio.no) wrote:
: sch...@mec.fh-muenchen.de (Joerg Schoeppe) writes:
: 
: > Are there some mappings for vi out in the net?  Or something like
: > a "drawing" editor?
: 
: C-h f picture-mode
: 

vile comes with a simple picture drawing mode, written in vile's macro
language.  the biggest problem with it is that you need to start on a
blank "canvas" of lines made up of spaces.  other than that, you move
around with h,j,k,l, and it draws the right lines.  diagonals work too,
based on u,i,n, and m (based on keyboard layout, nothing else), and
you can type other text whenever you want.  it's not perfect, but it's
as useful as an ascii drawing tool really needs to be these days.  hmmm.
given the newsgroups line, i'm not sure i should have said that last bit.

vile 6.2 available from ftp://ftp.clark.net/pub/dickey/vile.

paul

-- 
---------------------
    paul fox                            american internet corporation
    pg...@american.com			(home: pg...@foxharp.boston.ma.us)


TSE Pro 2.5 from Semware (Dos & Windows95) supports this.
You set line-drawing mode ON and select a line-drawing-type ASCII.
You can download a demo version from www.semware.com.

sch...@mec.fh-muenchen.de (Joerg Schoeppe) wrote:

>I want to create ASCII-drawings like this:

>                                           +-----+
>                                           |     |<----------------+
>                                       +---| XOR |                 |

Have you already tried Ntuitive Editor? Press F7 and then draw single
or double lines or draw with a user defined char using the cursor keys
(with shift pressed). Crossing lines are automatically inserted.

Have a look at  http://pobox.com/~schlauri.
Version 3.0 has been released two weeks ago.

The program's completely in German. A translation to english is being
done during these days.

>Thanks in advance

>J"oerg

You're welcome.

Simon
_______________________________________________________________________
Ntuitive Software				Simon Schlauri
http://pobox.com/~schlauri			St.Gallen Switzerland
sch...@pobox.com

me <rf...@netcom.com> 21 Oct 1996 00:00 · permalink · report
In article <54g3pv$t2...@alpha.netusa.net> el...@alpha.netusa.net (Eli The Bearded) writes:
>
>I haven't done any ascii art in a while. I know some of the vi-clones
>support rectangular yank/put's but I don't remember which. There might
>be some other things in the clones that would be useful.
>

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.

-- 
                          ~ bob (Bob Hutson)
==========================================================================
       rf...@netcom.com

T.E.Dickey <dic...@clark.net> ASCII art 21 Oct 1996 00:00 · permalink · report
In comp.editors me <rf...@netcom.com> wrote:
: In article <54g3pv$t2...@alpha.netusa.net> el...@alpha.netusa.net (Eli The Bearded) writes:
: >
: >I haven't done any ascii art in a while. I know some of the vi-clones
: >support rectangular yank/put's but I don't remember which. There might
: >be some other things in the clones that would be useful.
: >

: 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.
I'm a little rusty in this region (pun intended), but vile implements
rectangles (as do elvis -- which did it first -- and vim).  I know you
can yank a rectangle with vile (I just did).

And there's a put (but it's more of an insert).  Perhaps Kevin Buettner
(who did most of it) will elaborate (he can probably do a real "put").
------------------------------------------------------------
------ascii art in a while. I kno------------------------------------------------------
------ yank/put's but I don't rem------------------------------------------------------
------s in the clones that would ------------------------------------------------------
------                           ------------------------------------------------------
------                           ------------------------------------------------------
------f any vi clones you know of------------------------------------------------------
------s.  I have been wanting thi------------------------------------------------------
------n advance.                 ------------------------------------------------------
------this region (pun intended),------------------------------------------------------
------s -- which did it first -- ------------------------------------------------------
------------------------------------------------------------
-- 
Thomas E. Dickey
dic...@clark.net

H�vard Fosseng <hav...@usit.uio.no> wrote:
>sch...@mec.fh-muenchen.de (Joerg Schoeppe) writes:
>> Are there some mappings for vi out in the net?  Or something like
>> a "drawing" editor?
>C-h f picture-mode
...
>Emacs.

vi!=emacs.

I haven't done any ascii art in a while. I know some of the vi-clones
support rectangular yank/put's but I don't remember which. There might
be some other things in the clones that would be useful.

I found these mappings handy in regular vi:

	map {^ arrow} ^[klR
	map {v arrow} ^[jlR
	map {< arrow} ^[R
	map {> arrow} ^[llR

These allow the arrow keys to freely move you around in 'R'eplace
mode.

Elijah
------
much more likely to write obfuscated programs to generate ascii-art

rf...@netcom.com (me) 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.

Vim can do this.  You can find Vim at
http://www.math.fu-berlin.de/~guckes/vim/vim.distribution.html .

In article <54kh7v$ln...@voyager.iii.org.tw>,
 <dsk...@cameonet.cameo.com.tw> wrote:
>Bob Hutson (rf...@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.

-- 
/*  jha...@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]]);}

dsk...@cameonet.cameo.com.tw ASCII art 23 Oct 1996 00:00 · permalink · report
Bob Hutson (rf...@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.
 
It's not vi, but it has more clones than you can shake a stick at.
It will delete, move, or copy a rectangle, which it calls a "column
block."  A rectangle can shove existing text over, or replace it.
 
In Column Block mode, you can combine this:
 
.-----.---.---.
| Tab | Q | W |
:-----`.--`.--'.
| Ctrl | A | S |
:------`.--`.--'.
| Shift | Z | X |
`-------`---`---'
 
...with this:
 
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
 
...to get this:
 
abcdefghijklmnopqrstuvwxyz
abcd.-----.---.---.  efghijklmnopqrstuvwxyz
abcd| Tab | Q | W |  efghijklmnopqrstuvwxyz
abcd:-----`.--`.--'. efghijklmnopqrstuvwxyz
abcd| Ctrl | A | S | efghijklmnopqrstuvwxyz
abcd:------`.--`.--'.efghijklmnopqrstuvwxyz
abcd| Shift | Z | X |efghijklmnopqrstuvwxyz
abcd`-------`---`---'efghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
 
...or, with Column Replace on, to get this:
 
abcdefghijklmnopqrstuvwxyz
abcd.-----.---.---.  vwxyz
abcd| Tab | Q | W |  vwxyz
abcd:-----`.--`.--'. vwxyz
abcd| Ctrl | A | S | vwxyz
abcd:------`.--`.--'.vwxyz
abcd| Shift | Z | X |vwxyz
abcd`-------`---`---'vwxyz
abcdefghijklmnopqrstuvwxyz
 
Often imitated, never equaled.
 
WordStar.
 
A diamond is forever.
 
Dan Strychalski   dsk...@cameonet.cameo.com.tw

On 23 Oct 1996 dsk...@cameonet.cameo.com.tw wrote:

>Bob Hutson (rf...@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.
>
>It's not vi, but it has more clones than you can shake a stick at.
>It will delete, move, or copy a rectangle, which it calls a "column
>block."  A rectangle can shove existing text over, or replace it.
>
>Often imitated, never equaled.
>
>WordStar.

If you must use vi, get vim:
  http://www.math.fu-berlin.de/~guckes/vim/

Or elvis:
  ftp://ftp.cs.pdx.edu/pub/elvis/

Both of these vi clones support rectangular operations (columns).

However, I must also agree with the second respondent. My
personal favorite editor is TSE Pro by SemWare, which has just
released a Win32 console mode version of the editor. I have
written a CUA/WordStar compatible user interface for the editor
that implements the fastest and easiest support for column blocks
of any editor that I know of.

-----------------------------
Bill Stewart
wst...@unm.edu
http://www.unm.edu/~wstewart/
-----------------------------

wst...@unm.edu (Bill Stewart):
> [elvis and vim]  Both of these vi clones support rectangular operations
> (columns).  My personal favorite editor is TSE Pro by SemWare, which has
> just released a Win32 console mode version of the editor. I have written a
> CUA/WordStar compatible user interface for the editor that implements the
> fastest and easiest support for column blocks of any editor that I know of.

OK, I'll bite:
Which column block operations/commands are there that make it easier with TSE?
A comparison would be nice.

Sven

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art in 1996 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post