C Shell history, backprimes Q's -- Noddy Level

David Goodenough dg at lakart.UUCP
Tue Apr 11 02:27:25 AEST 1989


>From article <2251 at solo8.cs.vu.nl>, by maart at cs.vu.nl (Maarten Litmaath):
> ian at hpopd.HP.COM (Ian Watson) writes:
> \I've just entered a command 'foo bar parm', when what I wanted was
> \'foobar parm'. ...
> 
> Welcome to csh! There's no way to achieve what you want :-(

Actually there is.

--- cut here --- cut here --- cut here --- cut here --- cut here ---
begin 755 redo
M(R!%9&ET(&AI<W1O<GD@;&ES="!A="!L:6YE(&-O;G1A:6YI;F<@;&%S="!C
M;VUM86YD("AO<&5N(&UO9&4I+ at HC($=E="!U<"!T;R`R,B!M;W-T(')E8V5N
M="!C;VUM86YD<RX*(R!4;R!W;W)K('!R;W!E<FQY+"!P=70@:6X at +FQO9VEN
M.B`@86QI87,@<B!S;W5R8V4 at +W5S<B]L;V-A;"]B:6XO<F5D;PHC($%U=&AO
M<B!U;FMN;W=N+ at IH:7-T;W)Y("UH(#8P(#XA("]T;7`O<F5D;RXD)`H*(R!-
M86ME($-2(&UA<"!T;R`Z=W$A(&%N9"!S=&%R="!E>"!Q=6EE=&QY(&%T(#)N
M9"!T;R!L87-T(&QI;F4@:6X@;W!E;B!M;V1E+ at IE>"`M("<K;6%P(`T at .BYW
M<2$;?"0M,2!O<&5N)R`O=&UP+W)E9&\N)"0*"G1A:6P at +3$@+W1M<"]R961O
M+B0D(#XA("]T;7`O8VUD+B0D"@HC($EN<V5R="!I;G1O(&AI<W1O<GD@=VET
M:&]U="!E>&5C=71I;F<N"G-O=7)C92`M:"`O=&UP+V-M9"XD)`H*(R!#;&5A
M<B!O=70@=&5M<&]R87)I97,N"B]B:6XO<FT at +68@+W1M<"][8VUD+')E9&]]
M+B0D"@HC($EF('1H:6YG(&-H;W-E;B!T;R!R961O(&ES('1H92!R961O(&%L
M:6%S(&ET<V5L9B!T:&5N($1/3B=4(')E9&\@:70N"FEF("A`+3(Z,"`A/2!`
(0#HP*2!`0`IL
`
end
--- cut here --- cut here --- cut here --- cut here --- cut here ---

and 'alias r source redo' added to your favorite .cshrc work real nice.
Now, if someone can explain why this gets all bent out of shape with
aliases ......

(For the uninformed, typing 'r' puts you into redo, which allows sort
of ksh like editing)
-- 
	dg at lakart.UUCP - David Goodenough		+---+
						IHS	| +-+-+
	....... !harvard!xait!lakart!dg			+-+-+ |
AKA:	dg%lakart.uucp at xait.xerox.com		  	  +---+



More information about the Comp.unix.questions mailing list