"Script places everything in the log file, including linefeeds and backspaces."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: bsdutils
From "man script":
BUGS
Script places everything in the log file, including linefeeds and backspaces. This is not what the naive
user expects.
It is easy to convert the output back into what the naive user expects. For example, the attached program, parses control characters and also most common xterm (and linuxterm) commands to produce a file very close to what the naive user expects. Perhaps such a program should be added and mentioned in the BUGS section?
ProblemType: Bug
Architecture: i386
Date: Sat May 17 18:12:42 2008
Dependencies:
libgcc1 1:4.2.3-2ubuntu7
gcc-4.2-base 4.2.3-2ubuntu7
libc6 2.7-10ubuntu3
DistroRelease: Ubuntu 8.04
NonfreeKernelMo
Package: bsdutils 1:2.13.1-5ubuntu2
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_AU.UTF-8
SourcePackage: util-linux
Uname: Linux 2.6.24-16-generic i686
Hi John, vger.kernel. org/vger- lists.html# util-linux ).
Probably the best thing to do here would be to suggest this on the util-linux mailing list (see http://
I'm fairly sure I've seen programmes similar to this to strip escape and control characters before; so it might be worth searching around for them.