From owner-freebsd-mobile Sun Aug 5 16:35:22 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from wintermute.primelogic.com (wintermute.primelogic.com [207.189.136.1]) by hub.freebsd.org (Postfix) with ESMTP id 79A3637B401 for ; Sun, 5 Aug 2001 16:35:18 -0700 (PDT) (envelope-from michelle@primelogic.com) Received: from [192.168.1.1] (c886028-a.eugene1.or.home.com [24.14.231.140]) by wintermute.primelogic.com (8.9.2/8.9.2) with ESMTP id QAA25827; Sun, 5 Aug 2001 16:35:16 -0700 (PDT) Mime-Version: 1.0 X-Sender: michelle@primelogic.com (Unverified) Message-Id: In-Reply-To: <200108052312.f75NCfm12559@ptavv.es.net> References: <200108052312.f75NCfm12559@ptavv.es.net> Date: Sun, 5 Aug 2001 16:35:15 -0700 To: "Kevin Oberman" From: Michelle Brownsworth Subject: Re: ThinkPad X20 keyboard mapping problems Cc: freebsd-mobile@freebsd.org, "Scott D. Yelich" Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kevin Oberman writes: > > Date: Sun, 5 Aug 2001 15:50:33 -0700 >> From: Michelle Brownsworth >> > >> >sigh... in the time that it too you to exaplin how to fix the >> >corruption that is going to happen from this style of coding, >> >you could have presented a cut'n'paste-able code: >> > >> >#!/usr/bin/perl >> > >> >$cntrlo=pack("c",15); >> >print "$cntrlo"; >> > >> >Scott >> >> Kevin and Scott, >> >> Please excuse my obtuseness, but if the console is in the alternate >> char set mode, how would one execute the Perl script that restores it >> to normal? Perhaps I'm missing the point. > >You miss the point. It's not the key-map that's broken. It's the >presentation of characters on the screen that is messed up. (Of >course, it's still possible that I have simply mis-diagnosed the >problem.) > >Create the file in a directory in the execution path, chmod the file >to 755 and rehash. When the screen goes nuts, carefully type the name >of the script. If you give the script an all upper-case name >(e.g. FIX-FONT), the command should even echo back correctly. > >Of course, if you are running a program, you will need to suspend the >program (CTRL-Z), run the fix, and continue the program (fg). > >R. Kevin Oberman, Network Engineer >Energy Sciences Network (ESnet) >Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) >E-mail: oberman@es.net Phone: +1 510 486-8634 Makes sense. In that case, I guess I'm still confused about why you wouldn't simply type a CTRL-O from the command line instead of executing the script. .\\ichelle --------------------- Michelle Brownsworth System Administrator PrimeLogic Communications http://www.primelogic.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message