Skip navigation.
Home
The QNX Community Portal

View topic - No controlling tty

No controlling tty

Discussion about the QNX6 OS.

No controlling tty

Postby sheran.vaz » Tue Dec 23, 2014 3:22 am

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
sheran.vaz
Active Member
 
Posts: 98
Joined: Mon May 11, 2009 9:17 am

Re: No controlling tty

Postby Tim » Tue Dec 23, 2014 7:12 pm

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
Tim
Senior Member
 
Posts: 1389
Joined: Wed Mar 10, 2004 12:28 am


Return to QNX6 - OS

Who is online

Users browsing this forum: Google [Bot] and 1 guest