- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Maddening: ls -l output messed up
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 10:25 AM
тАО09-11-2009 10:25 AM
I've been unable to find a difference between the environment variables and stty settings from the machine that is doing this and any of my other HP-UX machines.
How do I fix this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 10:37 AM
тАО09-11-2009 10:37 AM
Re: Maddening: ls -l output messed up
$ ls -l /usr/bin/ll
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/ll*
$ ls -l /usr/bin/ls
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/ls*
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 10:41 AM
тАО09-11-2009 10:41 AM
Re: Maddening: ls -l output messed up
$ ls -l ls
-r-xr-xr-x 7 bin bin 77852 Feb 15 2007 ls
$ ls -l ll
-r-xr-xr-x 7 bin bin 77852 Feb 15 2007 ll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 10:58 AM
тАО09-11-2009 10:58 AM
Re: Maddening: ls -l output messed up
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 11:02 AM
тАО09-11-2009 11:02 AM
Re: Maddening: ls -l output messed up
I've also messed with tabs, to no avail. It changes how far the cursor moves when I hit the tab key, but it doesn't affect the whitespace around the group column in ls output.
This is all under HP-UX 11.31, patched up to March '09, and using TERM set to xterm. The behavior exhibits in any terminal as well as the serial console. Root a normal users. I've even gone so far as to copy the /etc/profile from a properly working machine onto this one, with no change in behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 11:03 AM
тАО09-11-2009 11:03 AM
Re: Maddening: ls -l output messed up
man ls indicates /usr/share/lib/terminfo/?/* as a dependency.
It may take formatting information from there.
What is TERM set to?
Try setting it to VT100 or HPTERM?
If you use
# ls -l > test.txt
and then
# cat test.txt
does that look alright?
does # od -c on that test.txt show any hard tabs? ( \t = 011 )
Does your terminal emulator have a 'scope' or 'do-not-interpret-controls' mode? Try it!
Try settings tab stops with 'tabs' every 8 columns?
just some things I would try.
fwiw,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 11:11 AM
тАО09-11-2009 11:11 AM
Re: Maddening: ls -l output messed up
piping the output to a text file and catting the text file shows the same massive gaps around the group field. loaded in vi with list set to show hidden characters shows none, the whitespace is literally just a bunch of spaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 11:14 AM
тАО09-11-2009 11:14 AM
Re: Maddening: ls -l output messed up
*
0250560 7 2 1 2 8 F e b 1 5
0250600 2 0 0 7 u n t i c \n - r -
0250620 x r - x r - x 2 b i n
0250640
*
I really don't know how to read that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 11:15 AM
тАО09-11-2009 11:15 AM
Re: Maddening: ls -l output messed up
No hard tabs anywhere in the output. The whitespace is just that, spaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 11:15 AM
тАО09-11-2009 11:15 AM
Re: Maddening: ls -l output messed up
That was a silly remark for a piped file.
But if you could log a telnet session...
how do other commands which show user/group behave?
For example:
# UNIX95= ps -o group,user,pid
# groups
Hein.