Skip navigation.
Home
The QNX Community Portal

View topic - No controlling tty

Page 1 of 1

No controlling tty

PostPosted: Tue Dec 23, 2014 3:22 am
by sheran.vaz
hi,

I created a QNX bootable CD. Started /bin/sh in rtinstall script. Shell starts but below messages are displayed.

"/bin/sh: No controlling tty (open /dev/tty: No such device or address)
/bin/sh: warning: won't have full job control"

What should be done, prior starting the shell?

-Sheran

Re: No controlling tty

PostPosted: Tue Dec 23, 2014 7:12 pm
by Tim
Usually you start tinit rather than the shell. Tinit then invokes the shell when the user logs in.

http://www.qnx.com/developers/docs/6.4. ... tinit.html

If you don't do things that way then when you exit your shell it will be gone forever (ie no new shell / login).

Tim