Date: Sun, 9 Jun 2002 00:48:53 -0700 From: Gary D Kline <kline@thought.org> To: Sanjay Bhattacharya <sanbh@gmx.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ALT key Message-ID: <20020609074853.GC15248@tao.thought.org> In-Reply-To: <003201c20f86$cebef2d0$876dc5cb@corrsl7vs6l3tz> References: <003201c20f86$cebef2d0$876dc5cb@corrsl7vs6l3tz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020609074853.GC15248>