Article View: net.micro.pc
Article #6115Re: History mechanism in MS-DOS?
From: aglew
Date: Tue, 01 Apr 1986 13:33
Date: Tue, 01 Apr 1986 13:33
81 lines
3897 bytes
3897 bytes
Since I posted applause for the wonderful person who wrote DOSEDIT and
made it public domain, I have been deluged in requests (1) to send the
program, and (2) for instructions on how to use the program if people
already have it.
(1) Unfortunately, I sold Samwise, my Hyperion PC, to my father when I
left Montreal, so I no longer have any PC programs. However, I did
proselytize quite a few people into using it at McGill - perhaps one
of them can put it in net.sources? Are you listening CVaRLers?
(1a) I believe that it was originally uploaded from an American BBS;
it might help knowing that the author lived in Burlington Vermont.
If anybody knows of a board that carries this program, please inform.
(1b) May I call people's attention to Edward Vielmetti's posting?:
>/* Written 7:40 pm Mar 26, 1986 by emv@ccunix.UUCP */
>CED (by Chris Dunford) is much better than Dosedit. It implements
>all the same features (history) and adds many more (synonyms, multiple
>statements on the same line, parameter recall). Available on Compuserve
>(PCS-129), or on your local BBS.
>
>Edward Vielmetti, Computing Center Microgroup, University of Michigan.
>emv%UMich-MTS.Mailnet@MIT-Multics.ARPA
>emv@madvax.UUCP (through ihnp4, I guess)
>/* End of text from ccvaxa:net.micro.pc */
Sounds good - although I hope it is not simply a C Shell for the PC.
(2) If you can find a copy of DOSEDIT, here are instructions for using it,
most of which are immediately apparent:
To invoke DOSEDIT, simply put DOSEDIT in your AUTOEXEC.BAT file.
Thereafter, any command you enter can be edited using the arrow keys left
and right, control + arrow keys for word movement, home and end as you
would expect.
Pressing up or down moves you through the buffer of saved commands; ^PgUp
flushes the buffer, ^PgDn flushes the currently displayed entry.
ESC erases curreent command line; INS and DEL per character; INS toggles
insert mode, as indicated by block or line prompt.
Press enter to execute a command once you've edited it.
DOSEDIT provides simple aliases. Create an alias file consisting of an
alias, whitespace, and what you want it to stand for. Sorry, no argument
substitution. For example, here was my alias file on the PC:
pwd cd
a a:
b b:
c c:
d d:
e e:
f f:
g g:
h h:
i i:
j j:
ram d:
me c:
ed see
vi see
m make
mk make
-poll cd h:\hack\poll
-naplps cd i:\incl\ag\naplps
As you can see, I mainly used it to avoid typing colons. You can't
define them on the fly, but occasionally I went into a subshell with
temporarily defined aliases.
Invoke DOSEDIT FILENAM - with the name of the alias file as an argument.
The version I had did not understand pathnames.
Type ^A to see current aliases.
DOSEDIT keeps two distinct buffers, one for DOS, the other for applications.
This works, for eg., in DBASE II. You can use it for your programs by
using the DOS get-string interrupt, which is otherwise useless.
Technical Details
Message-ID:
<3000006@ccvaxa>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglewReferences:
<199@dcc1.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site ccvaxa Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew From: aglew@ccvaxa.UUCP Newsgroups: net.micro.pc Subject: Re: History mechanism in MS-DOS? Message-ID: <3000006@ccvaxa> Date: Tue, 1-Apr-86 08:33:00 EST Article-I.D.: ccvaxa.3000006 Posted: Tue Apr 1 08:33:00 1986 Date-Received: Sat, 5-Apr-86 03:51:36 EST References: <199@dcc1.UUCP> Lines: 81 Nf-ID: #R:dcc1.UUCP:199:ccvaxa:3000006:000:3216 Nf-From: ccvaxa.UUCP!aglew Apr 1 07:33:00 1986