Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!apollo!betsym From: betsym@apollo.HP.COM (Elizabeth Minahan) Newsgroups: comp.sys.apollo Subject: Re: man pages Message-ID: <4bc9764c.20b6d@apollo.HP.COM> Date: 24 Jul 90 19:27:00 GMT Sender: root@apollo.HP.COM Lines: 47 tomf@snoopy.Colorado.EDU (FREDERICKS THOMAS M) writes: > The help key on my system used to bring up stuff out of /sys/help. > Now it brings up man pages, what causes this? Can it be changed > back to /sys/help? and jonathan@jarthur.Claremont.EDU (Jonathan Ball) writes: >> It's probably because the file /etc/environ (really >> /sys/node_data/etc/environ) was changed. It defines a variable called >> ENVIRONMENT which can be set to `aegis', `bsd', or `sysv'. If it is one of >> the latter two, I think the help automatically assumes you want man pages. >> The only way I can think of to change the help key's behaviour is to change >> the ENVIRONMENT back to `aegis' and reboot the machine. That's true that changing the environment to a Unix environment will change the key definition of the help key, but you shouldn't have to change back your environment to change the behavior of the help key. Assuming you're using the dm, at boot time, the key definitions in /sys/dm/std_keys.basic get loaded. If the machine has an Aegis environment, these are your default key definitions. Here is how the help key is defined: kd r6s cv /sys/help/@&'Help on: '.hlp ke If the machine has a Unix environment, it goes on to load /sys/dm/std_keys.unix, which defines that help key as this: # this keydef uses the version of man(1) appropriate # to the window the cursor is in when the key is pressed kd r6s cpo /usr/bin/man -W @&'Show manual entry for [section] name: ' ke You should be able to define the key to whatever you want using the dm kd command. Betsy Minahan Hewlett Packard North American Response Center