TEL(7) TEL(7) NAME tel, telno, dq - phone books SYNOPSIS tel key telno key ... dq DESCRIPTION Tel looks up key in a private telephone book, if it exists, and in a local book Tel is simply a script for grep (see gre(1)), so lookup may be by any part of a name or number. Customarily the local telephone book contains names, userids, home numbers, and office numbers of users. It also contains a directory of area codes and miscellaneous people of some general inter- est. Telno and dq retrieve information from a central, current database of AT&T personnel. The former is a simple one-line interface to the latter. For telno, a key is typically a name. Other fields in the database may be matched by using tabs within the key (the key must be quoted to protect spaces and tabs from the shell). The fields are, in order: name (last; last,first; first last; or payroll account no.) organization (e.g. att or bl) area code and exchange extension location room department electronic mail address Only a prefix of a first name need by given. In some posi- tions `*' (or ...) and `?' may be used as a wild cards as in sh(1). Case is unimportant. Dq provides interactive access to the central database. Under mux(9.1) it is best run in a terminal-simulator layer, either `term 5620' or `term 2621'; see term(9.1). It dis- plays a form with the same fields as telno. Fill in one or more fields, using tabs to move (circularly) between them, backspace to erase, and space to delete a field. Upon car- riage return a group of answers is displayed. Type `?' TEL(7) TEL(7) instead of a name to get more instructions. EXAMPLES In these examples, `\t' represents a literal tab. telno emlin Anyone named Emlin. telno '\t\t\t3744' Anyone whose phone extension is 3744. telno 'e*\t\t\t\t\t\t\tresearch!*' Anyone whose last name begins with E and who gets elec- tronic mail on machine `research'. FILES SEE ALSO bellcat in library(7), pq(7) BUGS The algorithm used by dq (and hence telno) to match each field is distinct and unknown to us. Not all entries have electronic mail addresses.