Colored directory listing bug with pdir.

Jun 12, 2008
1
0
Norwich, UK
wbh.org
Hi.
By default I've got dir aliased:
dir=pdir /[!RCS tags *~] /dkm /(dd-m-y th:m) /(zcK) /(35fn) /(a) /(-60i)
And have colors set for quite a few things. But, for the filetypes that *don't* get a color assigned I get a blank line after. Probably related, the above alias truncates descriptions correctly except for plain line, which just wrap onto the next line. Any ideas?
Thanks.
Bill
 
May 20, 2008
603
0
Sammamish, WA
On Thu, Dec 4, 2008 at 6:53 AM, JP Software Forums <neil@jpsoft.com> wrote:

> Hi.
> By default I've got dir aliased:
> dir=pdir /[!RCS tags *~] /dkm /(dd-m-y th:m) /(zcK) /(35fn) /(a) /(-60i)
> And have colors set for quite a few things. But, for the filetypes that *don't* get a color assigned I get a blank line after. Probably related, the above alias truncates descriptions correctly except for plain line, which just wrap onto the next line. Any ideas?

When I used your alias and did "dir | list /x" I could see the
trailing blanks that caused line wrapping / apparent blank lines for
me. When I made my screen 144 characters wide or wider the blank lines
went away.

I also see the blank lines only after files without coloring.

--
Jim Cook
2008 Fridays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Saturday.
 

Similar threads