Date: Mon, 29 Jul 1996 21:56:04 -0700 (PDT) From: Doug White <dwhite@riley-net170-164.uoregon.edu> To: jlambert@trout.inet-images.com Cc: questions@freebsd.org Subject: Re: LSs Message-ID: <Pine.BSI.3.94.960729215354.320M-100000@gdi.uoregon.edu> In-Reply-To: <199607300422.AAA11105@trout.inet-images.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Jul 1996 jlambert@trout.inet-images.com wrote: > I have found that ls is annoying t > sorry, my backspace hey won't work... > I have found that ls is annoying as to the fact that it displays fddisplayers > directories in the same way as files (in the short listing). I have tried > to edit the source code but what is the variable to set coloer? > like TextATTr or something? > thanks. (The attribute to change to make Printf print color) Fix the backspace problem by giving the command stty erase ^H (that's shift-6 h, not backspace) You can get some indications through the -F flag to ls; this adds a / for dirs, * for executables, @ for symbolic links, and so on. This is how my home dir looks with ls -CF: #pico00320# current-supfile notscape.gif GDI dead.letter pari-1.39.03.tar.gz LPRng-2.2.1/ disks.ps public_html/ LPRng-2.2.1.tgz doom.tourney quickcam/ Mail/ fastvulc.au rbbslist.zip* News/ funny.txt removeuser.tar.gz README html/ resetpal Vat.info incoming/ respics/ XF86Config ipdb/ resweb/ Xservers@ mail/ rlogo1.gif addhost/ makedisk.txt saa.tar.gz app-defaults/ merlin.gif t/ article.txt merlinmockup.gif tcibox.gif at336cmd.txt metamail/ tcpip.c babel-3.5.tar.gz metamail.tar.gz tmp.txt bike/ named.boot uonet/ bin/ netdb-host1.gif vic-qcam.gz* boot.flp newgnats.info wr/ c4* newqc/ www@ camp96/ news-icon.gif xpostit.tar.gz cheats.txt newscript.txt cis/ notes If you want color, you'll have to install the 'color_ls' program, available from the ports or package collections. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960729215354.320M-100000>