From owner-freebsd-current@FreeBSD.ORG Sat Nov 13 17:26:49 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 253BC1065670 for ; Sat, 13 Nov 2010 17:26:49 +0000 (UTC) (envelope-from crockabiscuit@yahoo.com) Received: from nm7-vm1.bullet.mail.ne1.yahoo.com (nm7-vm1.bullet.mail.ne1.yahoo.com [98.138.90.250]) by mx1.freebsd.org (Postfix) with SMTP id CF7318FC08 for ; Sat, 13 Nov 2010 17:26:48 +0000 (UTC) Received: from [98.138.90.55] by nm7.bullet.mail.ne1.yahoo.com with NNFMP; 13 Nov 2010 17:26:48 -0000 Received: from [98.138.89.170] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 13 Nov 2010 17:26:48 -0000 Received: from [127.0.0.1] by omp1026.mail.ne1.yahoo.com with NNFMP; 13 Nov 2010 17:26:48 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 298773.73350.bm@omp1026.mail.ne1.yahoo.com Received: (qmail 57328 invoked by uid 60001); 13 Nov 2010 17:26:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289669208; bh=MexcpCJFdIA4sg9J2p0IlvCHPpKIqoHEK7s9a3JO5Vs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=j1htunz58g44xQthm7VwaNu/8dPhFXhhBcCQDp2uC6z9PU0+Qc/K0DkE8pfDuJePvv6GfYmoNjtj22UQYdozkYJy4spQ2vgOaGrPZiLMg0RaJp0H4XkMY2ffkrnqgjMZ8vBsc65+t6WRPYetgPMBhdbR7gantYkiSFTMe6WMKjI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=i0FcZof3bXyFgj5DF813PNF6omlZONCSTjl2RwVEJes618xePHuslaatbUAU3r7B+AxtwW2oRXFsmT6vtctlI6gc2R2G3mCGniqkS+qVaVtfFOkL25NZHjVbGsSM649RC4v4W+R9OsNaBeC6Fa4Tt9eypxKOqynSSOTtARvDEzg=; Message-ID: <199606.57296.qm@web120309.mail.ne1.yahoo.com> X-YMail-OSG: IuR5BQ4VM1kbChU_puWk4AmJHzsJFU.Q5Ycknm6ll8OBpaN ZWSiSk8dwusZzprqTuMWdgSFMmfFlilR5irLDsI9f59yCBtvZ9UjX3CNBJxR oBGVbSz6G2A_LQTDDmp6WYGNaOoPEYiQVoURdJRkbaznQet5kgvbomfYApWd o.Xz0gU3YuGPABajeNjoVs4R7NhAuzfd1PXZEZm_jb0HIbMdTk1A6R197dGh DIAjrBa3k1GET4gUGaQ-- Received: from [180.68.85.212] by web120309.mail.ne1.yahoo.com via HTTP; Sat, 13 Nov 2010 09:26:47 PST X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259 Date: Sat, 13 Nov 2010 09:26:47 -0800 (PST) From: crocket To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Keymaps in X11 and consoles should be the same with TEKEN_XTERM in the kernel. 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: Sat, 13 Nov 2010 17:26:49 -0000 --- On Sat, 11/13/10, Eir Nym wrote: > From: Eir Nym > Subject: Re: Keymaps in X11 and consoles should be the same with TEKEN_XTERM in the kernel. > To: "crocket" > Cc: freebsd-current@freebsd.org > Date: Saturday, November 13, 2010, 4:54 PM > On 13 November 2010 15:52, crocket > > wrote: > > TEKEN_XTERM turns on xterm mode. > > I compiled a kernel with TEKEN_XTERM, and changed > cons25 to xterm in /etc/ttys. > > > > When I executed vim on a console, the keyboard acted > weirdly. > > After setting TERM back to cons25 again, vim acted > normally again on consoles. > > I could assign xterm console characters in > /etc/termcap to fkeys by writing keychanges="fkeycode > consolecharacter" in /etc/rc.conf, but it is just a quick > hack, and it is just a solution for me but not for > everyone. > > > > Oh... you can do `vidcontrol -T xterm` and your keybindings > will be correct. When I execute 'vidcontrol -T xterm', "vidcontrol: illegal option -- T" is displayed. Ah, I use FreeBSD 8.1-RELEASE, not -CURRENT. Maybe that's why I don't have -T option. I posted my message here because development of TEKEN_XTERM is an ongoing process. > > > I would be glad keymaps in X11 and consoles became the > same with TEKEN_XTERM in the kernel. > > If the keymaps in consoles and X11 are the same, 99% > of configurations I needed to make in applications will be > unneeded. It will benefit everyone. > > > > > > As Ed said some days before, you should use TEKEN_XTERM > _or_ > TEKEN_CONS25 in your kernel. I don't understand what you answered to. However, TEKEN_CONS25 is not in my kernel configuration. And There was a typo. "I would be glad keymaps in X11 and consoles became the same with TEKEN_XTERM in the kernel" should be "I would be glad "if" keymaps in X11 and consoles became the same with TEKEN_XTERM in the kernel" Do you think xterm way(instead of syscons way) of key symbol to console character conversion should become the default in 9.0-RELEASE? I think it should be since syscons is being replaced by teken, which uses xterm. I'm not sure if I used terms right. PS. teken reminds me of tekken, an arcade game.