[Testers wanted] vt100/xterm-support for syscons

Ed Schouten ed at 80386.nl
Wed Dec 24 02:24:45 PST 2008


* swell.k at gmail.com <swell.k at gmail.com> wrote:
> Typing in `tcsh -f' (TERM=xterm)
> 
>     foo`^Abar
> 
> results in
> 
>     rabfoo`
> 
> with *characters* (not cursor) going from left to right. Cursor stays
> at the beginning of line until one types ^R (redisplay).
> Never happens with TERM=cons25 or TERM=vt100. Any ideas why?

Hmmmm... Strange thing is that I can't seem to reproduce this. Maybe the
terminal emulator stayed stuck in insert mode? Maybe you can reproduce
this for me by doing the following.

Go to /sys/dev/syscons/teken and run `make'. This will create a binary
called `teken_demo', which is a testing utility that simulates a
terminal using exactly the same code as syscons.

Just run this binary from an xterm (or at least a terminal we trust) and
see if you can reproduce it there. A nice thing is that you can just
restart the application, so we have a better picture of what triggered
this behaviour.

> BTW, it would be nice if xterm emulation support extension to display
> 256 colors
> 
>      :AB=\E[48;5;%dm:\
>      :AF=\E[38;5;%dm:
> 
> at least up to first batch of 8 colors and ignoring rest.

The reason why I didn't add support for 256 colors, is because it would
require fundamental changes to all syscons drivers as well. I'll look in
to it after I've committed this version.

Thanks for testing the patch!

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20081224/fb058ed3/attachment.pgp


More information about the freebsd-hackers mailing list