🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #60203

Re: jak odczytać dane wpisane z klawiatury aby nie było "echa" ?

#60203
From: Bartosz Feński aka fEnIo
Date: Tue, 25 Oct 2005 18:30
26 lines
1893 bytes
W artykule "M(dot)Kedzierawski"@elka.pw.edu.pl napisał(a):

>> jaka funkcja albo sposobem odczytac dane wpisywane z klawiatury
>> aby nie pojawialy sie znaki na ekranie
>
> W pliku unistd.h można znaleźć coś takiego:
>
> ...
> /* Prompt with PROMPT and read a string from the terminal without 
> echoing. Uses /dev/tty if possible; otherwise stderr and stdin.*/
>
> extern char *getpass (__const char *__prompt) __nonnull ((1));
> ...

A w `man getpass` coś takiego:

       This function is obsolete. Do not use it.

pozdr,
fEnIo

-- 
  ,''`.  Bartosz Fenski | mailto:fenio@debian.org | pgp:0x13fefc40 | irc:fEnIo
 : :' :       32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Poland
 `. `'           phone:+48602383548 | proud Debian maintainer and user
   `-          http://skawina.eu.org | jid:fenio@jabber.org | rlu:172001
Technical Details
Message-ID: <slrndlsu6b.nro.fenio@komputer.fenia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <djl5if$nff$1@atlantis.news.tpi.pl> <djlt1m$q1i$1@julia.coi.pw.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Bartosz Feński aka fEnIo <fenio@debian.org>
Newsgroups: pl.comp.os.linux.programowanie
Subject: Re: jak odczytać dane wpisane z klawiatury aby nie
 było "echa" ?
Date: Tue, 25 Oct 2005 18:30:58 +0000 (UTC)
Organization: Front Wyzwolenia Krasnali Ogrodowych
Lines: 26
Message-ID: <slrndlsu6b.nro.fenio@komputer.fenia.pl>
References: <djl5if$nff$1@atlantis.news.tpi.pl> <djlt1m$q1i$1@julia.coi.pw.edu.pl>
Reply-To: fenio@debian.org
NNTP-Posting-Host: on.debian.linux.org.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1130265058 3324 80.48.213.222 (25 Oct 2005 18:30:58 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 25 Oct 2005 18:30:58 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit