Path: utzoo!censor!geac!jtsv16!uunet!deimos.cis.ksu.edu!atanasoff!jwright From: jwright@atanasoff.cs.iastate.edu (Jim Wright) Newsgroups: comp.sys.amiga Subject: Re: ls Message-ID: <1288@atanasoff.cs.iastate.edu> Date: 2 Aug 89 18:41:12 GMT References: <1390.AA1390@americ> <1281@atanasoff.cs.iastate.edu> <2177@jhunix.HCF.JHU.EDU> <8969@vdsvax.crd.ge.com> Reply-To: jwright@atanasoff.cs.iastate.edu.UUCP (Jim Wright) Distribution: usa Organization: Iowa State U. Computer Science Department, Ames, IA Lines: 19 In article <8969@vdsvax.crd.ge.com> perley@vdsvax.crd.ge.com (Perley Donald P) writes: | In article <2177@jhunix.HCF.JHU.EDU> ins_adjb@jhunix.UUCP (Daniel Jay Barrett) writes: | > Has anybody hacked up "ls" to change the way it displays the | >filenames from left to right on the screen? It's a nice program, but | >my eyes don't like the unusual way that the text flashes across the | >screen. | Also, does 'ls' output differently if the output is being redirected | (as unix ls does)? The acrobatics of jumping from column to column | could be rather confusing to whatever program recieves the output. Unfortunately, no. The "columnation" is done by sending ANSI escape sequences. The author gives some justification for this in the docs. Perhaps the biggest problem in my eyes is that there is no "1" option (for single column output, i.e. no cursor control). It isn't perfect, but it is small, fast, and the deficiencies don't bother me too much. -- Jim Wright jwright@atanasoff.cs.iastate.edu