Re: generic bind q.
Martin Keseg - Sun Slovakia - SE <[EMAIL PROTECTED]> wrote on Thu, 24 Feb 2000: > bind generic '?' search-opposite > bind generic '' help > > but this does not work in pager. > > generic does not match pager section ? It should match, provided that there's no specific binding for the keys in that map (=the context, index/pager/etc.). Ie. the map-specific bindings always override generic bindings. So you can't make a generic binding and expect it to work immediately in all the different contexts, it only takes effect if those contexts don't have a definition in their map. So, I'm guessing that you have ? bound to help in the pager. Possible solutions: 1) bind ? in pager (and all the other maps where you want it to work) specifically to search, and do the same for 2) un-bind ? in pager, so that the generic binding will take effect. There's no un-bind command, you do it by binding the key to the special function "noop" -- "bind pager ? noop" I recommend approach 1. If this doesn't help, please be more specific about your "this does not work" -- which keys, both? What happens when you press them: nothing, some error, wrong function gets called? Regards, Mikko (... who couldn't get "bind generic ? search" to work either, even though ? was un-bound in pager -- Mutt said "key not bound" when I pressed the ? key. Also, does anyone know how can I view the current generic key bindings?) -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs / "HTML needs a rant tag." -- Alan Cox
Re: [fwd] Can not run mutt.exe (from: siddhivinayak.nirvaneshwar@tatainfotech.com)
On Thu, Feb 24, 2000 at 05:49:13PM +, Edmund GRIMLEY EVANS wrote: > If there's demand for it, perhaps one of the people who has succeeded > in building mutt on Windows could provide an unofficial executable. Or > does the Cygwin version require a library that can't be redistributed? Sounds like a good idea. CygWin is GPL-ed, according to their FAQ. (Although I don't quite understand how they can sell CygWin 1.0 for $99 w/o any download options...) Today I somehow managed to build Mutt 1.1.4 w/ CygWin B20.1 and ncurses 5.0, however it isn't fully functional (it dumped core on me a couple of times). It would also be nice to have binaries for fetchmail (does it compile on CygWin?) and perhaps ssmtp. I don't have much time for playing with all this at work, though (and I don't use Windows at home). Marius Gedminas -- $ fortune $3,000,000
Re: [fwd] Can not run mutt.exe (from: siddhivinayak.nirvaneshwar@tatainfotech.com)
If there's demand for it, perhaps one of the people who has succeeded in building mutt on Windows could provide an unofficial executable. Or does the Cygwin version require a library that can't be redistributed? Edmund
Re: home/end/pageup/pagedown don't work
Jens Wilhelm Wulf <[EMAIL PROTECTED]> wrote: > > -- > infocmp $TERM: > khome=\EOH, kend=\EOF > knp=\E[6~, kpp=\E[5~ > > -- > cat > /dev/null: > ^[[H > ^[[F > ^[[5~ > ^[[6~ > -- > emacs -nw: > ^[OH > ^[OF > ^[[5~ > ^[[6~ > -- VT100 terminals have two "modes", application and normal mode. The application mode returns the "\EO" sequences, while normal mode returns the "\E[" sequences. I have no idea why this is done. Ask DEC what they had in mind. :) > So jed sees different codes for home/end (but they don´t work ;-) The mode of the terminal is controlled by escape sequences being sent. You probably have ncurses putting the terminal into one mode, and slang putting it into the other mode. > I changed terminfo to ^[[5~ and so on as Marius suggested. But > "infocmp $TERM" still gives the same codes. Did the change not work > or are these things just different notations for the same codes? In order to make changes to the terminfo database, you must run "tic". That is, generate a file with infocmp, edit it, then compile that file with tic. Is that what you did? -- David DeSimone | "The doctrine of human equality reposes on this: [EMAIL PROTECTED] | that there is no man really clever who has not Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
Re: send-hook executing externel unix command
Markus Fischer <[EMAIL PROTECTED]> wrote on Thu, 24 Feb 2000: > [from ~/.muttrc] > send-hook '.*' '`generate_new_signature.pl`' I suggest you write this as: set signature="generate_new_signature.pl|" This will invoke the perl script every time a signature is needed, read its output, and use that for the signature. Your script can modify .signature (or whatever other files) you want, but it doesn't really have to, as only the output will be used in this case by Mutt. This way, you don't even need a hook. It *is* possible to do it like you're trying to do it... Something like send-hook . 'push generate_new_signature.pl\n' Using "push cmd\n" is the right way to do it here, not using backtics, those though could be kludged to work as well by having no output, or something like "push " or whatever... But, really, I recommend just setting the signature to be a pipe from your script. :-) Regards, Mikko PS. Please use [EMAIL PROTECTED] when writing to the list (not the gbnet.net address, despite what the welcome email might say). -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs / Reality is for people who can't cope with the Internet.
send-hook executing externel unix command
Hi all, lately I tried to write a send-hook like this : [from ~/.muttrc] send-hook '.*' '`generate_new_signature.pl`' It calls 'generate_new_signature.pl', which overwrite ~/.signature so I have a new signature every time a send a new mail (I allready realized that send-hook gets exectued at least two timeswhen sending a mail, but thats no problem since those signatures are randomly choosen from a set of files anyway). But mutt than complains about ": ", because it expects that stdout from generate_new_signature.pl generates a valid mutt command. I now set the outout to "set sort=threads" because its my default sort option I have everywhere, but I would like to know how to execute a command without haveing to fidle with the stdout. Thanks for your time ! kind regards, Markus -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 - Free Software For A Free World - PGP signature
Re: [fwd] Can not run mutt.exe (from: siddhivinayak.nirvaneshwar@tatainfotech.com)
Do you get a bonus if your eyes stick to the back of your head after rolling that far back? :) Man...density factor higher than lead there. mark-> -- Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting __/\__ ||| "I'm talking for free... | http://www.fairlite.com <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] \/||| PGP Public Key available via finger @iglou, or Key servers
[fwd] Can not run mutt.exe (from: siddhivinayak.nirvaneshwar@tatainfotech.com)
- Forwarded message from SIDDHIVINAYAK NIRVANESHWAR <[EMAIL PROTECTED]> - Date: Thu, 24 Feb 2000 11:19:44 +0530 (IST) From: SIDDHIVINAYAK NIRVANESHWAR <[EMAIL PROTECTED]> Subject: Can not run mutt.exe Hi i recently downloaded from your ftp server mutt-1_0_1i_tar.exe. I am not able to install it on my pc. I access my mails which is on red hat linux server thru pine. I read about mutt and am interested using mutt for accessing my mails. Kindly tell me what I should do ? I have downloaded the above exe file on my pc. When i click it using windows 95 it says this is not win32 app. Tell me what I should do to use it? Regards Siddhi - End forwarded message - -- http://www.guug.de/~roessler/
generic bind q.
Hi, I have defined #opposite search bind generic '?' search-opposite #redefine help bind generic '' help but this does not work in pager. generic does not match pager section ? -- Keso don't worry about glory