From owner-freebsd-hackers Tue Jul 4 1:48:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from orbitel.bg (ns.orbitel.bg [195.24.32.2]) by hub.freebsd.org (Postfix) with SMTP id 6CFBD37B5F4 for ; Tue, 4 Jul 2000 01:48:51 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 18425 invoked from network); 4 Jul 2000 08:48:49 -0000 Received: from penchev.staff.orbitel.bg (HELO ringwraith.oblivion.bg) (192.168.0.98) by ns.orbitel.bg with SMTP; 4 Jul 2000 08:48:49 -0000 Received: (qmail 71871 invoked by uid 1001); 4 Jul 2000 08:48:45 -0000 Date: Tue, 4 Jul 2000 11:48:45 +0300 From: Peter Pentchev To: Doug Barton Cc: John Baldwin , hackers@FreeBSD.ORG, Sean Lutner , Brian Fundakowski Feldman Subject: Re: ls -G seems to depend on TERM=xterm-color Message-ID: <20000704114845.A829@ringwraith.oblivion.bg> References: <200007040641.XAA37730@john.baldwin.cx> <39619CE9.F0D168FA@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39619CE9.F0D168FA@gorean.org>; from DougB@gorean.org on Tue, Jul 04, 2000 at 01:14:33AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hmm.. how about adding this XTerm*termname: xterm-color stuff to a default Xresources file in /usr/share/skel/, or to some default Xresources file in the X directory tree itself? (I haven't messed with X resources too much, guess it shows ;) This would break xterms running on monochrome monitors; tunable via a question in sysinstall? G'luck, Pencheff ---------------------------------------------- Thit sentence is not self-referential because "thit" is not a word. On Tue, Jul 04, 2000 at 01:14:33AM -0700, Doug Barton wrote: > John Baldwin wrote: > > > >> XTerm*termName: xterm-color > > > > > > Ok, that's a good solution, I was just using .bashrc. My point is not > > > so much why, but that it be properly documented. Do you want to handle > > > the update of the ls man page, or do you want me to PR a patch? > > > > Umm, honestly, this shouldn't be all that non-obvious. Do you expect > > ls -G to work on a monochrome monitor? Of course not. :P The xterm > > termcap is by default a monochrome terminal. sysinstall doesn't have > > color in an xterm either w/ term=xterm. > > This is obvious to you and me, but to a newer user it's not going to be > obvious at all. There is going to be a bunch of people who write into > the mailing lists wondering why they aren't seeing the colorized ls in > their xterms. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message