From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 24 10:24:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4CAE1065673 for ; Wed, 24 Dec 2008 10:24:45 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 721FC8FC08 for ; Wed, 24 Dec 2008 10:24:45 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 725081D01D; Wed, 24 Dec 2008 11:24:44 +0100 (CET) Date: Wed, 24 Dec 2008 11:24:44 +0100 From: Ed Schouten To: swell.k@gmail.com Message-ID: <20081224102444.GJ1176@hoeg.nl> References: <20081223135951.GX1176__30103.4640674063$1230042170$gmane$org@hoeg.nl> <86y6y6ayo5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n7Uw1KoBlYAJvhhj" Content-Disposition: inline In-Reply-To: <86y6y6ayo5.fsf@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Hackers Subject: Re: [Testers wanted] vt100/xterm-support for syscons X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 10:24:45 -0000 --n7Uw1KoBlYAJvhhj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * swell.k@gmail.com wrote: > Typing in `tcsh -f' (TERM=3Dxterm) >=20 > foo`^Abar >=20 > results in >=20 > rabfoo` >=20 > 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=3Dcons25 or TERM=3Dvt100. 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 >=20 > :AB=3D\E[48;5;%dm:\ > :AF=3D\E[38;5;%dm: >=20 > 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! --=20 Ed Schouten WWW: http://80386.nl/ --n7Uw1KoBlYAJvhhj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAklSDewACgkQ52SDGA2eCwXOGgCfRvbWFF3V5A/TQUHTolit43qx IOkAnj49McpmmXIrIB6EjtLPjk4pIZwe =Lf93 -----END PGP SIGNATURE----- --n7Uw1KoBlYAJvhhj--