[Bug 248377] [PATCH] script(1): Enable proper playback [-p] of curses sessions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 31 05:48:15 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248377

            Bug ID: 248377
           Summary: [PATCH] script(1): Enable proper playback [-p] of
                    curses sessions
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: 0.gangzta at gmail.com

Created attachment 216900
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216900&action=edit
script.diff

The current manpage of script(1) says the following.

"Certain interactive commands, such as vi(1), create garbage in the typescript
file. The script utility works best with commands that do not manipulate the
screen. The results are meant to emulate a hardcopy terminal, not an
addressable one."

script(1) is currently able to record [-r] curses sessions perfectly; only the
playback functionality [-p] has the above restriction; this patch removes this
restriction by appropriately setting terminal attributes.

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


More information about the freebsd-bugs mailing list