Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!im4u!rutgers!mit-eddie!uw-beaver!apollo!nazgul From: nazgul@apollo.uucp (Kee Hinckley) Newsgroups: comp.sys.apollo Subject: Re: Aegis Vs. Unix Message-ID: <356efa40.b0a1@apollo.uucp> Date: Fri, 12-Jun-87 18:38:00 EDT Article-I.D.: apollo.356efa40.b0a1 Posted: Fri Jun 12 18:38:00 1987 Date-Received: Sun, 21-Jun-87 01:43:08 EDT References: <8706090628.AA29741@zeus.CS.UCLA.EDU> <1819@zeus.TEK.COM> Reply-To: nazgul@apollo.UUCP (Kee Hinckley) Organization: Apollo Computer, Chelmsford, MA Lines: 92 In article <1819@zeus.TEK.COM> bobr@zeus.UUCP (Robert Reed) writes: > "again" and "cut and paste" are a bearly adequate replacement for csh > history functions. The problem is interposed program output, which causes > command lines to be scrolled off the page, requiring a lot of keystrokes to .... One of these days I will get around to posting all of my keydefs (this sounds simple, but actually they are split up so different ones get loaded on different machines). Anyway. In the meantime here is my again key. I still use ! in the csh for recent commands, but this is in some ways more powerful. kd R2 twb -t;au;twb -b;twb -r;\%[%@#>=-$D:B][0-9 -=S$]?*@&'Key: '\; / /;ar;dr;tr;xc AGAIN_BUF;pb;tb;tl;ti;tb;tr;xp AGAIN_BUF; twb -b;pb;tb;tr ke kd R2U ke kd R2S twb -t;au;twb -b;twb -r;\%[%@#>=-$D:B][0-9 -=S$]?*@&'Key: '\; / /;/ /;dr;tr;xc AGAIN_BUF;pb;tb;tl;ti;tr;xp AGAIN_BUF;tr ke The first version gets the command, the second gets the arguments. In both cases it prompts for a wildcard to match on the command line. Just pressing return will result in the last command. They key thing to change here is the contents of the regular expression in []s. These indicate the first 2 characters of your prompt. If you only ever have one prompt then you could just say \%ab?*...\ or some such, but usually I have multiple environments and this is set up to work in all my shells, DSEE, the debugger, and a number of other environments. For instance, let's say you wanted to take care of the Aegis shell (sigh) and DSEE. Then you would say '[$D][ S]' Enjoy. Oh well, while I'm at it. Here are my window setup keydefs for a BW DN3000. (000,000)dr;(000,063)idf (065,000)dr;(671,496) wdf 1 (673,000)dr;(1279,496) wdf 2 (065,498)dr;(671,994) wdf 3 (673,498)dr;(1279,994) wdf 4 (065,000)dr;(671,496) wdf 5 (673,000)dr;(1279,496) wdf 6 (065,498)dr;(671,994) wdf 7 (673,498)dr;(1279,994) wdf 8 kd NP7 twb -l;dr;(065,000)wg;twb -r;twb -b;dr;(671,496)wg;tl ke kd NP4 twb -l;dr;(065,000)wg;twb -r;twb -b;dr;(671,994)wg;tl ke kd NP1 twb -l;dr;(065,000)wg;twb -r;twb -b;dr;(671,496)wg;twb -l;twb -b;dr;(065,994)wm;tl ke kd NP8 twb -l;dr;(065,000)wg;twb -r;twb -b;dr;(1279,496)wg;tl ke kd NP5 twb -l;dr;(065,000)wg;twb -r;twb -b;dr;(1279,994)wg;tl ke kd NP2 twb -l;dr;(065,000)wg;twb -r;twb -b;dr;(1279,496)wg;twb -l;twb -b;dr;(065,994)wm;tl ke kd NP9 dr;(1279,000)wm;twb -l;twb -b;dr;(673,496)wg;tl ke kd NP6 dr;(1279,000)wm;twb -l;twb -b;dr;(673,994)wg;tl ke kd NP3 dr;(1279,000)wm;twb -l;twb -b;dr;(673,496)wg;twb -r;twb -b;dr;(1279,994);wm;tl ke This will set up your screen psuedo-tiled (which in my mind is better than tiled, but...) +-----+-----+ I| | | C| | | O+-----+-----+ N| | | S| | | +-----+-----+ With the number keys used to put windows in their places according to which keypad key you press. Note that the movement commands don't *always* work, in particular DSEE can only be placed with them on the right hand side. And use these to get things in and out of Icons (or invisible windows) without using the mouse. You either type the name of the window or a group (created with ^G). kd ^G wgra @&'Group: ' ke; # Add to group #kd ^E wi -w @&'Group: ' ke; # Make visible #kd ^W wi -i @&'Group: ' ke; # Make invisible kd ^W icon -i @&'Group: ' ke kd ^E icon -w @&'Group: ' ke Enough for now. -kee -- UUCP: {mit-erl,yale,uw-beaver}!apollo!nazgul ARPA: apollo!nazgul@eddie.mit.edu I'm not sure which upsets me more; that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.