[Bug 285459] User-friendly documentation for alternate screen

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 Mar 2025 21:24:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285459

--- Comment #1 from Alfonso S. Siciliano <asiciliano@FreeBSD.org> ---
Probably the PR is to document alternate screen in some handbooks, is it right?

Anyway you are right. I wrote in bsddialog.1:

> --alternate-screen
>     If available set alternate screen mode, see terminfo(5).

terminfo(5) mentions nothing about "alternate screen".


I updated
https://gitlab.com/alfix/bsddialog/-/commit/ac6ed0e7863fa51b39293275e7d3fb7194fb0a9c:

> --alternate-screen
>        Set alternate screen mode if the terminal and curses(3) provide
>        it.  If enabled bsddialog draws to the alternate screen and
>        restores the main screen after exit.  See “smcup” in terminfo(5).

I hope it is user-friendly. Otherwise, feel free to let me know how I can
improve.

-- 
You are receiving this mail because:
You are the assignee for the bug.