[BusyBox] ctrl+c not working for bash

prashant waman kiranprashant at yahoo.com
Thu Aug 18 13:03:49 UTC 2005


hi yann,

> Quoting prashant waman <kiranprashant at yahoo.com>:
> >    my /etc/inittab contain
> > # inittab
> > id:1:initdefault:
> > #system initialization.
> > si::sysinit:/etc/rc.d/rc.S
> > l0:0:wait:/etc/rc.d/rc 0
> > c1:1235:respawn:/bin/bash
> > l2:2:wait:/bin/sh
> > l4:4:wait:/bin/sh
> > l6:6:wait:/etc/rc.d/rc 6
> >

> > but ctrl+c is not working for the shell. if i try

> What is /dev/c1? If it is the same as /dev/console,
> forget about 'Ctrl-C'
yes /dev/c1 is a /dev/console.
> there. It does not work (search the archives, there
> are messages dealing with
> that exact problem).
scanerio is little bit different than given in
archives. tried but unable to find the answer from
archive.
> 
> Rather, you should use /dev/ttyS0 (or S1, S2, ...)
> where you will then be
> able to 'Ctrl-C' your programs.
> 
i tried following ways to do that but nothing is
happening.

# inittab
#
id:1:initdefault:
                                                      
                                                      
               
#system initialization.
si::sysinit:/etc/rc.d/rc.S
S0:1235:respawn:/bin/bash
#S1:1235:respawn:/bin/bash

still not working.

if uses ttyS0 instead of S0 gives error that id length
is more.
 
waiting for reply

regards,
prashant


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



More information about the busybox mailing list