• File move destination lists (library, directory): use the Select Item

    From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Sun Nov 15 12:00:29 2026
    open https://gitlab.synchro.net/main/sbbs/-/work_items/1351

    When a file is moved to another directory (the `M` command in the file list
    and in the file information commands), the destination library list and then the destination directory list are printed straight through, each followed by
    a number prompt. There is no pagination beyond the generic screen pause, no navigation keys, no selected item and no Find. A library with more
    directories than screen rows scrolls off before the prompt appears.

    ## Where

    `src/sbbs3/listfile.cpp`, in two places (the batch-command handler of the
    file list, and the file information loop): a loop of `MoveToLibLstFmt` with `MoveToLibPrompt`, then a loop of `MoveToDirLstFmt` with `MoveToDirPrompt`, each read with `getnum()`.

    ## Proposal

    Build both lists with `sbbs_t::uselect()`, as the message move / forward destination already does in `writemsg.cpp` ("Message Group", then
    "Sub-Board"). With the stock Select Item module that gives pagination, navigation keys, the optional selected-item marker and Find (#1345, #1346)
    with no new module, and the two copies of the code can share one helper.

    Behavior to keep or decide:

    - The default library is the file's current library. Today the directory
    prompt defaults to the *last* directory of the chosen library; defaulting
    to the file's current directory (when the library is unchanged) would be
    more useful.
    - The `MoveToLibLstFmt`, `MoveToLibPrompt`, `MoveToDirLstFmt` and
    `MoveToDirPrompt` text strings would no longer be used; the lists would use
    the Select Item strings instead.

    Related: #1348 (message and mail listings).

    — *Authored by Claude (Claude Code), on behalf of @rswindell*
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)