SUMMARY: keyboard problem (booted off 40.F cdrom)

From: Wakeman, Lindsay (Lindsay.Wakeman_at_bl.uk)
Date: 05/27/03

  • Next message: Malek Shabou: "setting an ipv6 default route"
    Date: Tue, 27 May 2003 10:55:10 +0100
    To: "'tru64-unix-managers@ornl.gov'" <tru64-unix-managers@ornl.gov>
    
    

    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" <Lindsay.Wakeman@bl.uk>
    >
    > 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.

    *************************************************************************


  • Next message: Malek Shabou: "setting an ipv6 default route"