AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
SH (l) SH (l) EXIT STATUS Errors detected by the shell, such as syntax errors, cause the shell to return a non-zero exit status. If the shell is being used noninteractively then execution of the shell file is abandoned. Otherwise, the shell returns the exit status of the last command executed (see also the exit command above). Fll.ES /etc/ profile $HOME/ .profile /tmp/sh• /devjnull SEE ALSO cd(l), env(l), Jogin(lM), newgrp(l), test(l), umask(l), dup(2), exec(2), fork(2), pipe(2), signal(2), ulimit(2), umask(2), wait(2), a.out(4), profile(4), environ(5). BUGS The command readonly (without arguments) produces the same output as the command export. If
SHFORM (I) {AT&T UNIX PC only ) SHFORM (I) NAME shform - displays menus and forms and returns user input to Bourne Shell procedures. SYNOPSIS RET = 'shform [-u] formname' DESCRIPTION The shform process displays a menu or form, waits for user input, and returns the result to the shell procedure. Formname is a text document, called a form description file, that describes the menu or form to be displayed. Entries in the file use a keyword = value syntax. (The form and menu keywords are described below.) The file must be located in the fusrflibfua directory. To insert a comment in the file, start the line with a pound sign ( # ). The value returned by the file is stored in the shell variable RET as a list of words separated by spaces. If an error occurs, then $? will contain an error code. -u causes shform to place its menu or form in the current window, resizing it appropriately to fix the menu or form. This option is recommended. Shform returns the following exit codes: 0-AOK 1 - Argument error 2 - Out of memory (malloc failed) 3 - Internal table overflow 4 - Syntax error in form description file The words in $RET are as follows: word 1 = Name of terminating key if form, words 2 -n = Values of the form's fields if menu, word 2 = Name of selected menu item if multiselect menu, words 2 - n = Name of selected menu items Form Definition Keywords Form = form name Flags the start of a form. It is followed by a series of field definitions. The form name specified here is used as the title of the form. Only one Form keyword can be used in the file. Name = field name Follows a Form keyword and starts a field definition. The field name specified here is used as the prompt for the field. The field name definition is followed by field attribute definitions: Prompt = prompt string Displayed on the prompt line when the field is the current field. - 1 -
- Page 475 and 476: PRS ( l ) PRS ( l ) NAME prs - prin
- Page 477 and 478: PRS ( 1 ) PRS ( 1 ) TABLE 1 (Contin
- Page 479 and 480: PS ( l ) PS ( l ) NAME ps - report
- Page 481: PS (l) PS (l) WCHAN (1) The event f
- Page 484 and 485: PTX ( 1) PTX ( 1) SEE ALSO nroff( l
- Page 487 and 488: REGCMP ( 1 ) REGCMP (l) NAME regcmp
- Page 489: RM ( l ) RM (l) NAME rm, rmdir - re
- Page 492 and 493: I�
- Page 495: SCCSDIFF ( 1 ) SCCSDIFF ( 1 ) NAME
- Page 499 and 500: SDB ( l ) SDB ( 1) NAME sdb - symbo
- Page 501 and 502: � I SDB ( 1) SDB ( 1) file may ov
- Page 503 and 504: SDB ( 1) SDB ( 1) e directory file-
- Page 505 and 506: SDB ( 1 ) SDB ( 1 ) execution. B Pr
- Page 507: SDB ( 1 ) SDB ( 1 ) WARNINGS BUGS W
- Page 510 and 511: SDIFF ( 1) SDIFF(l) On exit from th
- Page 512 and 513: SED ( 1) SED ( 1) In the following
- Page 515 and 516: SETPRINT ( 1 ) SETPRINT ( 1 ) NAME
- Page 517 and 518: -� SH ( l ) NAME SH ( l ) sh, rsh
- Page 519 and 520: SH ( 1 ) SH(l) positional parameter
- Page 521 and 522: SH ( 1 ) word >> word
- Page 523 and 524: SH ( 1 ) SH ( 1) cd [ arg ] Change
- Page 525: SH (l) SH (l) Invocation . If the s
- Page 529 and 530: ( \ SHFORM(I) (AT&T UNIX PC only )
- Page 531 and 532: SIZE ( 1 ) SIZE ( 1) NAME size - pr
- Page 533: �· ! SLEEP (I) SLEEP (I) NAME sl
- Page 536 and 537: SORT(l) SORT(l) 0 The next argument
- Page 538 and 539: SPELL {l) SPELL (l) FILES spellin s
- Page 540 and 541: n__
- Page 543 and 544: STTY ( 1) STTY(l) NAME stty - set t
- Page 545: STTY ( 1) lfkc ( -lfkc) echonl ( -e
- Page 548 and 549: �· ·· .... . _ .....
- Page 550 and 551: �- . .�
- Page 552 and 553: � ·. ____ .
- Page 554 and 555: TABS (1) TABS ( 1) -u 1,12,20,44 UN
- Page 556 and 557: � \_ )
- Page 559 and 560: TAR ( 1 ) TAR ( 1) NAME tar - tape
- Page 561 and 562: TBL ( I ) TBL ( I ) NAME tbl - form
- Page 563 and 564: TBL(l) TBL(l) BUGS See BUGS under n
- Page 565: TC ( l ) TC ( l ) NAME tc - phototy
- Page 571 and 572: TEE(l) TEE(l) NAME tee - pipe fitti
- Page 573 and 574: TEST ( 1 ) TEST (I) NAME test - con
- Page 575 and 576: TIME ( 1) TIME ( 1) NAME time - tim
SH (l) SH (l)<br />
EXIT STATUS<br />
Errors detected by the shell, such as syntax errors, cause the shell<br />
to return a non-zero exit status. If the shell is being used noninteractively<br />
then execution of the shell file is abandoned. Otherwise,<br />
the shell returns the exit status of the last command executed<br />
(see also the exit command above).<br />
Fll.ES<br />
/etc/ profile<br />
$HOME/ .profile<br />
/tmp/sh•<br />
/devjnull<br />
SEE ALSO<br />
cd(l), env(l), Jogin(lM), newgrp(l), test(l), umask(l), dup(2),<br />
exec(2), fork(2), pipe(2), signal(2), ulimit(2), umask(2), wait(2),<br />
a.out(4), profile(4), environ(5).<br />
BUGS<br />
The command readonly (without arguments) produces the same<br />
output as the command export.<br />
If