Ubuntu

"Script places everything in the log file, including linefeeds and backspaces."

Reported by John McCabe-Dansted on 2008-05-17
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
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
NonfreeKernelModules: nvidia
Package: bsdutils 1:2.13.1-5ubuntu2
PackageArchitecture: i386
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/username/bin
 LANG=en_AU.UTF-8
SourcePackage: util-linux
Uname: Linux 2.6.24-16-generic i686

John McCabe-Dansted (gmatht) wrote :
Dave Gilbert (ubuntu-treblig) wrote :

Hi John,
  Probably the best thing to do here would be to suggest this on the util-linux mailing list (see http://vger.kernel.org/vger-lists.html#util-linux ).
  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.

Changed in util-linux (Ubuntu):
importance: Undecided → Wishlist
Thomas Hotz (thotz) wrote :

Marking this bug as confirmed.

Changed in util-linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments