From: wolff@inf.fu-berlin.de (Thomas Wolff)
Newsgroups: comp.archives
Subject: [comp.editors] Editor mined (Unix, VMS, MSDOS) available by ftp
Followup-To: comp.editors
Date: 21 Aug 1992 07:14:03 GMT
Organization: Free University of Berlin, Germany
Distribution: world
NNTP-Posting-Host: soda.berkeley.edu
X-Original-Newsgroups: comp.editors
X-Original-Date: 17 Aug 92 18:45:49 GMT

Archive-name: auto/comp.editors/Editor-mined-Unix-VMS-MSDOS-available-by-ftp

The editor mined is now available via anonymous ftp from 
	ftp.fu-berlin.de (130.133.4.50)

The files are:
/pub/unix/editor/mined.tar.Z (108837 Bytes)
/pub/pc/editor/mined.zip (87533 Bytes)

The zip-file contains the same files as the compressed tar-file, so 
if you are Unix user and have the Unix zip version at hand, you can 
save transmission time.
In case someone uploads the editor to another ftp site (especially US), 
please tell me.

For quick information about the improvements, I quote the README file:


This the revised release of the editor mined. August 1992.
It runs on many Unix systems, MSDOS, and VMS.

Since the previous publication in the Internet group comp.editors there 
have been 3 groups of changes:

1. Some minor changes of behaviour.
-	Control characters can now be searched for.
-	An attempt was made to include support for additional systems 
	according to information from mail feedback but without proof.

2. The source was made more robust to more demanding compilers.
   It now compiles without warnings with
	gcc -Dunix -ansi -pedantic -Wall -Wtraditional -Wpointer-arith \
	    -Wconversion -Waggregate-return -Winline
   (except warnings within the Sun library files).

3. Most improvements have been made on the MSDOS version:
-	Compatibility with different ANSI drivers was improved:
	Less capable drivers are detected by trying commands and looking 
	if the cursor moved. This still requires, however, the cursor 
	position report function. An auxiliary startup trick in case 
	cursor reports are not avalaible was also implemented but mined 
	cannot automatically determine the screen size then.
	So it is still recommended to use something like the very capable 
	NNANSI driver by Tom Almy or the small and simple well-working 
	ANSI.COM by Michael J. Mefford.
-	A problem with the Turbo-C libraries (I don't know about others) 
	was detected which inhibited mined from working in arbitrary size 
	screens (especially extended text modes; 132x44 etc).
-	The change working directory command now works with respect to 
	different drives, including change of drive only.
-	Shell escape now available on MSDOS.
-	A display bug on the prompt line of the search/replace commands 
	was removed (The initial prompt vanished after the first input).
-	Options can be given starting with / in addition to - .


To compile mined on unix, try make with the given Makefile. Depending on 
your system, you may have to change the screen handling method by selecting 
SCREEN = -DSGTTY  instead of  SCREEN = -DTERMIO  in Makefile. Only if 
both do not work, you should try the curses variant for two reasons: 
curses screen output seems to be clumsier than direct terminal control, 
and many unix curses implementations still dare to obstruct the use of 
8-bit character sets. The curses option was only built in for a quick 
port to VMS where it is automatically selected.
On some systems, you may have to define the sysV variable (see Makefile).
Optimization can be turned on or off in Makefile for generation/development.

On VMS, just compile the source files and link them with an extra library 
using the script linkmined.com.

On MSDOS, you may have the files in their unix form, i.e. with linefeed 
only newlines, so you will have to change the newlines of all text files 
(except mined.hlp which is already dedicated) to MSDOS compatible ones. 
Then compile the sources using a bigger "memory model", e.g. COMPACT, 
or you will have a poor file size restriction. Without debug information, 
the size of the EXE file will be only about 40K, and can be compressed 
with PKLITE to only about 23K.
Configuration files for Turbo-C and for Borland C are included.

Please send any reports about difficulties to install mined to:

Thomas Wolff
Freie Universit:at Berlin
Institut f:ur Informatik
D-1000 Berlin
wolff@inf.fu-berlin.de



For those who have not seen the previous version, I just repeat my 
listing of mined's basic characteristics:
- type in as you'd imagine, no mode switching, logical positioning, i.e. the 
  text appears where the cursor is, not at some funny other place like in vi
- cursor movement: basic functions available in (Wordmaster-/Wordstar-like) 
  graphic control key layout as well as the keyboards cursor movement keys; 
  use of a "hop key" for fortifying movement commands, thus making it easy 
  to remember twice the amount of basic functions (similar to Wordstar's ^Q)
- two key commands (starting with escape) for the less frequent functions
- fully functioning with all terminals (using termcap/terminfo)
- fully functioning in windows which may be resized at any time and the 
  editor will react immediately and install a correct screen image; the 
  cursor stays at the point of text where it was
- multi-file editing
- can be positioned on screen with mouse if terminal sends control sequence
- no accidental quit without save or overwrite of file not read before without 
  prior prompting in any way of exiting/writing
- search functions, replacement functions with or without confirmation dialogue
- suspend command with automatic file saving
- ability to read text from standard input or to write it to standard output
- change working directory / change file name commands
- cut/copy/paste/write-paste-buffer-to-file commands with appending versions 
  and an inter-window paste (actually paste between invocations of mined)
- most significant error messages (as a contrast to usual unix commands)
- start at specified line number possible; view only mode available
- panic handling on external interrupts with attempts to save text
- runs on Unix, VMS, and MSDOS. The VMS and MSDOS adaptations are not yet 
  perfect. The MSDOS version needs an extended ANSI driver with line insert 
  and delete line functions (e.g. NNANSI)