delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/19/23:03:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 20 Apr 2001 12:02:49 +0900
From: Madoka Machitani <madokam AT dd DOT iij4u DOT or DOT jp>
To: Duke Normandin <01031149 AT 3web DOT net>
Cc: cygwin AT cygwin DOT com
Subject: Re: Printing a file in Cygwin
Message-ID: <20010420120249.A4011219@iij4u.or.jp>
References: <20010416183431 DOT A88303 AT mandy DOT rockingd DOT calgary DOT ab DOT ca> <20010417204953 DOT A4065633 AT iij4u DOT or DOT jp> <20010417073143 DOT B88197 AT mandy DOT rockingd DOT calgary DOT ab DOT ca>
Mime-Version: 1.0
User-Agent: Mutt/1.3.17i
In-Reply-To: <20010417073143.B88197@mandy.rockingd.calgary.ab.ca>; from 01031149@3web.net on Tue, Apr 17, 2001 at 07:31:44AM -0600
X-Operating-System: CYGWIN_98-4.10 http://cygwin.com
X-Editor: VIM 6.0ab http://www.vim.org/
X-Accept-Language: en ja

Hi, Duke.  Sorry that I'm responding a bit late.  Maybe you've got your
own solution so far?

* Duke Normandin <01031149 AT 3web DOT net> [010419 01:49]:
> On Tue, Apr 17, 2001 at 08:49:53PM +0900, Madoka Machitani wrote:
> 
> > * Duke Normandin <01031149 AT 3web DOT net> [010417 16:38]:
> > > Tried to print out a message from Mutt, but got:
> > 
> > How about this DOS command?  It should work on Cygwin shells.
> > 
> >   filename >> prn
> 
> That works for sure -- but from *within* Mutt I don't believe there is a
> filename to pass. I'm using the 'mbox' format, so a message is just one
> of many appended to a single file. 'print' also expects a filename either
> directly or by indirection. 

Here's my solution.  I'm using VIM with Mutt (ie I have a line like this
in .muttrc).
  set editor=vim

In the index or pager session I invoke the edit function of Mutt, which
is usually bound with "e".  VIM launches with a message of my selection.
Then I use the save command ":w" redirecting the output to printer 
(:w >> prn).

HTH

Madoka

-- 
Madoka Machitani <madokam AT dd DOT iij4u DOT or DOT jp>
Doshisha University, Kyoto, Japan.  Faculty of Letters.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019