-sh: can't access tty; job control turned off - busybox v1.6.0
Tallam, Sreenivas
Sreenivas.Tallam at netapp.com
Fri Jan 18 02:33:15 UTC 2008
Thank for your insight Roberto.
I guess CNTRL-C will be a issue for me. I need to have that working.
And unfortunately, I am trying a montavista 4.0.1 (linux 2.6.10)
distribution with an busybox 1.6.0.
The distribution gives me a precompiled busybox without any source code
But they provide me an option of selecting the utilities that I need
from busybox through a GUI.
But I don't see setconsole as a part of the utilities nor does the nor
does the linux has it
# setconsole
-sh: setconsole: not found
# which setconsole
#
Although the other two commands that you suggested did work.
Apart from that, I did try out one other thing,
I tried to include the ttyss1 into /etc/inittab
# cat /etc/inittab
# Default entries for busybox init.
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a
::restart:/sbin/init
::askfirst:-/bin/sh
::sysinit:/etc/init.d/rcS
# Start watcher if it dies.
::respawn:/usr/local/bin/watcher
ttyss1:2345:respawn:/sbin/agetty /dev/ttyS1 9600 vt100
Would this help?
But, when I check for my current console, I see this
# tty
/dev/console
Thanks,
Sreen
-----Original Message-----
From: Roberto A. Foglietta [mailto:roberto.foglietta at gmail.com]
Sent: Thursday, January 17, 2008 4:09 AM
To: Tallam, Sreenivas
Cc: busybox at busybox.net
Subject: Re: -sh: can't access tty; job control turned off - busybox
v1.6.0
The side effect you cannot use CTRL-C but it works for me if I do:
setconsole -r
stty sane -F /dev/console
stty icanon echo isig intr ^C -F /dev/console
2008/1/14, Tallam, Sreenivas <Sreenivas.Tallam at netapp.com>:
>
> Hi Roberto,
>
> Appreciate your reply.
>
> I am enquiring as I did not see this error message with the older
> busybox v1.01 Just wanted to know if there are any serious side
> effects for this and how I can correct it.
>
> Thanks,
> Sreen
> -----Original Message-----
> From: Roberto A. Foglietta [mailto:roberto.foglietta at gmail.com]
> Sent: Saturday, January 12, 2008 1:27 AM
> To: Tallam, Sreenivas
> Cc: busybox at busybox.net
> Subject: Re: -sh: can't access tty; job control turned off - busybox
> v1.6.0
>
> 2008/1/12, Tallam, Sreenivas <Sreenivas.Tallam at netapp.com>:
> > Hi All,
> >
> > This has been discussed in the forum before but all of them were
> > focused with a busybox version lower than what I am using So I am
> > asking this question to the yet again, please bear with me
> >
>
> I have the same problem with 1.2.2.1 but at this time I am ignoring
> it because I can live with it. What is your problem apart the warning
> message?
>
> Cheers,
> --
> /roberto
>
--
/roberto
More information about the busybox
mailing list