-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1853fce
Showing
98 changed files
with
23,805 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blk.obj cmd1.obj cmd2.obj curses.obj cut.obj + | ||
ex.obj input.obj main.obj misc.obj modify.obj + | ||
move1.obj move2.obj move3.obj move4.obj move5.obj + | ||
opts.obj recycle.obj redraw.obj regexp.obj + | ||
regsub.obj system.obj tio.obj tmp.obj vars.obj + | ||
vcmd.obj vi.obj pc.obj sysdos.obj tinytcap.obj /co /noi /map + | ||
/pac /far /stack:0x4000 | ||
elvis.exe; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
# Makefile for MSC - if you don't have NDmake, use this one, | ||
# but don't expect to be happy. | ||
# And don't expect to do anything but making the executables, either. | ||
|
||
OBJS= blk.obj cmd1.obj cmd2.obj curses.obj cut.obj ex.obj input.obj \ | ||
main.obj misc.obj modify.obj move1.obj move2.obj move3.obj move4.obj \ | ||
move5.obj opts.obj recycle.obj redraw.obj regexp.obj regsub.obj \ | ||
system.obj tio.obj tmp.obj vars.obj vcmd.obj vi.obj \ | ||
pc.obj sysdos.obj tinytcap.obj | ||
|
||
CFLAGS= -DCS_IBMPC -DCS_SPECIAL | ||
CC= cl -AM | ||
|
||
blk.obj: blk.c | ||
$(CC) $(CFLAGS) -c blk.c | ||
|
||
cmd1.obj: cmd1.c | ||
$(CC) $(CFLAGS) -c cmd1.c | ||
|
||
cmd2.obj: cmd2.c | ||
$(CC) $(CFLAGS) -c cmd2.c | ||
|
||
curses.obj: curses.c | ||
$(CC) $(CFLAGS) -c curses.c | ||
|
||
cut.obj: cut.c | ||
$(CC) $(CFLAGS) -c cut.c | ||
|
||
ex.obj: ex.c | ||
$(CC) $(CFLAGS) -c ex.c | ||
|
||
input.obj: input.c | ||
$(CC) $(CFLAGS) -c input.c | ||
|
||
main.obj: main.c | ||
$(CC) $(CFLAGS) -c main.c | ||
|
||
misc.obj: misc.c | ||
$(CC) $(CFLAGS) -c misc.c | ||
|
||
modify.obj: modify.c | ||
$(CC) $(CFLAGS) -c modify.c | ||
|
||
move1.obj: move1.c | ||
$(CC) $(CFLAGS) -c move1.c | ||
|
||
move2.obj: move2.c | ||
$(CC) $(CFLAGS) -c move2.c | ||
|
||
move3.obj: move3.c | ||
$(CC) $(CFLAGS) -c move3.c | ||
|
||
move4.obj: move4.c | ||
$(CC) $(CFLAGS) -c move4.c | ||
|
||
move5.obj: move5.c | ||
$(CC) $(CFLAGS) -c move5.c | ||
|
||
opts.obj: opts.c | ||
$(CC) $(CFLAGS) -c opts.c | ||
|
||
recycle.obj: recycle.c | ||
$(CC) $(CFLAGS) -c recycle.c | ||
|
||
redraw.obj: redraw.c | ||
$(CC) $(CFLAGS) -c redraw.c | ||
|
||
regexp.obj: regexp.c | ||
$(CC) $(CFLAGS) -c regexp.c | ||
|
||
regsub.obj: regsub.c | ||
$(CC) $(CFLAGS) -c regsub.c | ||
|
||
system.obj: system.c | ||
$(CC) $(CFLAGS) -c system.c | ||
|
||
tio.obj: tio.c | ||
$(CC) $(CFLAGS) -c tio.c | ||
|
||
tmp.obj: tmp.c | ||
$(CC) $(CFLAGS) -c tmp.c | ||
|
||
vars.obj: vars.c | ||
$(CC) $(CFLAGS) -c vars.c | ||
|
||
vcmd.obj: vcmd.c | ||
$(CC) $(CFLAGS) -c vcmd.c | ||
|
||
vi.obj: vi.c | ||
$(CC) $(CFLAGS) -c vi.c | ||
|
||
pc.obj: pc.c | ||
$(CC) $(CFLAGS) -c pc.c | ||
|
||
sysdos.obj: sysdos.c | ||
$(CC) $(CFLAGS) -c sysdos.c | ||
|
||
tinytcap.obj: tinytcap.c | ||
$(CC) $(CFLAGS) -c tinytcap.c | ||
|
||
elvis.exe: $(OBJS) | ||
link @elvis.lnk | ||
|
||
ctags.exe: ctags.c wildcard.c | ||
$(CC) ctags.c -o ctags.exe | ||
|
||
ref.exe: ref.c | ||
$(CC) ref.c -o ref.exe | ||
|
||
virec.exe: virec.c wildcard.c | ||
$(CC) virec.c -o virec.exe | ||
|
||
wildcard.exe: wildcard.c | ||
$(CC) wildcard.c -o wildcard.exe | ||
|
||
ex.exe: alias.c | ||
$(CC) alias.c -o ex.exe | ||
|
||
vi.exe: ex.exe | ||
copy ex.exe vi.exe | ||
|
||
view.exe: ex.exe | ||
copy ex.exe view.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
blk | ||
cmd1 | ||
cmd2 | ||
curses | ||
cut | ||
ex | ||
input | ||
main | ||
misc | ||
modify | ||
move1 | ||
move2 | ||
move3 | ||
move4 | ||
move5 | ||
opts | ||
recycle | ||
redraw | ||
regexp | ||
regsub | ||
system | ||
tio | ||
tmp | ||
vars | ||
vcmd | ||
vi | ||
pc | ||
sysdos | ||
tinytcap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
(These are sorted by how irritating they are. The worst bugs are at the top.) | ||
|
||
- It is impossible to edit or view the same file more than once. It is | ||
also impossible to invoke Elvis twice with no arguments when in the same | ||
directory. This is caused by the way the temp file is named based on ".", | ||
see function tmpstart() in tmp.c. | ||
|
||
- Inserting characters to make a line longer than BLKSIZE-1 (including the | ||
newline) causes a crash. BLKSIZE is 1024 by default. The shift-J and :join | ||
commands protect against this, but something like "9999a!<Esc>" will make | ||
Elvis misbehave. Also, huge files (more than about 500k) cannot be edited. | ||
|
||
- autoindent is confusingly different from vi when editing typical | ||
indented C code - e.g. after <ESC>o<ESC>xxxxxxxxxxi (x's to column 1) | ||
the last i indents again. | ||
|
||
^U backspaces to the beginning of the line, but it should only backspace to | ||
the start of auto-indent. (A second ^U could reasonably delete the indent | ||
too) | ||
|
||
- The :@ and :source commands share a single buffer. This means that they | ||
can't call each other. You can't run :source from within your .exrc file | ||
either, for the same reason. | ||
|
||
- Commands which delete text before the cursor, such as `dB', don't move the | ||
cursor, but they should. | ||
|
||
- Using the substitute command, it is not possible to replace with multi- | ||
line text using the ^V^M construct in the replacement string. Vi allows | ||
this as a special case. | ||
|
||
- The Elvis.prj file (used by Turbo-C under MS-DOS) does not force large model | ||
and the text segment is > 64K. | ||
|
||
- The visual "put" commands can't be repeated by hitting ".". | ||
|
||
- "!!ls %" doesn't expand % | ||
|
||
- Sideways scrolling is unacceptable for slow terminals. | ||
|
||
- The ":set number" option is missing, among other things. | ||
|
||
- In DOS, the default colors are not very good. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Makefile.mix |
Oops, something went wrong.