NEXT(1m,C) AIX Commands Reference NEXT(1m,C) ------------------------------------------------------------------------------- next PURPOSE Shows the next message. SYNTAX +------------+ +--- -header ---+ +-------------------------+ next ---| |---| one of |---| one of |---| +- + folder -+ | +-----------+ | | +---------------------+ | +-| -header |-+ +-| -showproc cmdstring |-+ | -noheader | | -noshowproc | +-----------+ +---------------------+ next -- help --| DESCRIPTION The next command is used to display the next message in a folder. This command is equivalent to the show command with next specified as the message. The next command is part of the Message Handling (MH) package and can be used with other MH and AIX commands. Note: If you link to next and call that link something other than next, your link will function like the show command, rather than like the next command. The next command links to the show program and passes this program its flags and attributes. The show command invokes a program to perform the listing. The system default is /bin/pg. You can define your own default with the showproc: entry in $HOME/.mh_profile. If you set showproc: entry to mhl, the show command calls an internal mhl routine instead of the mhl command. You can also specify the program to perform a listing in the cmdstring of the -showproc flag. The show command passes any flags that it does not recognize to the program performing the listing. Thus, you can specify flags for the listing program, as well as the flags described in this command section. FLAGS Processed July 12, 1991 NEXT(1m,C) 1 NEXT(1m,C) AIX Commands Reference NEXT(1m,C) + folder Specifies the folder that contains the message you want to show. -header Displays a one-line description of the message being shown. The description includes the folder name and the message number. -help Displays help information for the command. -noheader Does not display a one-line description of each message being shown. -noshowproc Uses /bin/cat to perform the listing. -showproc cmdstring Uses the specified command string to perform the listing. PROFILE ENTRIES Current-Folder: Sets your default current folder. Path: Specifies your user_mh_directory. showproc: Specifies the program used to show messages. FILES $HOME/.mh_profile The MH user profile. RELATED INFORMATION See other MH commands: "prev" and "show." See the mh-format, mh-mail, and mh-profile files in AIX Operating System Technical Reference. See "Overview of the Message Handling Package" in Managing the AIX Operating System. See Chapter 18 of the AIX Programming Tools and Interfaces for general information on using commands in an MBCS environment. Processed July 12, 1991 NEXT(1m,C) 2