From owner-freebsd-questions Wed Oct 30 10:24:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 300FF37B401 for ; Wed, 30 Oct 2002 10:24:26 -0800 (PST) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.FreeBSD.org (Postfix) with SMTP id BE90443E6E for ; Wed, 30 Oct 2002 10:24:23 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 27455 invoked from network); 30 Oct 2002 18:17:09 -0000 Received: from upnet-dialinpool-13.upnet.gr (HELO gray.sea.gr) (root@150.140.128.241) by nic.upatras.gr with SMTP; 30 Oct 2002 18:17:09 -0000 Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id g9UIOPh0000558; Wed, 30 Oct 2002 20:24:26 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id g9UDZaX2063575; Wed, 30 Oct 2002 15:35:36 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 30 Oct 2002 15:35:35 +0200 From: Giorgos Keramidas To: budsz Cc: freebsd-questions@FreeBSD.org Subject: Re: Changing key in terminal Message-ID: <20021030133534.GC63386@gray.sea.gr> References: <20021027053821.GA64832@kumprang.or.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021027053821.GA64832@kumprang.or.id> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-10-27 12:38, budsz wrote: > I was try last night to split/create new windows in BitchX for example > I typed /windows new hide in BX prompt and then I switched to other > window using alt+1, alt+2 etc but nothing happend (doesn't switch), Try using ESC+1, ESC+2, etc. > Yes If I trying using remote terminal it's OK. The question doesn't > about BitctX but How to change key in terminal (console)?, You do realise that you are mixing up local consoles and remote connections here, right? The behavior of each one is not necessarily related to that of the other. To change the behavior of keys on a local virtual terminal, you can use kbdcontrol(1). Read the manual pages of kbdcontro(1), kbdmap(5) and the files under /usr/share/syscons/keymaps for more details. > I didn't found this reference in manual. The same problem I saw in > ~/.bash_profile if I used TERM=xterm-color variable in this case, I > can't using editor like vim, ed (I got like 22h char if I press a > key), but if I remotly it's OK, In my box doesn't use X system. You haven't provided enough details for any of the above to make sense. What type of terminal were you using when you set TERM to xterm-color? A virtual tty of the console? A remote connection to another machine? Since you have mentioned that you don't have X11 installed, the strange behavior you are seeing is very likely to be a result of an inappropriate TERM value. Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message