why ctrl+z donot work

  • Follow


Hello,
i am newbie in hp-ux, i have more experience with solaris and tru64unix. I
ussually use the feature ctrl+z, to stop a program, i.e. a tail -f trace,
and then ctrl+z and bg to run in backgroup, and in hp-ux the sequence ctrl+z
do not works.why? is it possible configure it?
thanks
Cesar


0
Reply cesar 9/11/2004 4:09:32 PM

POSIX shell doesn't have this set by default for some reason. If you add
"susp ^Z" to the stty command in your .profile (or /etc/profile, if you want
it to be a system-wide default for you), that should enable it. It seems my
system here at home is dead so I can't test it to be sure at the moment
though.


On 9/11/04 11:09 AM, in article
chv7vt$k3s$1@nsnmrro2-gest.nuria.telefonica-data.net, "cesar"
<adfadf@adfaf.com> wrote:

> Hello,
> i am newbie in hp-ux, i have more experience with solaris and tru64unix. I
> ussually use the feature ctrl+z, to stop a program, i.e. a tail -f trace,
> and then ctrl+z and bg to run in backgroup, and in hp-ux the sequence ctrl+z
> do not works.why? is it possible configure it?
> thanks
> Cesar
> 
> 

-- 
Jeff Traigle
traigle@umich.edu
http://www-personal.umich.edu/~traigle/

0
Reply Jeff 9/11/2004 10:51:19 PM


thanks
I try with this and works
if tty -s
then
eval $(ttytype -s)
stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff
stty susp \^Z dsusp \^Y
fi

thanks again.

"Jeff Traigle" <traigle@umich.edu> wrote in message
news:BD68EB96.6A7EE%traigle@umich.edu...
>
> POSIX shell doesn't have this set by default for some reason. If you add
> "susp ^Z" to the stty command in your .profile (or /etc/profile, if you
want
> it to be a system-wide default for you), that should enable it. It seems
my
> system here at home is dead so I can't test it to be sure at the moment
> though.
>
>
> On 9/11/04 11:09 AM, in article
> chv7vt$k3s$1@nsnmrro2-gest.nuria.telefonica-data.net, "cesar"
> <adfadf@adfaf.com> wrote:
>
> > Hello,
> > i am newbie in hp-ux, i have more experience with solaris and tru64unix.
I
> > ussually use the feature ctrl+z, to stop a program, i.e. a tail -f
trace,
> > and then ctrl+z and bg to run in backgroup, and in hp-ux the sequence
ctrl+z
> > do not works.why? is it possible configure it?
> > thanks
> > Cesar
> >
> >
>
> -- 
> Jeff Traigle
> traigle@umich.edu
> http://www-personal.umich.edu/~traigle/
>


0
Reply cesar 9/12/2004 8:16:19 AM

2 Replies
462 Views

(page loaded in 0.049 seconds)

Similiar Articles:













7/30/2012 8:34:10 AM


Reply: