On Sat, Jun 14, 2008 at 11:30:09PM -0700, Jiangbo Li wrote: > Did you guys make the following working with latest mrxvt? I copied from > http://materm.sourceforge.net/wiki/FAQ/Tips# > > Mrxvt.macro.Primary+Ctrl+Shift+question: PrintScreen -ps perl -e > '$_=join("",<STDIN>); s/\n+$/\n/g; print' > /tmp/scrollback > Mrxvt.macro.Primary+Add+Ctrl+Shift+question: NewTab "(Search)" /bin/sh -c > "less -ifLR +G /tmp/scrollback; rm /tmp/scrollback" > > Mrxvt.macro.Primary+Ctrl+slash: PrintScreen -s perl -e > '$_=join("",<STDIN>); s/\n+$/\n/g; print' > /tmp/scrollback > Mrxvt.macro.Primary+Add+Ctrl+slash: NewTab "(Search)" /bin/sh -c 'view > +"syn off|set nospell notitle |normal G" /tmp/scrollback; rm > /tmp/scrollback'
Hmm. I have these macros in my ~/.mrxvtrc and use them all the time. > If I type Ctrl+Shift+question > > -ifLR: -c: line 0: unexpected EOF while looking for matching `"' > -ifLR: -c: line 1: syntax error: unexpected end of file It might be something with the exec process. Try debugging it -- Mrxvt.macro.Primary+Ctrl+Shift+question: NewTab /bin/sh -c "echo hello world" and press Ctrl+Shift+question. Or get mrxvt to spew out some debugging info, and see what happens. Worst case, post a *minimal* mrxvtrc to the list to see if one of us can debug it. > Process exited normally with status 2. Press any key to close tab. > > If I type Ctrl+slash > +"syn: -c: line 0: unexpected EOF while looking for matching `'' > +"syn: -c: line 1: syntax error: unexpected end of file I presume running /bin/sh -c 'echo hello world' works correctly? > I am using the rev 292 from subversion. Actually this worked for me > before(maybe 0.5.0???), but it's broken when I upgrade to newer version. Bin search and post a revision where it works. > Also can I redefine the Shift+Enter shortcut to LeftShift+Enter? the > right shift sit right below the enter. Sometime I accidently hit both > key at the same time and all the text in the buffer was cleared. Sorry dude :(. The shifts are hard wired to be equivalent in mrxvt. You can use xmodmap and globally remap it if you so desire, GI -- Modern Computer Viruses: Gallup Virus -- 60% of the PCs infected will lose 38% of their data 14% of the time (plus or minus a 3.5% margin of error.)
pgpbqrEaz90YA.pgp
Description: PGP signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Materm-usage mailing list Materm-usage@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-usage Mrxvt home page: http://materm.sourceforge.net