Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 2010 10:10:35 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        Anonymous <swell.k@gmail.com>
Cc:        Chris Telting <christopher-ml@telting.org>, freebsd-questions@freebsd.org
Subject:   Re: TEKEN_UTF8 TEKEN_XTERM
Message-ID:  <AANLkTiknSm27uDB7rcS0uYTfuNEYUfDzQO1H5D7paG1U@mail.gmail.com>
In-Reply-To: <864ofcpcrg.fsf@gmail.com>
References:  <4C55991C.4020205@telting.org> <864ofcpcrg.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/8/3 Anonymous <swell.k@gmail.com>:
> Chris Telting <christopher-ml@telting.org> writes:
>
>> Just wondering if anyone else has played with this?
>>
>> I compiled it into the kernel but the terms are still cons25.
>
> I think you need to change `cons25' to `xterm' in /etc/ttys, too.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>

I think using "xterm" as term definition is just stupid. If you're not
running X why will you use a term that live in X normally? By the way
it also sucks if you make some $TERM settings considering your shell.

For example a lot of people like to do this in their shell :

case $TERM in
       *xvt*|*erm*|screen) print -nP "\e]0;$termtitle\a" ;;
esac

That code will print the terminal title to the window so you will get
it written just before the prompt.

An other example is ncmpc or applications that does the same thing,
they set a title to the terminal window, ncmpc has a feature to print
the current song played as terminal title so how the tty will handle
this? By printing it anywhere.

With kind regards.

(Sorry forgot the cc)

-- 
Demelier David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiknSm27uDB7rcS0uYTfuNEYUfDzQO1H5D7paG1U>