From owner-freebsd-questions Sun Jun 9 0:48:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-250.oz.net [216.39.168.250]) by hub.freebsd.org (Postfix) with ESMTP id 3F8B537B406 for ; Sun, 9 Jun 2002 00:48:50 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.11.6/8.11.3) id g597mri15987; Sun, 9 Jun 2002 00:48:53 -0700 (PDT) (envelope-from kline) Date: Sun, 9 Jun 2002 00:48:53 -0700 From: Gary D Kline To: Sanjay Bhattacharya Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ALT key Message-ID: <20020609074853.GC15248@tao.thought.org> References: <003201c20f86$cebef2d0$876dc5cb@corrsl7vs6l3tz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003201c20f86$cebef2d0$876dc5cb@corrsl7vs6l3tz> User-Agent: Mutt/1.3.28i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community 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 Sun, Jun 09, 2002 at 12:55:14PM +0530, Sanjay Bhattacharya wrote: > Hi, > I am extremely sorry for bugging the list again with a keyboard related > problem. My apologies to all of you. I am unable to get my ALT key working > as the META key in bash. So when I press ALT-B, I get a B printed instead of > the cursor moving backward by a word. And I have to use the escape key as > the META key ie,. ESC-B instead of ALT-B. I tried putting several settings > in my ~/.inputrc file so that readline respects my ALT key. But nothing > happened. I have tried disabling the terminal's stripping of the 8th bit of > the input characters and still nothing. I tried stty -istrip. I have > rampaged the net but I couldn't come up with any stuff that's helpful. I > have a Win keyboard with 105 keys and I am using FreeBSD 4.5-RELEASE with > bash-2.05a. I'll be very grateful if you guys can help me out with this > problem. Thanks a lot in advance. > If you are running X, try the following in your shell start-up file--(I have this in my ~/.zlogin): /usr/X11R6/bin/xmodmap /home/kline/.xmodmaprc And in /home/kline/.xmodmaprc I have mapping entries such as ! !! adding definitions here. (19dec01) ! keycode 64 = Alt_L Meta_L keycode 113 = Alt_R Meta_R keycode 117 = Escape gary -- Gary Kline kline@thought.org www.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message