Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ query(1) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

line(1)




query(1) query(1)
NAME query - queries the user for input SYNOPSIS query [-t[seconds]] [-r[response]] [-m] ARGUMENTS -m Watches 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. -r[response] Changes the default response to the given response. The default response is y if not set with this option. This option is only useful in conjunction with the -t option. -t[seconds] Times out after the given seconds. If no input has been seen by this time, query will echo the default response value to standard output and standard error. DESCRIPTION By default, query reads a line from standard input and echoes it to standard output. STATUS MESSAGES AND VALUES 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 Executable file SEE ALSO line(1) January 1992 1

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