Hey all,

I've encountered a weird problem -- I'm setting up xbuffy to launch
new terminals, and those terminals to open up mutt pointing at a
specific mailbox.... sometimes, though, when you pass the mutt command
off to the terminal (in my case I tried using rxvt and gnome-terminal)
sometimes the -e command is ignored in weird ways.


Here's an example... These commands work fine, and the push is
honored (sorry for long lines):

rxvt -e mutt -f '~/Mail/Inbox' -e 'push <display-message>'
rxvt -geometry 80x80 -e mutt -f '~/Mail/Inbox' -e 'push <display-message>'

but if I tweak the geometry such that the terminal is wider than 81
(-geometry 80x82 for example) then suddenly the push is ignored and
<display-message> isn't executed.  But if I run the following:

rxvt -geometry 80x82 -e mutt -f '~/Mail/Inbox' -e 'not-a-command'


mutt tells me: "Error in command line: not-a-command: unknown command"
this implies that mutt is still seeing what I'm passing in via
-e... so why does my 'push <display-message>' fail in this situation?


I tried using gnome-terminal as well (with it you can use the
--command="foo" parameter) but mutt never, ever does what I tell it
with the -e flag through gnome-terminal -- but if I pass it something
it doesn't understand, like before:

gnome-terminal --command="mutt -e 'not-a-command'"

I get a message saying that not-a-command is invalid.. but the
following:

gnome-terminal --command="mutt -e 'push d'"

silently does nothing. 


Does anyone understand why my push commands are failing? Thanks for
your help!

-ben

Attachment: msg21205/pgp00000.pgp
Description: PGP signature

Reply via email to