Installing C Shell

Hi,
I have some questions about the shell setting in Neutrino.
By default, I think it is set to use sh. As I look in /bin directory, there
are sh and ksh.

I want to change it to c shell (csh or tcsh) if Neutrino supports it. Does
it support c shell?
Can someone tell me how to set it up?

Thank you very much.

Eri

Eri Makimura <emakimura@aus.telusa.com> wrote:

Hi,
I have some questions about the shell setting in Neutrino.
By default, I think it is set to use sh. As I look in /bin directory, there
are sh and ksh.

I want to change it to c shell (csh or tcsh) if Neutrino supports it. Does
it support c shell?
Can someone tell me how to set it up?

I don’t know about csh and tcsh, but there is a port of bash 2.04 at:

http://staff.qnx.com/~cdm/repository/

Also you can find this on www.qnxstart.com

Best Regards,

Marcin

Thank you very much.

Eri

Marcin,

thanks for your information.
But I am not sure if bash will be a good solution for us or not, either.
We are trying to port a program from Lynx OS to QNX RTP. The program is
written in POXIX C and c shell was used. I think it is possible to port it
using a different shell, but having the same shell would be better, isn’t
it? So, in that sense, which shell are available for QNX RTP and which
shell would work best for our case? Does anyone have any similar
experience?

Thanks a lot!

Eri


“Tools Mail Account” <tools@qnx.com> wrote in message
news:9l0r6h$a0s$1@nntp.qnx.com

Eri Makimura <> emakimura@aus.telusa.com> > wrote:
Hi,
I have some questions about the shell setting in Neutrino.
By default, I think it is set to use sh. As I look in /bin directory,
there
are sh and ksh.

I want to change it to c shell (csh or tcsh) if Neutrino supports it.
Does
it support c shell?
Can someone tell me how to set it up?

I don’t know about csh and tcsh, but there is a port of bash 2.04 at:

http://staff.qnx.com/~cdm/repository/

Also you can find this on > www.qnxstart.com

Best Regards,

Marcin

Thank you very much.

Eri

Eri Makimura <emakimura@aus.telusa.com> wrote:

Marcin,

thanks for your information.
But I am not sure if bash will be a good solution for us or not, either.
We are trying to port a program from Lynx OS to QNX RTP. The program is
written in POXIX C and c shell was used. I think it is possible to port it
using a different shell, but having the same shell would be better, isn’t
it? So, in that sense, which shell are available for QNX RTP and which
shell would work best for our case? Does anyone have any similar
experience?

I think Korn shell should be good for you to use it.

btw with QNX RTOS 6.1 we ship:

  • ksh → Public domain Korn Shell command interpreter (UNIX)
  • esh → Embedded shell (QNX6)
  • fesh → Fat embedded shell (QNX6)
  • uesh → Micro-embedded shell (QNX6)

Best Regards,

Marcin

Thanks a lot!

Eri



“Tools Mail Account” <> tools@qnx.com> > wrote in message
news:9l0r6h$a0s$> 1@nntp.qnx.com> …
Eri Makimura <> emakimura@aus.telusa.com> > wrote:
Hi,
I have some questions about the shell setting in Neutrino.
By default, I think it is set to use sh. As I look in /bin directory,
there
are sh and ksh.

I want to change it to c shell (csh or tcsh) if Neutrino supports it.
Does
it support c shell?
Can someone tell me how to set it up?

I don’t know about csh and tcsh, but there is a port of bash 2.04 at:

http://staff.qnx.com/~cdm/repository/

Also you can find this on > www.qnxstart.com

Best Regards,

Marcin

Thank you very much.

Eri

Marcin Dzieciol
Technical Support
QNX Software Systems Ltd.
Email: <marcind@qnx.com>

Eri Makimura <emakimura@aus.telusa.com> wrote:
: Marcin,

: thanks for your information.
: But I am not sure if bash will be a good solution for us or not, either.
: We are trying to port a program from Lynx OS to QNX RTP. The program is
: written in POXIX C and c shell was used. I think it is possible to port it
: using a different shell, but having the same shell would be better, isn’t
: it? So, in that sense, which shell are available for QNX RTP and which
: shell would work best for our case? Does anyone have any similar
: experience?

: Thanks a lot!

Actually, I do not know if anyone bother to port tcsh or csh back to neutrino
sh/ksh/bash were enough.

There is a perl script call csh2sh somewhere on the net. But
it should be trivial to convert csh to sh … unless you have hundreds
of c shell scripts.