Date: Thu, 30 Jul 2020 19:33:51 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 248372] [PATCH] script(1): enable proper curses playback [-p] capability Message-ID: <bug-248372-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248372 Bug ID: 248372 Summary: [PATCH] script(1): enable proper curses playback [-p] capability 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 216889 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216889&action= =3Dedit Unified diff The current manpage of script(1) says "Certain interactive commands, such as vi(1), create garbage in the type- script file. The script utility works best with commands that do not ma- nipulate the screen. The results are meant to emulate a hardcopy termi- nal, not an addressable one." This patch fixes this issue by appropriately calling cfmakeraw. Additional note: script(1) is currently able to record [-r] curses sessions perfectly; only the playback functionality [-p] needs to be fixed. To repro= duce the problem, one may use the following program. https://github.com/iiSeymour/game-of-life by GitHub user iiSeymour, which, = in the words of the author, is "a python implementation of Conway's Game of Life using the curses module w= ith a small evolutionary twist." This script was written for Linux; therefore, one must call "python gol.py"= on FreeBSD to bypass the #! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248372-227>