|
From: | Burke Cabaniss |
Subject: | pr --columns=2 -t -n.2 misalign Linux |
Date: | Wed, 28 Mar 2007 14:50:38 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5 |
Results: right side column misalign sometimes (see when below). In these cases there is only a tab separator between the columns.
When: problem exists on some terminal sessions and not others, i.e. tty1, etc. but not tty2, etc. A session that fails is consistent, as is one that doesn't. Proved this by running same exact job from all tty's at the same time.
Clue: can be "fixed" by logoff/logon of a terminal session, and after problem starts it is consistent.Analysis: (1) matched environment variables (from `set`) for "good" and "bad" sessions, $TERM is only difference, (2) `type` identifies same `pr` program, (3) cannot find "pr align" in your bug reports.
Thoughts: it is as if running some print option such as -W sets a permanent option flag (something) that is identified by terminal but is not an environment variable output by `set`.
[Prev in Thread] | Current Thread | [Next in Thread] |