4 ms·
vi was originally the visual-by-default run mode of ed. And EDLIN on MS-DOS (and maybe CP/M too? don't remember) was based on ed too. That's why EDLIN and vi ha
by sedatk 2y ago
vi was originally the visual-by-default run mode of ed. And EDLIN on MS-DOS (and maybe CP/M too? don't remember) was based on ed too. That's why EDLIN and vi have similar command sets.
- susam 2y agoIf I remember correctly, vi was the visual mode of ex. I am trying to find some references for this. Here's one I could find from <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/v...>: > While ex and vi have historically been implemented as a single utility, this is not required by POSIX.1-2017. Better references would be very welcome. By the way, we can see this even today. For example, first type the following command in your terminal: ex Then at the ex prompt (the colon prompt), type this: vi This should bring up full blown Vim. The reverse is possible too. For example, in Vim, type: Q This takes us to Ex mode. Then in Ex mode type: vi This brings back Vim again.
- guerrilla 2y ago> If I remember correctly, vi was the visual mode of ex. This is correct. https://ex-vi.sourceforge.net/ https://ex-vi.sourceforge.net/