[comp.sys.apollo] DM key questions

dododge@wam.umd.edu (David O. Dodge) (03/15/91)

This is probably a stupid question, but...

Is the "repeat" key functional under SR10.3? My node at work was recently
upgraded from 10.2 and I just noticed that the "repeat" key doesn't
work anymore (though I'm not sure when it stopped working). So, how do
I make this key active? The standard "keys" help page doesn't seem to say
anything about this key. Is there a way to "kd" it?

While on the subject of keys...

My nodes at home are running SR9.7, and the "mark" function for marking a
text region is behaving like the Sun or xterm implementation, so I can't
do things like "box" an area (which the node at work WILL do). I haven't
really looked into this yet, so the answer might be trivial, but how do
I get the "boxing" function active on my home machines?

And yet another key question...

Does anyone have a better key definition than the default for the "help"
key under UNIX? What I want is that if it can't find the man page for a
command it just tells me via the message window instead of popping up a blank
pad (which gets annoying if you press the key by accident). I know the old
9.7 "help" function (for Aegis) worked this way.

                                      -Dave Dodge/dododge@wam.umd.edu

randall@bcstec.boeing.com (Michael Randall) (03/20/91)

In article <1991Mar14.204058.12004@wam.umd.edu>, dododge@wam.umd.edu (David O. Dodge) writes:
> This is probably a stupid question, but...
> 
> Is the "repeat" key functional under SR10.3? My node at work was recently
    Yes, it still works. I am running sr10.3 on a DN4500.
    Seeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee?
> anything about this key. Is there a way to "kd" it?
    No, it is not a "Definable" key.

> While on the subject of keys...
> My nodes at home are running SR9.7, and the "mark" function for marking a
> text region is behaving like the Sun or xterm implementation, so I can't
> do things like "box" an area (which the node at work WILL do). I haven't
> really looked into this yet, so the answer might be trivial, but how do
> I get the "boxing" function active on my home machines?
    I created two files to toggle the cut/copy/paste keys between normal and
    rectangular mode. I then defined the F2 key to  execute this command file.

Key def for F2: (entered at "Command:" line)
 kd f2 cmdf /user/support/sys/dm/cut_to_rect ke

File: /user/support/sys/dm/cut_to_rect
 kd l1 dr;echo -r ke
 kd l1a xc -r ke
 kd l1as xd -r ke
 kd l2a xp -r ke
 kd f2 cmdf /user/support/sys/dm/cut_to_std ke
 msg 'Cut @& Paste set to rectangular, <F2> toggles'

File: /user/support/sys/dm/cut_to_std
 kd l1 dr;echo ke
 kd l1a xc ke
 kd l1as xd ke
 kd l2a xp ke
 kd f2 cmdf /user/support/sys/dm/cut_to_rect ke
 msg 'Cut @& Paste set to normal, <F2> toggles'

The file of course can be named anything you want as long as it matches the
names in the file. With this setup I can copy in normal mode, hit <F2> and
paste in rectangular mode.

> And yet another key question...
> Does anyone have a better key definition than the default for the "help"
> key under UNIX? What I want is that if it can't find the man page for a
> command it just tells me via the message window instead of popping up a blank
> pad (which gets annoying if you press the key by accident). I know the old
> 9.7 "help" function (for Aegis) worked this way.

  You COULD redefine it to the "HELP" (instead of MAN) key def. OR you could have
  it start a process (which you wrote) with the name as the arguments and have your
  program handle the output. 
Hope this helps. :) 
-- 
-------------------- Peace Love & E-Mail ----------------------------------
  Michael W. Randall          |  Phone: (206) 965-9557
  randall@bcstec.boeing.com   |  This space for rent...
   ...!uunet!bcstec!randall   |                        ...Inquire within.

randall@bcstec.boeing.com (Michael Randall) (03/20/91)

OOPS, I missed something. In my last posting I said that the repeat key
is not definable. This is only partially true. It is not "Definable" as
with the kd command. However, you can use the kbm command to handle some
things. See "man kbm" for more info.  :} <Sheepish grin>
-- 
-------------------- Peace Love & E-Mail ----------------------------------
  Michael W. Randall          |  Phone: (206) 965-9557
  randall@bcstec.boeing.com   |  This space for rent...
   ...!uunet!bcstec!randall   |                        ...Inquire within.