[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mutt Mailbox wechseln



Thorsten Haude <debian@thorstenhau.de>:
> Moin,
> 
> * Frank Terbeck wrote (2006-04-19 19:57):
> >Thorsten Haude <debian@thorstenhau.de>:
> >> * Frank Terbeck wrote (2006-04-19 09:37):
> >> >Das Handbuch auf deiner Festplatte:
> >> ></usr/share/doc/mutt/manual.gz>
> >> 
> >> macro   index   <F1>    "|zless /usr/share/doc/mutt/manual.txt.gz<enter>" 'Display Manual'
> >> macro   pager   <F1>    "|zless /usr/share/doc/mutt/manual.txt.gz<enter>" 'Display Manual'
> >
> >wie man das Handbuch schlussendlich liesst, ist jedem selbst
> >überlassen, aber '|' würde die Mail an den folgenden Befehl pipen.
> >Richtig wäre ein '!':
> 
> Hm. Definiere "richtig". Bei mir funktioniert's.

Ich zitiere mal aus manual.txt:
[snip]
   pipe-message (default: |)

   Asks for an external Unix command and pipes the current or tagged
   message(s) to it. The variables $pipe_decode, $pipe_split, $pipe_sep and
   $wait_key control the exact behaviour of this function.
[...]
   shell-escape (default: !)

   Asks for an external Unix command and executes it. The $wait_key can be
   used to control whether Mutt will wait for a key to be pressed when the
   command returns (presumably to let the user read the output of the
   command), based on the return status of the named command.
[snap]

Warum hat es trotzdem funktioniert? Das hat schon irgendwer
beantwortet: zless (oder auch less) verwirft ganz einfach den Input
von stdin aus der Pipe wenn man explizit eine Datei angibt.

Gruss, Frank



Reply to: