# phpman > man > fnext(1)

[NEW(1mh)](https://www.chedong.com/phpMan.php/man/NEW/1mh/markdown)                                                                                    [NEW(1mh)](https://www.chedong.com/phpMan.php/man/NEW/1mh/markdown)



## NAME
       new - report on nmh folders with new messages
       fnext - set current nmh folder to next folder with new messages
       fprev - set current nmh folder to previous folder with new messages
       unseen - scan any new messages in all nmh folders

## SYNOPSIS
       **new** [**-help**] [**-version**] [_sequences_] [**-mode** _mode_] [**-folders** _foldersfile_]

       **fnext** is equivalent to **new** **-mode** **fnext**

       **fprev** is equivalent to **new** **-mode** **fprev**

       **unseen** is equivalent to **new** **-mode** **unseen**

## DESCRIPTION
       **new**, in its default mode, produces a one-line-per-folder listing of all folders which contain
       messages in the specified _sequences_, or in the sequence(s) listed in the profile  entry  “_Un__‐
       _seen-Sequence_”.   Each  line consists of the folder name, the total number of messages in the
       specified sequences, and a list of messages derived from the .mh_sequence file.  For example:

            foo     11.* 40-50
            bar    380.  760-772 824-828
             total    391.

       The `*' on foo indicates that it is the current folder.  The last line shows the total number
       of messages in the desired sequences.

       **new**  crawls  the folder hierarchy recursively to find all folders, and prints them in lexico‐
       graphic order.  Override this behavior by providing a _foldersfile_ containing  the  pre-sorted
       list of folders which **new** should check, one per line.

       In **fnext** and **fprev** modes, **new** changes to the next or previous matching folder, respectively.

       In **unseen** mode, **new** executes **scan** _sequences_ for each matching folder.

## FILES
       $HOME/.mh_profile   The user profile

## PROFILE COMPONENTS
       Path:               To determine the user's nmh directory.
       Current-Folder:     To find the default current folder.
       Unseen-Sequence:    The name of the unseen message sequence.

## SEE ALSO
       [_scan_(1)](https://www.chedong.com/phpMan.php/man/scan/1/markdown), [_mh-format_(5)](https://www.chedong.com/phpMan.php/man/mh-format/5/markdown)



nmh-1.7.1                                    2009-01-17                                     [NEW(1mh)](https://www.chedong.com/phpMan.php/man/NEW/1mh/markdown)
