Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!bcstec!randall From: randall@bcstec.boeing.com (Michael Randall) Newsgroups: comp.sys.apollo Subject: Re: DM key questions Summary: yes Keywords: help Message-ID: <739@bcstec.boeing.com> Date: 19 Mar 91 20:05:06 GMT References: <1991Mar14.204058.12004@wam.umd.edu> Organization: Boeing Computer Services, Seattle Lines: 57 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, 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, 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 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.