TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Portable OpenBSD vi for Unix systems

96 pointsby rdpintqogeogsaaover 1 year ago

4 comments

networkedover 1 year ago
There are many unofficial efforts to bring OpenBSD software to other systems. For example, there are at least two maintained ports of OpenBSD ksh, <a href="https:&#x2F;&#x2F;github.com&#x2F;dimkr&#x2F;loksh">https:&#x2F;&#x2F;github.com&#x2F;dimkr&#x2F;loksh</a> (Linux) and <a href="https:&#x2F;&#x2F;github.com&#x2F;ibara&#x2F;oksh">https:&#x2F;&#x2F;github.com&#x2F;ibara&#x2F;oksh</a> (cross-platform). There are also at least two of doas, <a href="https:&#x2F;&#x2F;github.com&#x2F;slicer69&#x2F;doas">https:&#x2F;&#x2F;github.com&#x2F;slicer69&#x2F;doas</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;nholstein&#x2F;OpenDoas">https:&#x2F;&#x2F;github.com&#x2F;nholstein&#x2F;OpenDoas</a>. I wish they were catalogued somewhere, like an &quot;awesome list&quot;.<p>I would love to see portable OpenBSD cron. Features like random ranges with steps (<a href="https:&#x2F;&#x2F;undeadly.org&#x2F;cgi?action=article;sid=20230507122935" rel="nofollow noreferrer">https:&#x2F;&#x2F;undeadly.org&#x2F;cgi?action=article;sid=20230507122935</a>) and `-s` (<a href="https:&#x2F;&#x2F;man.openbsd.org&#x2F;OpenBSD-7.2&#x2F;crontab.5#s" rel="nofollow noreferrer">https:&#x2F;&#x2F;man.openbsd.org&#x2F;OpenBSD-7.2&#x2F;crontab.5#s</a>) put it ahead of almost every other. It could replace many uses of systemd timers on Linux.<p>Edit: Added doas ports.
评论 #37282934 未加载
评论 #37284261 未加载
评论 #37281438 未加载
ainar-gover 1 year ago
I&#x27;ll be able to try a bit later, but does it handle UTF-8 correctly? I remember having some versions of nvi split characters through the middle when doing e.g. folding back in the day.<p><i>EDIT:</i> Sorry, I&#x27;m a dum-dum, it&#x27;s written in the README:<p>&gt; No support for Unicode &#x2F; UTF-8 &#x2F; wide character display<p>&gt; Multibyte support is planned, but is unfortunately non-trivial, […]
评论 #37283947 未加载
评论 #37281620 未加载
评论 #37280912 未加载
suprjamiover 1 year ago
You mean to tell me vi from the 1970s doesn&#x27;t support LSP? This is an outrage!
评论 #37286505 未加载
anthkover 1 year ago
Most OpenBSD users with Unicode needs will use nvi2 from ports.
评论 #37282333 未加载