Post B6iVbUnlcTwaLaZrVY by netbsd@mastodon.sdf.org
(DIR) More posts by netbsd@mastodon.sdf.org
(DIR) Post #B6iVbUTuoI43M1I0Z6 by rl_dane@polymaths.social
0 likes, 0 repeats
@RussSharekI think whatever patent-encumbered version that came with the old BSD Unix was probably considered the gold standard, and nvi1 is supposed to be a close approximation.
(DIR) Post #B6iVbUnlcTwaLaZrVY by netbsd@mastodon.sdf.org
0 likes, 0 repeats
@rl_dane @RussSharek You can use the original. https://ex-vi.sourceforge.net/That Caldera license might be considered sketchy these days, I'm not sure.nvi2 was done by different people, iirc, so it's not a "direct successor" to nvi. Just another improved version.
(DIR) Post #B6iVbUz6wJ1AulsvBo by lanodan@queer.hacktivis.me
0 likes, 0 repeats
@netbsd @rl_dane @RussSharek Otherwise the one present into illumos (usr/src/cmd/vi) seems to be Copyright University of California Berkeley under BSD-4-Clause plus Copyright Sun-Oracle under CDDL, which can be another option.And well there is a standard vi in terms of interface: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/vi.html
(DIR) Post #B6ikyhzYFBxhEDcGNE by gumnos@bsd.cafe
0 likes, 0 repeats
@lanodan To be fair, they're more like guidelines than actual rules. In all my testing of vi clones over the years, I've only ever encountered one that implemented :open mode (I forget whether it was Stevie or Elvis) as prescribed by POSIX standards¹ 🤷 @RussSharek @netbsd @rl_dane ⸻¹ https://pubs.opengroup.org/onlinepubs/9799919799/utilities/ex.html#tag_20_40_13_29
(DIR) Post #B6ikyiGZDvZa4zZqtc by lanodan@queer.hacktivis.me
0 likes, 0 repeats
@gumnos @RussSharek @netbsd @rl_dane Yeah true, it's why I often describe POSIX as comparable to a dictionary.Although it seems like ex(1) in Solaris 10 and 11 supports :open mode as specified.Although to be honest while I'm familiar with vis/vim and ed(1), I'm not really familiar with original vi(1) or ex(1), so could have missed a detail.