Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2020 05:48:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248377] [PATCH] script(1): Enable proper playback [-p] of curses sessions
Message-ID:  <bug-248377-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: 0.gangzta@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248377-227>