Tags:
view all tags
---+ vi Editor I have not used [[https://en.wikipedia.org/wiki/Vi][vi]] for a very long time. The [[https://en.wikipedia.org/wiki/Editor_war][vi EMACS war]] is over but others have won. I was looking for a tiny editor which can be easily adapted and embedded into a (Forth) system. But for me vi is better suited for restricted (embedded) systems. To see a screen full with ~ at the beginning of the lines makes me happy. This vi has its origin from !BusyBox tiny vi. But there are some differences: * The program is resident. The text buffer and other buffers too. You can leave the program without saving, do some work on the command line and go back to vi and continue the edit task. * The text buffer is restricted to 40 !KiB. Large files have to be split up. * Mecrisp Forth uses DOS/Windows style line endings carriage return and line feed ("\r\n"). Unix (and vi) uses just line feed ("\n"). * The command <b>v</b> evaluates a line. My editor history: * CP/M Turbo Pascal Editor (Wordstar) OKI if800, Z80 Assembler, Pascal, 1984 * UNIX Rand Editor, Perkin Elmer, 1985 * VMS EDT !MicroVAX, Pascal, Oracle DB, 1987 * vi ([[https://en.wikipedia.org/wiki/MKS_Toolkit][MKS Toolkit]]) IBM PC DOS cross-assembler for NEC's 75X 4-bit MCUs, Coherent OS, Linux, 1988 * UNIX EMACS as system administrator for DEC Tru64 UNIX, SUN Solaris, and Linux servers, 1996 * IDE (Eclipse, !NetBeans, EWARM), 2010 ---++ !BusyBox and !ToyBox * https://git.busybox.net/busybox/plain/editors/vi.c * [[https://en.wikipedia.org/wiki/Toybox][Toybox]] * https://github.com/landley/toybox/blob/master/toys/pending/vi.c ---+ Documentation, Manual There are plenty of documents about vi: * Busybox vi tutorial https://k.japko.eu/busybox-vi-tutorial.html * Learning the vi Editor/BusyBox vi https://en.wikibooks.org/wiki/Learning_the_vi_Editor/BusyBox_vi * Unix/Linux - The vi Editor Tutorial https://www.tutorialspoint.com/unix/unix-vi-editor.htm * vi Editor "Cheat Sheet" http://www.atmos.albany.edu/daes/atmclasses/atm350/vi_cheat_sheet.pdf -- %USERSIG{PeterSchmid - 2020-08-29}% ---++ Comments %COMMENT%
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r17
|
r7
<
r6
<
r5
<
r4
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r5 - 2020-09-21
-
PeterSchmid
Home
Site map
Cosmac web
MRR web
MecrispCube web
SuperRandonnee web
TWiki web
Ursula web
Velo web
MecrispCube Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback