Re: binding F1 to manual, Eterm vs. Xterm

2001-03-01 Thread Jeremy A. Gray

On Thu, Mar 01, 2001 at 02:37:26PM +0100, Kai Weber wrote:
 + Jason Helfman [EMAIL PROTECTED]:
 
  This works fine in Xterm, however in Eterm this brings up a mod menu for
  the Eterm I am working in. Does anyone know how to change this behavior?
 
 Had this problem, too. Someone on this list helped me (sorry, forget
 who exactly). Add this lines to your theme.cfg:
 
  cut here ---
 
 # F1 - F4 since xterm sends different codes for these mutt is looking for them
 # instead of what Eterm sends by default.
 keysym 0xFFBE "^[OP"
 keysym 0xFFBF "^[OQ"
 keysym 0xFFC0 "^[OR"
 keysym 0xFFC1 "^[OS"
 
  cut here ---
 

I just had this problem as well, but I decided to configure mutt for
Eterm instead of what Kai suggested.  If you bind your manual macro to
"\e[11~" in your ~/.muttrc, you can use F1 in Eterm to view the manual.
All the key codes generated by Eterm for the special keys are listed in
the documentation installed with Eterm as well.  

-- 
Jeremy A. GrayA434 Chemical and Life Sciences Laboratory
Graduate Student--Chemical PhysicsUniversity of Illinois at Urbana-Champaign
[EMAIL PROTECTED]http://www.students.uiuc.edu/~jagray/
"Remember the Pueblo.  " -- The Fourth Law of Marvin



Re: pdf2text

2001-02-05 Thread Jeremy A. Gray

On Mon, Feb 05, 2001 at 07:20:51PM -, Jim M. wrote:
 Hi,
 When used:
 ShowPDF()
 {
 pdf2ps "$1" | ps2ascii
 }
 in mutt.octet.filter file, i get the error:
 Usage: pdf2ps [-dPSBinaryOK] [-dPSLevel] [-dPSNoProSet] inputpdf output.ps

Look at the usage error message.  

Since it looks like ShowPDF () is a bash function, just add some steps.  

ShowPDF ()
{
  pdf2ps ${1} temp.ps
  ps2ascii temp.ps
  rm -f temp.ps
}

Or whatever floats your boat.  You might want to check the options to
ps2ascii and modify that line as well.  

-- 
Jeremy A. Gray
A434 Chemical and Life Sciences Laboratory
University of Illinois at Urbana-Champaign
[EMAIL PROTECTED]