Re: Music On Console (MOC)

2014-12-12 Thread Richard Toohey

On 12/12/14 19:48, Ted Unangst wrote:

On Fri, Dec 12, 2014 at 15:00, Richard Toohey wrote:


(3) can help with the POSIX questions.

The maintainer has asked the same question on a MOC forum:

http://moc.daper.net/node/1369

I have no idea what posix features they want, so it's a tough question.

Thanks for all the replies - very much appreciated.

I think I should try a different tack - I'm not a MOC user nor a 
developer and I don't understand the POSIX issues.


If anyone using OpenBSD and MOC wants to ensure that future versions 
work on OpenBSD, then now is a good time to help out.  And best to 
contact the MOC developers directly: http://moc.daper.net/node/269.


Thanks,
Richard.



Music On Console (MOC)

2014-12-11 Thread Richard Toohey

Hi, guys.

This might be more a question for ports@ but it is also a general do 
you use it question.


I've been trying to help the MOC maintainer with testing changes on OpenBSD.

He wants to use some newer POSIX features but it seems that if he does 
so, he'll have to leave OpenBSD behind.  I say it seems because I 
might have led him in the wrong direction.


I'm definitely not the best person to advise him, so asking the general 
OpenBSD crowd if:


(1) they use MOC or
(2) have any interest in support for it on OpenBSD or
(3) can help with the POSIX questions.

The maintainer has asked the same question on a MOC forum:

http://moc.daper.net/node/1369

Thanks,
Richard.



Re: Music On Console (MOC)

2014-12-11 Thread Brent Cook
I've used MOC quite a bit on OpenBSD, though just a local compile -
nothing fancy like a port. It's probably the only non-base program I
ever use on the Sparc 5.

What specifically is missing?

On Thu, Dec 11, 2014 at 8:00 PM, Richard Toohey
richardtoo...@paradise.net.nz wrote:
 Hi, guys.

 This might be more a question for ports@ but it is also a general do you
 use it question.

 I've been trying to help the MOC maintainer with testing changes on OpenBSD.

 He wants to use some newer POSIX features but it seems that if he does so,
 he'll have to leave OpenBSD behind.  I say it seems because I might have
 led him in the wrong direction.

 I'm definitely not the best person to advise him, so asking the general
 OpenBSD crowd if:

 (1) they use MOC or
 (2) have any interest in support for it on OpenBSD or
 (3) can help with the POSIX questions.

 The maintainer has asked the same question on a MOC forum:

 http://moc.daper.net/node/1369

 Thanks,
 Richard.



Re: Music On Console (MOC)

2014-12-11 Thread Luiz Roberto dos Santos
The maintainer has asked the same question on a MOC forum:
I'll take the first option:
1. Stop using MOC
I'm a user of MOC when using Linux, because it's simple to config, but I think 
the OpenBSD Project will be fine without MOC updates, and the users can switch 
to mpd.



Re: Music On Console (MOC)

2014-12-11 Thread bodie

On 12.12.2014 03:00, Richard Toohey wrote:

Hi, guys.

This might be more a question for ports@ but it is also a general do
you use it question.

I've been trying to help the MOC maintainer with testing changes on 
OpenBSD.


He wants to use some newer POSIX features but it seems that if he
does so, he'll have to leave OpenBSD behind.  I say it seems 
because

I might have led him in the wrong direction.

I'm definitely not the best person to advise him, so asking the
general OpenBSD crowd if:

(1) they use MOC or
(2) have any interest in support for it on OpenBSD or
(3) can help with the POSIX questions.

The maintainer has asked the same question on a MOC forum:

http://moc.daper.net/node/1369


Hmm

According to the OpenBSD sys/unistd.h header, the version of the 
POSIX.1 standard it targets for compliance is the 1990 one. Whatever 
their reasons, that standard's nearly a quarter of a century old now, so 
maybe in the interests of moving MOC forward we have to leave OpenBSD 
behind on MOC 2.5.


So just because something is old it's automatically bad and useless and 
for all costs wheel must be reinvented? Better to keep away from that 
type of people, developers and products.



3. Move away from OpenBSD (probably to FreeBSD or NetBSD, both of 
which target the 2001 standard)


aka don't think about why there's used different standard, simply run 
away to another bright future.





Thanks,
Richard.




Re: Music On Console (MOC)

2014-12-11 Thread Ted Unangst
On Fri, Dec 12, 2014 at 15:00, Richard Toohey wrote:

 (3) can help with the POSIX questions.
 
 The maintainer has asked the same question on a MOC forum:
 
 http://moc.daper.net/node/1369

I have no idea what posix features they want, so it's a tough question.

unistd.h does say
#define _POSIX_VERSION  199009L

That's kind of old, but the same file is also littered with lines like:
#if __POSIX_VISIBLE = 200809

This is the first I've ever heard of anybody actually looking at that
macro, which is kind of silly because practically all the interfaces in
any given version of posix appeared on at least some systems before
the standard.

As far as I know, we're pretty close to compliant with issue 7.