Alessio,
I think you should be able to reliably disable local echo in a terminal using a specific ANSI sequence. Sadly, my terminal foo is a bit rusty these days, so I don’t remember the specifics, but following this idea should help.
Antoni
On 12 Feb 2023, at 11:47, Alessio Stalla alessiostalla@gmail.com wrote:
Greetings everyone,
is there a well-known way to do the thing in the subject, i.e. ask the user for a password in a console application, reading from the keyboard without echoing anything to the terminal? Using a library is fine, SBCL only is fine, limited to some OS is not so fine but better than nothing. Any idea?