That's exact.

The FreeBSD console is powered by TEKEN, a library that emulates
cons25 (by default in current FreeBSD versions) or xterm (will be the
default for FreeBSD 9+) and everything works fine in the last case.

On Thu, Oct 14, 2010 at 1:59 AM, Nicholas Marriott
<nicholas.marri...@gmail.com> wrote:
> So everything works now w/ xterm emulation so long as you don't let
> console output scribble over tmux?
>
> I wouldn't be surprised if tmux had issues with cons25, I haven't tried
> it recently.
>
>
>
> On Tue, Sep 28, 2010 at 05:16:27PM +0200, Sébastien Santoro wrote:
>> Hi,
>>
>> Good News everyone!
>>
>> FreeBSD 9.0-CURRENT default console isn't a cons25 emulation anymore
>> but a xterm emulation one.
>>
>> Fragment from the UPDATING file:
>> 20091113:
>>       The default terminal emulation for syscons(4) has been changed
>>       from cons25 to xterm on all platforms except pc98.  This means
>>       that the /etc/ttys file needs to be updated to ensure correct
>>       operation of applications on the console.
>>
>>       The terminal emulation style can be toggled per window by using
>>       vidcontrol(1)'s -T flag.  The TEKEN_CONS25 kernel configuration
>>       options can be used to change the compile-time default back to
>>       cons25.
>>
>>       To prevent graphical artifacts, make sure the TERM environment
>>       variable is set to match the terminal emulation that is being
>>       performed by syscons(4).
>>
>> And the default /etc/ttys file have indeed been updated accordingly:
>> http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/etc.i386/ttys#rev1.19
>>
>> I tested tmux with the same operations in the September 7 snapshot and
>> it works a lot better: tree and cmatrix stay horizontal, we can clear
>> the screen, and sl moves without artifact at left.
>>
>> What about the horizontal line position bug? It seems to be a conflict
>> between tmux and the regular console output, so the solution is to run
>> tmux in another tty than the first.
>>
>> This tmux compatibility with the next FreeBSD versions consoles is a
>> consequence of the work of Ed Schouten and its Newcons project. To
>> quote Sam Gamgee, “Lor' bless him”.  http://wiki.freebsd.org/Newcons
>>
>> On Wed, Sep 22, 2010 at 1:39 AM, Sébastien Santoro
>> <dereck...@espace-win.org> wrote:
>> > Good evening,
>> >
>> > On Tue, Sep 21, 2010 at 10:18 PM, Nicholas Marriott
>> > <nicholas.marri...@gmail.com> wrote:
>> >> what tmux version?
>> >> what freebsd version?
>> > FreeBSD 8.1 (GENERIC or custom kernel)
>> > tmux 1.3 (last stable version) and reproductible against last CVS version
>> > libevent 1.4.14b
>> >
>> >> what is TERM set to inside and outside tmux?
>> > TERM
>> > outside: cons25
>> > inside: screen
>> >
>> >> does it work okay with the standard freebsd console?
>> > No, it doesn't work correctly in a standard FreeBSD console.
>> >
>> > My first guess (a problem with SC_PIXEL_MODE) were wrong.
>> >
>> >>> Good evening,
>> >>>
>> >>> When you recompile the FreeBSD kernel with the VESA and SC_PIXEL_MODE
>> >>> options, to be able to have a full screen console, tmux behaves rather
>> >>> strangely.
>> >>>
>> >>> I took this video from a VMWare virtual machine with such environment:
>> >>> http://www.youtube.com/watch?v=dyzxSOlDWTw (streaming)
>> >>>
>> >>> If you prefer to download it:
>> >>> http://devio.us/~dereckson/tech/tmux/tmux-20100921-FreeBSD-SC_PIXEL_MODE-bugs.avi
>> >>> 10.6 MB (11092392)
>> >>> MD5 (tmux-20100921-FreeBSD-SC_PIXEL_MODE-bugs.avi) =
>> >>> 304c602d14f321aa33e953b4db14ee55
>> >>> SHA1 (tmux-20100921-FreeBSD-SC_PIXEL_MODE-bugs.avi) =
>> >>> 466ee54d54c3d405581dd1819f81d7a10509d453
>> >>>
>> >>> What this video shows?
>> >>>
>> >>> PART I - tmux, one window
>> >>>
>> >>> (1) the sl command, displaying a train for right to left.
>> >>> There are some artefacts at the left of the screen
>> >>>
>> >>> (2) a tree command, all is fine
>> >>>
>> >>> PART II - let's split vertically
>> >>>
>> >>> (1) the tree command doesn't respect borders
>> >>>
>> >>> (2) cmatrix (green at left, green then blue at right)
>> >>>
>> >>> + a tree during the cmatrix operation
>> >>>
>> >>> PART III - let's split horizontally
>> >>>
>> >>> (1) All is now filne.
>> >>>
>> >>> (2) Except when you use the su command,
>> >>> then the current line is overwritten

-- 
Sébastien Santoro aka Dereckson
http://www.dereckson.be/

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to