* terminal echoing
@ 2002-09-15 13:33 Hernan
2002-09-15 14:11 ` Maciej Hrebien
0 siblings, 1 reply; 2+ messages in thread
From: Hernan @ 2002-09-15 13:33 UTC (permalink / raw)
To: linux-assembly
Anyone knows how can set the terminal echoing off to get a password using a
system call or manipulating /dev/tty (?) ?
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: terminal echoing
2002-09-15 13:33 terminal echoing Hernan
@ 2002-09-15 14:11 ` Maciej Hrebien
0 siblings, 0 replies; 2+ messages in thread
From: Maciej Hrebien @ 2002-09-15 14:11 UTC (permalink / raw)
To: linux-assembly
Hernan wrote:
>
> Anyone knows how can set the terminal echoing off to get a password using a
> system call or manipulating /dev/tty (?) ?
>
> Thanks!
see /usr/include/bits/termios.h
do TCGETS ioctl, set the c_lflag using ECHO mask in received termios
struct, do TCSETS ioctl
--
Maciej Hrebien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-15 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-15 13:33 terminal echoing Hernan
2002-09-15 14:11 ` Maciej Hrebien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).