From: Maciej Hrebien <m_hrebien@wp.pl>
To: linux-assembly@vger.kernel.org
Subject: Re: terminal echoing
Date: Sun, 15 Sep 2002 16:11:49 +0200 [thread overview]
Message-ID: <3D849525.DBC15D49@wp.pl> (raw)
In-Reply-To: 4.3.2.7.2.20020915103136.00bdd600@mail.ciudad.com.ar
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
prev parent reply other threads:[~2002-09-15 14:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-15 13:33 terminal echoing Hernan
2002-09-15 14:11 ` Maciej Hrebien [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D849525.DBC15D49@wp.pl \
--to=m_hrebien@wp.pl \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).