From owner-freebsd-current@FreeBSD.ORG Tue Nov 9 16:08:24 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D5461065780 for ; Tue, 9 Nov 2010 16:08:24 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id CAC208FC1A for ; Tue, 9 Nov 2010 16:08:23 +0000 (UTC) Received: by gwj16 with SMTP id 16so4572880gwj.13 for ; Tue, 09 Nov 2010 08:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=f9z7iKqCb/S1t7r7VyulH1cyZGCgfIC8a7jaOF9atGk=; b=oHqmat8t31tb/vPgTRKlGoupNb0geqDSyb+qrZqgf8t/jX2klfvxD7Btrv2avqAAMY TGiR+1Bzd+dqnoVxHifxTCkvk0g3/RYu4IMv0yWUBevfE4xO+sMaYncYa2usp0m/nnFn XHt/lVzjf+l1pJL2j3TQCTW9lh7+WUkILixcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=epuIBbk8hTCN3Y413+Y6NEqIosRhNZjDUUR/EzO/s6HHLi/OYi27NOqks6QAIeAYf6 vwKlFETdxKSanhc/nK5cDAoDpMGZh17Jf8zyqYSuJY5/IvRSauNgXWJseZ/c+Ht1NxHB TKgCAWMgZ4XqaSBUJpAzg7rr23m5yLqeCPJNk= Received: by 10.216.87.20 with SMTP id x20mr997858wee.52.1289318902153; Tue, 09 Nov 2010 08:08:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.182.10 with HTTP; Tue, 9 Nov 2010 08:08:01 -0800 (PST) In-Reply-To: <20101109100319.GV2054@hoeg.nl> References: <20101109100319.GV2054@hoeg.nl> From: Renato Botelho Date: Tue, 9 Nov 2010 14:08:01 -0200 Message-ID: To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Eir Nym , FreeBSD Mail Lists Subject: Re: Syscons and termcap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 16:08:24 -0000 On Tue, Nov 9, 2010 at 8:03 AM, Ed Schouten wrote: > Hello Eir, > > * Eir Nym , 20101109 05:10: >> I've compiled -CURRENT kernel with UTF-8 and CONS25 support. ( r214751 ) >> >> in xterm emulation mode I have problems with bindings for some keys, >> such as Home >> If I start vis(1) and press Home, I always get "^[[H" sequence instead >> of "^[OH" which is defined in termcap (5) file. >> >> I get correct results after switching to cons25. >> >> What do I wrong ? Does sc(4) driver in current correctly support >> xterm-like key bindings? > > Yes, but not only must you set TERM=3Dxterm, you must also remove > TEKEN_CONS25 from your kernel configuration or run vidcontrol -T xterm > on that specific window. There is almost no reason why anyone would want > to use the TEKEN_CONS25 option. > > Depending on whether the terminal is switched to cursor keys mode, it > will return ^[[H or ^[OH. See /sys/teken/teken.c, teken_get_sequence(). Hi Ed, Well, few weeks ago I moved from ISO-8859-1 to UTF-8 on my Xorg environment, and after reading this I decided to make a test. I rebuilt my 9.0-current (r215031) with option TEKEN_UTF8 in kernel config, and after configure my syscons to use cp850-* fonts i can see UTF-8 chars properly \o/ The only thing i cannot do here is to type chars with accent like =E1=E9 on console, because it seems to don't respect deadkeys, when I press ' the char ' is show and never wait the next char to compose a new one when necessary. Is it a knwon issue or i'm doing something wrong? I'm using us.iso.kbd Regards --=20 Renato Botelho