[prev in list] [next in list] [prev in thread] [next in thread] 

List:       miros-discuss
Subject:    mksh sample: RPS1
From:       Thorsten Glaser <tg () mirbsd ! de>
Date:       2008-12-13 21:27:25
Message-ID: Pine.BSM.4.64L.0812132125420.26619 () herc ! mirbsd ! org
[Download RAW message or body]

The below ~/.mkshrc addition emulates zsh $RPS1 behaviour, somewhat
(not with multi-line prompts or in realtime, though, and the input
line editor does not know about it, so it might overwrite it until
the next prompt is drawn):

begin 644 sample
M9G5N8W1I;VX@<')E8VUD('L*"71Y<&5S970@93TD/R!J(',@;&5N/3`*"@ES
M970@+4$@:B`D*&IO8G,@+7`I"@EI9B`H*"`D>R-J6RI=?2`I*3L@=&AE;@H)
M"7,])'LC:ELJ77T*"0DH*"!E("DI("8F(',](B1S("(*"69I"@EL96X])'LC
M<WT*"7,](AM;,3LS,VTD<R(*"6EF("@H(&4@*2D[('1H96X*"0ES/2(D<QM;
M,3LS,6TD92(*"0EL970@;&5N*STD>R-E?0H)9FD*"7!R:6YT("UN("(;-QM;
?)"@H0T],54U.4R`M(&QE;BDI1R1S&ULP;1LX(@I]"@``
`
end

Have fun!

bye,
//mira"mksh – few things are impossible, they just l̲o̲o̲k̲ different"bilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic