stty cbreak

K. J. Chang kjchang at hplabsz.HPL.HP.COM
Thu Sep 27 08:19:01 AEST 1990


I saw "A Book On C" which says I can use "stty cbreak" (pp.25) in
UNIX so that my C program will not wait for <CR> when it reads
"stdin".

I tried "stty cbreak" in sh, csh, and ksh in HP-UX (UNIX)
and the system did not understand the command. Then, I
tried the same command in Sun 4 (Sparc) and the command
seems to work in Sun's UNIX.

What's the equivalence of "stty cbreak" in HP-UX?

K J Chang
(415)857-4604



More information about the Comp.unix.shell mailing list