[comp.windows.open-look] tnt 2.0 version of elvis

mh@roger.imsd.contel.com (Mike Hoegeman) (05/14/91)

A tnt 2.0 version of elvis (the vi clone). is available for ftp from
wlv.imsd.contel.com. It is in the file ~ftp/pub/elvis.tar.Z. The file
won't be around permanently so if you are interested in it, get it now.
I have not put anything in the way of mouse support (like I hinted
that i would do for tnt 2.0 ) because I think I will end up redoing a
lot of elvis using the new tnt Jot library which has support for all
kinds of neat things. 

This current version differs from the last mainly in the fact the
scaleable fonts now work and there are some window oriented :ex line
commands not present in the old 1.0 version. Oh, it also lets you have a
personal elvis.ps in your home directory if you want to modify the
PostScript classes.

Below is the readme file.

     - mike hoegeman, mh@awds.imsd.contel.com

 ------------------------------

tNt elvis is...

    A tNt version of the vi clone elvis.  tNt elvis will figure out if
    you are using NeWS and use that for displaying if it can. Otherwise
    it will fall back on 'old termcap.

    It uses tnt version 2.0.  If you only have 1.0 then use the
    elvis*1.0* files and do a

    #define TNT_1_0   /* in ow.c */

    I don't have this neatly configured to compile either way.  But it
    should'nt be too hard to get it to work with 1.0

Bug fixes

    tNt elvis has a fair number of bug fixes to the standard 4.1
    elvis.  for example autoindent mode works a lot more like the
    original vi.  You can look in the CHANGE_NOTES file it you are
    interested in what bug fixes where made

tNt specific ex line commands:

    :back 	move the window to the bottom of the window tree
    :front 	move the window to the top of the window tree
    :close 	iconify the window
    :zoom	zoom/unzoom the window

tNt elvis specific .exrc options

    tNt elvis supports the "terse" option. "terse" gets rid of a lot of
    the [Hit return to continue] messages elvis likes to put out (like
    when you switch to a new file via :n <filename> ). Placing terse
    first in your .exrc will make elvis shut up about attributes in vi
    that elvis does not support (there aren't many really).

tNt specific flags:

    -tty 

	Force elvis to use the plain termcap display and not the tNt
	display machinery . elvis will revert to the termcap interface
	automatically if it cannot connect to the X11/NeWS server.

    -bkg
	
	Have elvis run in the background, disassociated from the parent
	process. If "elvis" is the name of this program this is the
	default.

    +bkg

	Force elvis to run in the forground process. If the name of the
	program is not elvis ("vi" for example). then this is the default.

Hackery

    If you want to hack on the postscript portion of tNt elvis just
    place a copy of elvis.ps in your home directory and tNt elvis will
    use that one instead wherever the default elvis.ps resides.

Window dressing

    Whenever you change files, tNt elvis updates the header area of the
    window frame with the file name. starting elvis up with no file
    results in "elvis" being put int the frame header. messages that
    normally appear on the :ex line appear in the window frames footer
    area. If you try to quit elvis via the "quit" menu item elvis will
    beep at you. You must quit elvis via :x or something similar.

Mode Sensitive Cursors

    Elvis has hooks to support different cursors depending on what mode
    you are in. tNt elvis supports these hooks. input/replace mode uses
    a subscripted triangle (similar to the one in textedit). command
    mode is a regular block cursor. when entering on the :ex line the
    cursor is an underline style cursor. Much better than showmode.

Pasting from X

    When running the tNt version of elvis the "x buffer contains
    whatever is currently in the xview shelf selection. I'll put
    cutting in once I get tnt2.0. Handy for pasting stuff from Xview
    applications. I'll most likely put in fancier cut/paste capability
    once I get tNt 2.0

Window resizing

    Yes virginia! , window resizing works in tNt elvis.