Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hp-ses!hpcuhb!hpda!hpcupt1!hpirs!wk From: wk@hpirs.HP.COM (Wayne Krone) Newsgroups: comp.sys.hp Subject: Re: pr bug in HP-UX 2.1 Message-ID: <4640011@hpirs.HP.COM> Date: 1 Feb 89 00:26:38 GMT References: <114@geysir.os.is> Organization: Hewlett Packard, Cupertino Lines: 22 > When I installed 2.1 HP-UX, the behavior of the pr command changed. > Pr now inserts unwanted tab characters into files that contain > 8-bit character codes, when outputting more than one column. Thank you for reporting this problem. The problem appears to be in the terminal I/O driver rather than pr. If you use stty to set the output mode "tab3" (expand spaces to tabs), a simpler instance of the problem is shown by: $ echo '888\t7' (replace "888" by 8-bit characters) 888 7 $ echo '777\t7' 777 7 The 8-bit characters are apparently not being counted when a tab is expanded for display. A workaround for your problem would be to use stty to set the tab output mode to "tab0". I will forward this problem to the appropriate folks. Wayne Krone Hewlett-Packard