AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/edit/DoEdge.lha

Mirror:Random
Showing: i386-amithlon icongeneric icon
No screenshot available
Short:Workaround for Edge text editor bug
Author: dlester at ncw.net
Uploader:dlester ncw net
Type:text/edit
Architecture:m68k-amigaos
Date:1994-08-19
Download:text/edit/DoEdge.lha - View contents
Readme:text/edit/DoEdge.readme
Downloads:507

This program was written because I got sick and tired of Edge's
inability to edit a file that does not exist.

You probably went back to read that again because your brain said,
"Huh?" when you finished reading it the first time.  Rest assured
there is a valid point there.

When you invoke Edge with a filename parameter it opens that file
so you can go to work on it.  This is what you would expect, but
have you ever noticed what it does if you invoke it with a filename
that doesn't exist?

Quite simply, it gives you an error and then discards the filename
completely.  This is very annoying!  Apparently the authors of Edge
never thought you would want to create a new file using Edge.

If you have ever tried to use Edge with an offline mail reader, you
may have noticed that you can reply to messages, but writing a new
message is problematic.

If this doesn't make any sense to you, then you probably haven't
run into this problem in your daily use of Edge.  If you have run
into it, this little hack will solve your problem.

Usage for this program is:  DoEdge <filename>

If <filename> exists, it is opened by Edge for editting.  If
<filename> does not exist, a zero length file called <filename> is
created, then that file is opened by Edge.  It essentially replaces
the Edge command anywhere you might use it.

So, in your offline reader config window, put DoEdge in place of
Edge and those problems will disappear.

The only real requirements for this program to work are that Edge
needs to be somewhere in your path, and DoEdge needs to also be in
your path if you want it to be accessible from any directory on
your system.


Contents of text/edit/DoEdge.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 3657    6544  55.9% -lh5- 2a73 Aug 18  1994 DoEdge
[generic]                  855    1760  48.6% -lh5- 4895 Aug 18  1994 DoEdge.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    4512    8304  54.3%            Aug 19  1994
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>