> Fixed ed(1) to print bytes read/written and the ? prompt to stdout, not stderr.
> Fixed ed(1) to print bytes read/written and the ? prompt to stdout, not stderr.
setting TERM=vt100 (with a “reset” for good measure afterwards) usually works for most if not all terminals nowadays
Kids these days and their 'everything is a vt100'. Perhaps true nowadays, but certainly not always (looks at his HP700/96).
You can expect it to be there.
Most linux distros (and most BSDs afaik) are not unix certified.
MacOS is, for that matter.
It is true that all certified Unix systems follows POSIX, but it doesn't mean that non-certified systems are forbidden to follow POSIX. Most Linux distributions have ways to turn to 98% compliant, and BSDs have always strive to follow POSIX.
Weird fact: POSIX was actually named by RMS.
They are making their operating system to the design they like best. Some of it happens to coincide with what POSIX asks for, but it is merely coincidental.
I don't know much about the process behind POSIX/SUS, but I can understand how OpenBSD developers wouldn't be super enthusiastic about POSIX compliance if they felt their input was falling on deaf ears.
FWIW, I did use the SUS as my main reference when writing a few hobby projects, and OpenBSD gave me no problems whatsoever. macOS, on the other hand, which is a certified Unix, did not support barriers at the time (that was ~10 years ago, I have no idea if Apple added support since). (I know barriers are optional, but come on.)