[fpc-pascal] Readln a password
Adriaan van Os
fpc at microbizz.nl
Sun Nov 27 16:59:14 CET 2016
Dmitry Boyarintsev wrote:
> I'd think you want something simlar on unix.
> Take a look at man 4 termios
> specifically at local flag named "ECHO".
> you want to disable it via tcsetattr() Â (TermIO unit)
Thanks for the hint. I haven't yet tried it, but I would expect it to fail, as stty (see stty.c in
GNU coreutils) calls tcsetattr and stty fails reporting 'stty: stdin isn't a terminal' .
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list