Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ query(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

line(1)




query(1) query(1)
NAME query - query the user for input SYNOPSIS query [-tseconds] [-r[response]] [-m] DESCRIPTION By default, query reads a line from standard input and echoes it to standard output. Options include: -t[seconds] Timeout after seconds seconds. If no input has been seen by this time, query will echo the default response value to standard output and standard error. -r[response] Change the default response to response. The default response is y if not set with this option. The -r op- tion is only useful in conjunction with -t. -m Watch for a mouse click. If the mouse does get clicked, exit status 2 is returned. Note: This option will be ignored if any other program (such as a toolbox application) is currently using the mouse. DIAGNOSTICS Exit status is 0 if everything is OK, 1 for usage error, 2 if mouse is pressed when query -m is in use. FILES /etc/query SEE ALSO line(1). April, 1990 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026