sergev / LiteBSD

Variant of 4.4BSD Unix for microcontrollers
Other
308 stars 36 forks source link

Add help(1), which is really man(1) executed as "man help" #53

Closed ibara closed 8 years ago

ibara commented 8 years ago

Idea from OpenBSD--also use a modified version of OpenBSD help.1

I remember talking to Will Backman (BSDTalk) somewhere about help(1), how he uses OpenBSD when he teaches at his university and how great it is to have the OS do something when a user types "help"

sergev commented 8 years ago

Wow, that's a brilliant idea indeed. Another small utility that makes sense to port from OpenBSD is "doas", a replacement for sudo, which we don't have either.

ibara commented 8 years ago

There is a portable version of doas somewhere. The downside is that doas depends exclusively on OpenBSD's login subsystem, which AFAIK no other OS has. So we'd have to rewrite those parts. I'm actually not sure what the portable version does to get it to work. But I agree it's much smaller than sudo would be.