Re: Couldn't we enable 256 colors by default on TERM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/06/12 18:45, Miloslav Trmač wrote:
> On Tue, Jun 26, 2012 at 3:24 AM, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
>> We discussed this in fesco today and had a couple of concerns.
> 
> Another one is that connecting to systems that don't support xterm-256
> is not quite easy.  In particular, there appears to be no way to
> configure ~/.ssh/config so that "ssh oldhost" (and "ssh oldhost
> arbitrarycommand") transparently changes the TERM value - one would
> have to set up shell functions or something similar.  An extension of
> the ssh would be very nice - and failing that, an explicit recipe how
> to override TERM correctly would be welcome as well.

heh, that's exactly why this cruft ended up in my .bashrc  :)

>     # "xterm" does not support color on solaris
>     # https://defect.opensolaris.org/bz/show_bug.cgi?id=1641
>     case $(uname -s) in
>         SunOS)
>             case $TERM in
>                 xterm)
>                     TERM=xtermc
>                     ;;
>             esac
>             ;;
>         # but only Solaris knows "xtermc"
>         *)
>             case $TERM in
>                 xtermc)
>                     TERM=xterm
>                     ;;
>             esac
>             ;;
>     esac

and that is just to get any colors at all...

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux