Blob
1 .TH READCONS 12 .SH NAME3 readcons \- prompt console for input4 .SH SYNOPSIS5 .B readcons6 [7 .B -d8 .I default9 ]10 [11 .B -s12 ]13 .I prompt14 .SH DESCRIPTION15 .I Readcons16 prompts at the console for input, copying the typed string17 to standard output.18 If the19 .B -s20 flag is given, the input is not displayed (secret).21 If the user types an empty string (just a newline) and22 the23 .B -d24 option is given, then25 .I default26 is printed instead of an empty string.27 .SH SOURCE28 .B \*9/src/cmd/readcons.c29 .SH SEE ALSO30 .IR readcons (3)