[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

termio & ~ECHO



I recently installed woody on a C360, running 2.4.17-32. Very nice
indeed.

One small problem: using termio (TCSETA) to turn off local echo doesn't
appear to work:

lukeh@off/mingus[37]% openssl des
enter des-cbc encryption password:asdf

Verifying password - enter des-cbc encryption password:asdf

(This is using the OpenSSL package from Debian.)

Here's the strace output:

ioctl(3, TCSETA, {B9600 opost isig icanon -echo ...}) = 0
write(2, "enter des-cbc encryption passwor"..., 34enter des-cbc encryption password:) = 34
fstat64(3, {st_mode=0, st_size=5, ...}) = 0
ioctl(3, TCGETS, {B9600 opost isig icanon echo ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, 

Interestingly, termios (TCSETS) appears to work just fine.

-- Luke

--
Luke Howard | PADL Software Pty Ltd | www.padl.com



Reply to: