Bind and Macro problem

2016-01-07 Thread Jeffery Small
OS: Xubuntu 15.10 mutt: 1.5.23 I have been running mutt on a Solaris system for years. I am now transitioning to a Ubuntu machine. I am using the same Sun Type 6 keyboard on moth machines, however, on the new system these are some escape sequences issued by keys that include a semicolon w

Re: Macro problem: unset wait_key; !do_script; set wait_key

2008-02-28 Thread Ad. Teixera
On Thu, Feb 28, 2008 at 04:39:49PM -0600, Kyle Wheeler wrote: > While you're at it, you probably want to stop using keys and start > using function names directly. Like so: > > macro attach b "unset wait_key\ > cat >/tmp/tmp.html; \ > opera --remote 'openURL(/tmp/tmp.html,new-page)' &\ > set wait

Re: Macro problem: unset wait_key; !do_script; set wait_key

2008-02-28 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, February 28 at 10:14 PM, quoth Ad. Teixera: >Hello, >This macro is working: >macro index f ":unset wait_key\n;!~/myScript\n;:set wait_key\n" \ > "menu for fetching mail" > >this one works also, but it is not setting the wait_key at the

Macro problem: unset wait_key; !do_script; set wait_key

2008-02-28 Thread Ad. Teixera
Hello, This macro is working: macro index f ":unset wait_key\n;!~/myScript\n;:set wait_key\n" \ "menu for fetching mail" this one works also, but it is not setting the wait_key at the end of the macro. macro attach b ":unset wait_key\n|cat >/tmp/tmp.html; \ opera --remote 'openURL(/tmp/tmp.

Re: macro problem

2007-03-16 Thread Cameron Simpson
On 05Mar2007 17:25, Michelle Konzack <[EMAIL PROTECTED]> wrote: | I have: | [ '/home/michelle.konzack/.mutt/macros' ]-- | macro index \cb "|urlview\n" | macro index \cf ':`tdmuttsettings --display-filter`'"\n" | macro index \cm ':`tdmuttmailboxes`'"\n" |

macro problem

2007-03-05 Thread Michelle Konzack
Hello, I have: [ '/home/michelle.konzack/.mutt/macros' ]-- macro index \cb "|urlview\n" macro index \cf ':`tdmuttsettings --display-filter`'"\n" macro index \cm ':`tdmuttmailboxes`'"\n" ---

Re: macro problem

2002-04-16 Thread Thomas E. Dickey
On Tue, 16 Apr 2002, Nicolas Rachinsky wrote: > * "Thomas E. Dickey" <[EMAIL PROTECTED]> [2002-04-16 15:45:37 -0400]: > > On Tue, 16 Apr 2002, Nicolas Rachinsky wrote: > > > PS: using FreeBSD 4.5 with a termcap entry based on xterm-color. > > > > FreeBSD maintainers (?) insist on using "xterm-col

Re: macro problem

2002-04-16 Thread Michael Tatge
Nicolas Rachinsky ([EMAIL PROTECTED]) muttered: > * Michael Tatge <[EMAIL PROTECTED]> [2002-04-16 20:58:08 +0200]: > > Nicolas Rachinsky ([EMAIL PROTECTED]) muttered: > > > * Eduardo Gargiulo <[EMAIL PROTECTED]> [2002-04-16 14:07:07 -0300]: > > > > i'm not right on the mutt box. I'm connected thro

Re: macro problem

2002-04-16 Thread Nicolas Rachinsky
* "Thomas E. Dickey" <[EMAIL PROTECTED]> [2002-04-16 15:45:37 -0400]: > On Tue, 16 Apr 2002, Nicolas Rachinsky wrote: > > PS: using FreeBSD 4.5 with a termcap entry based on xterm-color. > > FreeBSD maintainers (?) insist on using "xterm-color", though it does not > closely match XFree86 xterm.

Re: macro problem

2002-04-16 Thread Thomas E. Dickey
On Tue, 16 Apr 2002, Nicolas Rachinsky wrote: > * Michael Tatge <[EMAIL PROTECTED]> [2002-04-16 20:58:08 +0200]: > > Nicolas Rachinsky ([EMAIL PROTECTED]) muttered: > > > * Eduardo Gargiulo <[EMAIL PROTECTED]> [2002-04-16 14:07:07 -0300]: > > > > i'm not right on the mutt box. I'm connected throu

Re: macro problem

2002-04-16 Thread Eduardo Gargiulo
Nicolas Rachinsky <[EMAIL PROTECTED]> wrote: > * Eduardo Gargiulo <[EMAIL PROTECTED]> [2002-04-16 14:07:07 -0300]: > > i'm not right on the mutt box. I'm connected through ssh using PuTTY > > client. > > My settings are: > function keys and keypad=Xterm R6 > > > > Have you checked to see how it

Re: macro problem

2002-04-16 Thread Nicolas Rachinsky
* Michael Tatge <[EMAIL PROTECTED]> [2002-04-16 20:58:08 +0200]: > Nicolas Rachinsky ([EMAIL PROTECTED]) muttered: > > * Eduardo Gargiulo <[EMAIL PROTECTED]> [2002-04-16 14:07:07 -0300]: > > > i'm not right on the mutt box. I'm connected through ssh using PuTTY > > > client. > > > > My settings a

Re: macro problem

2002-04-16 Thread Michael Tatge
Nicolas Rachinsky ([EMAIL PROTECTED]) muttered: > * Eduardo Gargiulo <[EMAIL PROTECTED]> [2002-04-16 14:07:07 -0300]: > > i'm not right on the mutt box. I'm connected through ssh using PuTTY > > client. > > My settings are: > function keys and keypad=Xterm R6 Use VT100+ HTH, Michael -- "If yo

Re: macro problem

2002-04-16 Thread Nicolas Rachinsky
* David T-G <[EMAIL PROTECTED]> [2002-04-16 13:42:51 -0500]: > % > % > Just for fun, what if you leave your macro binding but manually > % > type my key sequence? > % > % 'Key is not bound' > > My guess is that we've exhausted the terminal side and it has something > to do with the termcap/ter

Re: macro problem

2002-04-16 Thread Nicolas Rachinsky
* Eduardo Gargiulo <[EMAIL PROTECTED]> [2002-04-16 14:07:07 -0300]: > i'm not right on the mutt box. I'm connected through ssh using PuTTY > client. My settings are: function keys and keypad=Xterm R6 > > Have you checked to see how it would pass a keypress of f1 outside of mutt? > > What if you

Re: macro problem

2002-04-16 Thread David T-G
Eduardo -- ...and then Eduardo Gargiulo said... % % David T-G <[EMAIL PROTECTED]> wrote: % > % ... % > and the macros work for me... When I go to the settings for keyboard, I % > have Function keys set to send ESC(n~ rather than Linux, Xterm, or % > VT400... How about you? % % idem settings,

Re: macro problem

2002-04-16 Thread Eduardo Gargiulo
David T-G <[EMAIL PROTECTED]> wrote: > % > % > Have you checked to see how it would pass a keypress of f1 outside of mutt? > % > What if you > % > > % > echo ^V | cat -v > % > % ^[[11~ (hmmm) > > OK... When I send an F1 from my NT4 box running Putty v0.51 I get > > ^[OP > > and the mac

Re: macro problem

2002-04-16 Thread David T-G
Eduardo -- ...and then Eduardo Gargiulo said... % % David T-G <[EMAIL PROTECTED]> wrote: ... % > % > Quite interesting. And did you define your ,m macro with a \n at the % > end, or do we *expect* that you'd have to hit return? % % i forgot to append \n. Good enough; we expect it and so we d

Re: macro problem

2002-04-16 Thread Eduardo Gargiulo
David T-G <[EMAIL PROTECTED]> wrote: > % > Let's see if you can define any macros at all. What if you change the > % > key from to ,m or some such; does it show up then? > % > % ok. With f1 or F1 the macro didn't work, but with ,m yes! I see a > % message 'Shell command: less /usr/local/doc/mut

Re: macro problem

2002-04-16 Thread David T-G
Eduardo -- ...and then Eduardo Gargiulo said... % % David T-G <[EMAIL PROTECTED]> wrote: % > % > ...and then Eduardo Gargiulo said... % > % ... % > OK. But are they in the system Muttrc file? % % yes. Now, i have removed the macros from muttrc, but they are still not % working. It was unlik

Re: macro problem

2002-04-16 Thread Eduardo Gargiulo
David T-G <[EMAIL PROTECTED]> wrote: > Eduardo -- > > ...and then Eduardo Gargiulo said... > % > % David T-G <[EMAIL PROTECTED]> wrote: > % > > % > That usually goes in the system Muttrc file. Are they in there, too? > % > % i added manually. > > OK. But are they in the system Muttrc file?

Re: macro problem

2002-04-16 Thread David T-G
Thorsten, et al -- ...and then Thorsten Haude said... % % * Eduardo Gargiulo <[EMAIL PROTECTED]> [02-04-16 17:20]: % ># Show documentation when pressing F1 % >macro generic "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" % ^ % >but when i hit F1, the macro do

Re: macro problem

2002-04-16 Thread David T-G
Eduardo -- ...and then Eduardo Gargiulo said... % % David T-G <[EMAIL PROTECTED]> wrote: % > % > That usually goes in the system Muttrc file. Are they in there, too? % % i added manually. OK. But are they in the system Muttrc file? % % > How very odd. So it doesn't show up in the help l

Re: macro problem

2002-04-16 Thread Nicolas Rachinsky
* Eduardo Gargiulo <[EMAIL PROTECTED]> [2002-04-16 12:20:32 -0300]: > I have the following lines in my muttrc > > # Show documentation when pressing F1 > macro generic "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" > macro index"!less /usr/local/doc/mutt/manual.txt\n" "Sh

Re: macro problem

2002-04-16 Thread Eduardo Gargiulo
Thorsten Haude <[EMAIL PROTECTED]> wrote: > * Eduardo Gargiulo <[EMAIL PROTECTED]> [02-04-16 17:20]: > ># Show documentation when pressing F1 > >macro generic "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt >documentation" > ^ > >but when i hit F1, the macro don't work and mu

Re: macro problem

2002-04-16 Thread Eduardo Gargiulo
David T-G <[EMAIL PROTECTED]> wrote: > > That usually goes in the system Muttrc file. Are they in there, too? i added manually. > How very odd. So it doesn't show up in the help listing under '?', I > presume. right. > What happens if you paste in ':macro index ...' in a running mutt? Is i

Re: macro problem

2002-04-16 Thread Thorsten Haude
* Eduardo Gargiulo <[EMAIL PROTECTED]> [02-04-16 17:20]: ># Show documentation when pressing F1 >macro generic "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" ^ >but when i hit F1, the macro don't work and mutt says 'Key is not ^ I use and that

Re: macro problem

2002-04-16 Thread David T-G
Eduardo -- ...and then Eduardo Gargiulo said... % % Hi all. Hello! % % I have the following lines in my muttrc That usually goes in the system Muttrc file. Are they in there, too? % % # Show documentation when pressing F1 % macro generic "!less /usr/local/doc/mutt/manual.txt\n" "Show M

macro problem

2002-04-16 Thread Eduardo Gargiulo
Hi all. I have the following lines in my muttrc # Show documentation when pressing F1 macro generic "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" macro index"!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" macro pager"!less /usr/local/doc/mutt/manu

macro problem

2000-11-20 Thread Marco Ahrendt
hi mutt-users, how can I change the color of a mail for example to brightyellow/red if the message contains "Priority: Urgent" in the header ? this would be very fine :) it should be done automaticly when opening the mailbox. but this is only good if i could change this "flag" or delete this an

Re: macro problem - have I misunderstood something?

1999-01-17 Thread Chris Green
On Fri, Nov 19, 1999 at 11:00:39AM -0500, Brendan Cully wrote: > > Is it not possible to send any/all keys with a macro, does it only > > work for : commands? > > I don't know much about the macro facilities, but I think the problem > is you used the "generic" map. You might want to try binding y

Re: macro problem - have I misunderstood something?

1999-01-17 Thread Brendan Cully
On Friday, 19 November 1999 at 15:02, Chris Green wrote: > I am trying to set up a simple macro to allow me to execute a > change-folder command with a single keystroke but I can't get it to > work at all. > > However, if I put:- > > macro generic \e1 "c" > > I just get the error message "K

macro problem - have I misunderstood something?

1999-01-17 Thread Chris Green
I am trying to set up a simple macro to allow me to execute a change-folder command with a single keystroke but I can't get it to work at all. If I put:- macro generic \e1 ":color status blue yellow\r" I get exactly what I expect, when I hit 1 the status bar colours change. However, if I