Forum Topic - Port of shells/mksh for 6.4.0:
   
Port of shells/mksh for 6.4.0  
Hi there,

based on an initiative I started in this forum

http://www.openqnx.com/index.php?name=PNphpBB2&file=viewtopic&p=46622

I created the first port for the shell mksh (really unknown, but it's a good shell) for QNX 6.4.0.

Please commit the attached diif file to the pkgsrc repository.

Thank you,
André Wösten
Attachment: Text shells_mksh.diff 1.53 KB
Re: Port of shells/mksh for 6.4.0  
On Wed, May 27, 2009 at 05:45:57PM -0400, André Wösten wrote:
> Hi there,
> 
> based on an initiative I started in this forum
> 
> http://www.openqnx.com/index.php?name=PNphpBB2&file=viewtopic&p=46622
> 
> I created the first port for the shell mksh (really unknown, but it's a good shell) for QNX 6.4.0.
> 
> Please commit the attached diif file to the pkgsrc repository.

I fixed it slightly differently.  Please see attached diff.
Can you update the mksh folks?  Do all the tests pass for you?

Thanks,

-seanb
Attachment: Text diff 1.58 KB
Re: Port of shells/mksh for 6.4.0  
> On Wed, May 27, 2009 at 05:45:57PM -0400, André Wösten wrote:
> > Hi there,
> > 
> > based on an initiative I started in this forum
> > 
> > http://www.openqnx.com/index.php?name=PNphpBB2&file=viewtopic&p=46622
> > 
> > I created the first port for the shell mksh (really unknown, but it's a good
>  shell) for QNX 6.4.0.
> > 
> > Please commit the attached diif file to the pkgsrc repository.
> 
> I fixed it slightly differently.  Please see attached diff.
> Can you update the mksh folks?  Do all the tests pass for you?
> 
> Thanks,
> 
> -seanb

Looks good, sean.

The tests pass for me.

Thank you!
André


Re: Port of shells/mksh for 6.4.0  
> 
> Looks good, sean.
> 
> The tests pass for me.

Can you send to patch back the the mksh maintainters?

Thanks,

-seanb
Re: Port of shells/mksh for 6.4.0  
OK, I sent him the patch. He will commit it to the mksh repository today. After commit I will update the port.

André
Re: Port of shells/mksh for 6.4.0  
Sean,

TG (the developer of mksh) also informed me, that the version of /bin/ed in QNX is oldish.

https://www.mirbsd.org/cvs.cgi/src/bin/ed/

It's licensed under BSD and he recommends you (the developers of QNX) to possibly update to it. Here the log message of 
the commit, when he ported to QNX the first time:

"the QNX /bin/ed problem is worse than thought; use a new mechanism,
because categories in check.t are OR’d:
• no-stderr-ed disables the newish-ed tests (tried using testcase)
• stdout-ed enables the oldish-ed tests (variable, if the above
  testcase succeeds, it’s added, but QNX overrides the variable)"

-> http://article.gmane.org/gmane.os.miros.cvs/19877

André