How can I save the help screens?

2002-06-10 Thread Russell Hoover

Is there an easy way to save mutt's help
screens to a file, without doing a cut  paste?

-- 
// [EMAIL PROTECTED] //




Re: How can I save the help screens?

2002-06-10 Thread John P Verel

On 06/10/02, 08:37:18AM -0400, Russell Hoover wrote:
 Is there an easy way to save mutt's help
 screens to a file, without doing a cut  paste?
Have a look at the manual, section 6.4, Functions.

John




Re: How can I save the help screens?

2002-06-10 Thread darren chamberlain

* Russell Hoover [EMAIL PROTECTED] [2002-06-10 08:38]:
 Is there an easy way to save mutt's help
 screens to a file, without doing a cut  paste?

I find:

   cat /usr/local/doc/mutt/manual.txt | col -bx

to be the easiest way.  This will dump it to stdout; redirect it to a
file, or lpr, or wherever.

(darren)

-- 
The history of Liberty is a history of the limitation of government
power.
-- Woodrow Wilson



Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* darren chamberlain [02-06-10 16:15:05 +0200] wrote:
 * Russell Hoover [EMAIL PROTECTED] [2002-06-10 08:38]:
  Is there an easy way to save mutt's help
  screens to a file, without doing a cut  paste?

cat /usr/local/doc/mutt/manual.txt | col -bx

...but it won't show the current key bindings and your
adjustments are skipped, too.

Cheers, Rocco



Re: How can I save the help screens?

2002-06-10 Thread darren chamberlain

* Rocco Rutte [EMAIL PROTECTED] [2002-06-10 10:20]:
 * darren chamberlain [02-06-10 16:15:05 +0200] wrote:
  * Russell Hoover [EMAIL PROTECTED] [2002-06-10 08:38]:
   Is there an easy way to save mutt's help
   screens to a file, without doing a cut  paste?
 
 cat /usr/local/doc/mutt/manual.txt | col -bx
 
 ...but it won't show the current key bindings and your
 adjustments are skipped, too.

Ah, I misunderstood the question.  Sorry for the useless info...

(darren)

-- 
The Net inteprets censorship as damage and routes around it.
-- John Gilmore



Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* Russell Hoover [02-06-10 15:10:08 +0200] wrote:
 Is there an easy way to save mutt's help screens to a
 file, without doing a cut  paste?

Hmm, I heard a Linux user saying that 'screen' can do a kind
of capture of the screen. For FreeBSD (don't know about
other BSDs), you may use vidcontrol:

  $ vidcontrol -p  /dev/ttyv1 | scr2png  ~/screenshot1

It will produce a png image rather than normal text. You
could dump the help screen to something like:

  http://www.inf.tu-dresden.de/images/~s1118644/images/mutt-news-001.png

...although it won't be searchable. You can do the same
within an xterm, too.

Cheers, Rocco



Re: How can I save the help screens?

2002-06-10 Thread David T-G

Rocco, et al --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% * Russell Hoover [02-06-10 15:10:08 +0200] wrote:
%  Is there an easy way to save mutt's help screens to a
%  file, without doing a cut  paste?
% 
% Hmm, I heard a Linux user saying that 'screen' can do a kind

Yep.  Assuming the normal keybindings, ctrl-a h will save your window
image to the file hardcopy.NN where NN is your current window number.
The file gets overwritten, so you'd have to move it aside for multiple
pages.

There's also logging, with ctrl-a L, and you could always run script
before starting mutt if you didn't mind wading through to the good stuff.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28831/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread David T-G

Rocco, et al --

...and then Rocco Rutte said...
% 
% Hi,

Hi again!


% 
% * darren chamberlain [02-06-10 16:15:05 +0200] wrote:
...
% cat /usr/local/doc/mutt/manual.txt | col -bx
% 
% ...but it won't show the current key bindings and your
% adjustments are skipped, too.

True, but unfortunately even looking at the help screens themselves
usually doesn't show the macros that have been defined.  I'd love to see
a detailed help screen that covers every binding and macro in full rather
than just the first tens of characters.  Any ideas?


% 
% Cheers, Rocco


TIA  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28832/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread Bruno Postle

On Mon 10-Jun-2002 at 08:37:18AM -0400, Russell Hoover wrote:
 
 Is there an easy way to save mutt's help screens to a file, without
 doing a cut  paste?

:set pager=vi

Then you can do whatever you like with them.

-- 
Bruno



Re: How can I save the help screens?

2002-06-10 Thread David T-G

Bruno, et al --

...and then Bruno Postle said...
% 
% On Mon 10-Jun-2002 at 08:37:18AM -0400, Russell Hoover wrote:
%  
%  Is there an easy way to save mutt's help screens to a file, without
%  doing a cut  paste?
% 
% :set pager=vi
% 
% Then you can do whatever you like with them.

Hey, that's slick, and so utterly simple.  Way cool.

Now to get the long version...


% 
% -- 
% Bruno


Thanks  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28836/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* David T-G [02-06-10 18:29:35 +0200] wrote:
 ...and then Rocco Rutte said...
 % * darren chamberlain [02-06-10 16:15:05 +0200] wrote:

 ...

 % cat /usr/local/doc/mutt/manual.txt | col -bx
 % 
 % ...but it won't show the current key bindings and your
 % adjustments are skipped, too.

 True, but unfortunately even looking at the help screens
 themselves usually doesn't show the macros that have been
 defined.

Huh?

 I'd love to see a detailed help screen that covers every
 binding and macro in full rather than just the first tens
 of characters.  Any ideas?

Here it shows all available bindings within the menu I
called help from. But the full macro substitution is
truncated, right. Some more intelligent output routine 
would be nice since lots of space is wasted in the first
column. Or, maybe even a $help_format? That would be k3wl.

Cheers, Rocco



Re: How can I save the help screens?

2002-06-10 Thread David T-G

Rocco, et al --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% * David T-G [02-06-10 18:29:35 +0200] wrote:
...
%  True, but unfortunately even looking at the help screens
%  themselves usually doesn't show the macros that have been
%  defined.
% 
% Huh?

My fault for not speaking clearly.  See the next 'graph.


% 
%  I'd love to see a detailed help screen that covers every
%  binding and macro in full rather than just the first tens
%  of characters.  Any ideas?
% 
% Here it shows all available bindings within the menu I
% called help from. But the full macro substitution is
% truncated, right. Some more intelligent output routine 

Exactly.


% would be nice since lots of space is wasted in the first
% column. Or, maybe even a $help_format? That would be k3wl.

Way, D00D.  It would have to handle printing macros across multiple
lines, though; many are longer than 80 chars which certainly a realistic
upper bound.

Here's hoping ;-)


% 
% Cheers, Rocco


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28845/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* David T-G [02-06-10 19:28:41 +0200] wrote:
 ...and then Rocco Rutte said...

 % Or, maybe even a $help_format? That would be k3wl.

 Way, D00D.  It would have to handle printing macros across
 multiple lines, though;

Well, you could print the first characters (as it is now).
The user's description would have to be enough to identify a
macro. If you're still not sure, some mechanism to make mutt
display the complete call would be nice. It's IMHO not a
good idea to completely show *every* available macro in its
full and long beauty...

Cheers, Rocco