From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Wakeman, Lindsay" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: keyboard problem (booted off 40.F cdrom) Date: Tue, 27 May 2003 10:55:10 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5D6AD0E24C704645A0F1F1431B9F2161037D71DE@nt-lonex2.bl.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1054029234 21545 80.91.224.249 (27 May 2003 09:53:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 09:53:54 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue May 27 11:53:52 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19Kb9T-0005bC-00 for ; Tue, 27 May 2003 11:53:51 +0200 Original-Received: (qmail 18093 invoked by uid 5); 27 May 2003 09:55:42 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18084 invoked by uid 49493); 27 May 2003 09:55:42 -0000 Original-Received: from Lindsay.Wakeman@bl.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-7.8/5.0):. Processed in 0.461289 secs); 27 May 2003 09:55:42 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 27 May 2003 09:55:41 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HFJ00I72I8SP4@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 27 May 2003 05:55:41 -0400 (EDT) Original-Received: from nt-lonex2.bl.uk (nt-lonex2.bl.uk [193.60.210.61]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HFJ00GH0I8DKG@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 27 May 2003 05:55:26 -0400 (EDT) Original-Received: by nt-lonex2.bl.uk with Internet Mail Service (5.5.2653.19) id ; Tue, 27 May 2003 10:55:11 +0100 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:4335 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4335 Much thanks for swift responses from: Hamadoun Dicko Bob Vickers Shaun Racine Martin Adolphson Various creative solutions as follows: * Run /usr/bin/X11/dxkeycaps * Capture the root prompt h=`echo $PS1`; mount -t advfs domain${h}fileset /mountpoint * Use the octal value directly `echo "mount domain\043fileset /mountpoint"` * and: Shellscript: mount domain`echo -e "\043"`fileset /mountpoint (you don't need the -e flag on "echo" unless you are using Bash) Perl: mount domain`perl -e 'print "\043"'`fileset /mountpoint And if you can't access the backtick key either you could always do it this way: Shellscript: echo -e '#!/bin/sh\nmount domain\043fileset /mountpoint' > mountscript.sh Or Perl: perl -e 'print "#!/bin/sh\nmount domain\043fileset /mountpoint\n"' > mountscript.sh which would create a script "mountscript.sh" that will mount your domain. Thanks all, Lindsay ----- Original Post ----- From: "Wakeman, Lindsay" > > Hi Sysadmins > > I had to rebuild and restore a replacement system disk yesterday, and ran > into a bit of a problem with the keyboard mapping. > > My method was to boot off the 4.0F distribution CDROM, label the new disk, > edit the new disk label, make the required root, usr and var AdvFS > domains/filesets and then restore vdump images from tape. > > All was going well until I got to mounting the newly made filesets. The > mount command requires the format: > > mount -t advfs domain#fileset /mountpoint > > ... and I had no # (hash) key available on the keyboard (really, I tried > everything possible) > > The sterling pound key was just that, and the dollar key was a dollar. The > hash key gave ^@ > > In the end I got around it by editing a restored copy of the fstab file, in > order to obtain the hash symbol from the original > mount requests. The root prompt in single-user mode was showing properly as > hash so I may also have been able to capture a > hash in a file using the script command (if it is in the standalone system). > > Anyway, my question is, what should/could I have done to change the > keyboard mapping to get a hash symbol at the time? > > Thanks for any help you can offer, I could do without that hairy moment > next time round! > > Lindsay > > Lindsay Wakeman > Senior Analyst/Programmer, Systems Delivery London > The British Library > lindsay.wakeman@bl.uk ************************************************************************** Now exhibiting at the British Library Galleries: Painted Labyrinth : the world of the Lindisfarne Gospels Until 28 September 2003. Admission Free. ************************************************************************* The information contained in this e-mail is confidential and may be legally privileged. It is intended for the addressee(s) only. If you are not the intended recipient, please delete this e-mail and notify the postmaster@bl.uk : The contents of this e-mail must not be disclosed or copied without the sender's consent. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the British Library. The British Library does not take any responsibility for the views of the author. *************************************************************************