Re: Interactive Port

2010-09-02 Thread Hans Petter Selasky
On Wednesday 01 September 2010 09:57:15 per...@pluto.rain.com wrote:
> Rem P Roberti  wrote:
> > Brother!  Muttprint is now working fine.  The problem: the printer
> > was offline!  Now, before you go accusing me of being a complete
> > dufus, let me say that I had no way of knowing that that condition
> > existed.  The printer itself indicated that it was online---no
> > problem.  What happened is that somehow, and I'm not sure what
> > caused this, the printer became disengaged from its usb port.
> 
> I'd call it a bug in the printer that it continues to indicate
> online when it has lost its connection to its host (unless it
> also has a network connection, and in that case I imagine you'd
> be using the network instead of USB).
> 
> > ...  The only way that I could get it talking again to usb was by
> > doing a reboot.
> 
> Now _that_ sounds like a possible bug in the USB subsystem, since
> USB is supposed to be completely hot-pluggable and should not need
> a reboot to get itself straightened out after a mishap.  Cc-ing usb@
> list.
> 
> One question which will surely arise is, which FreeBSD version are
> you using?  The USB stack was completely rewritten in 8.0.

If the USB application does not close the /dev/XXX handles, it will block the 
enumeration of new USB devices on that bus.

Also see "usbconfig -d X.Y reset"

--HPS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-09-01 Thread perryh
Rem P Roberti  wrote:

> Brother!  Muttprint is now working fine.  The problem: the printer
> was offline!  Now, before you go accusing me of being a complete
> dufus, let me say that I had no way of knowing that that condition
> existed.  The printer itself indicated that it was online---no
> problem.  What happened is that somehow, and I'm not sure what
> caused this, the printer became disengaged from its usb port.

I'd call it a bug in the printer that it continues to indicate
online when it has lost its connection to its host (unless it
also has a network connection, and in that case I imagine you'd
be using the network instead of USB).

> ...  The only way that I could get it talking again to usb was by
> doing a reboot.

Now _that_ sounds like a possible bug in the USB subsystem, since
USB is supposed to be completely hot-pluggable and should not need
a reboot to get itself straightened out after a mishap.  Cc-ing usb@
list.

One question which will surely arise is, which FreeBSD version are
you using?  The USB stack was completely rewritten in 8.0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Frank Shute
On Wed, Sep 01, 2010 at 01:11:46AM +0200, Polytropon wrote:
>
> On Tue, 31 Aug 2010 23:54:28 +0100, Frank Shute  wrote:
> > For printing from mutt, I use the following in ~/.muttrc
> > 
> > set print_command="a2ps -1 > ~/mail.ps; gv ~/mail.ps"
> > 
> > Obviously, that views the postcript file first & then I print from gv.
> 
> What about "lpr ~/mail.ps" instead of "gv ~/mail.ps"? This would
> actually send the output PS to the default printer queue, causing
> the message to be printed.
> 

I like to view it first. Make sure there are no orphaned/widowed
paragraphs etc.

If so, then I might cat it to plain ascii, edit it & then run it
through a2ps.

Works for me! Not often that I print email.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Rem P Roberti

Brother!  Muttprint is now working fine.  The problem: the printer was
offline!  Now, before you go accusing me of being a complete dufus, let
me say that I had no way of knowing that that condition existed.  The
printer itself indicated that it was online---no problem.  What happened
is that somehow, and I'm not sure what caused this, the printer became
disengaged from its usb port.  Weird.  I noticed that this had happened
when I tried to print from another program without success.  The
only way that I could get it talking again to usb was by doing a reboot.


Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Rem P Roberti
On 2010.09.01 01:11:46 +0200, Polytropon wrote:
> On Tue, 31 Aug 2010 23:54:28 +0100, Frank Shute  wrote:
> > For printing from mutt, I use the following in ~/.muttrc
> > 
> > set print_command="a2ps -1 > ~/mail.ps; gv ~/mail.ps"
> > 
> > Obviously, that views the postcript file first & then I print from gv.
> 
> What about "lpr ~/mail.ps" instead of "gv ~/mail.ps"? This would
> actually send the output PS to the default printer queue, causing
> the message to be printed.


Nothing is working, regardless of whether I try to print from Muttprint,
or with Frank's setup.  In either case I get this error message:

Press any key to continue...cannot remove path when cwd is
/tmp/muttprint-GOauzJ for /tmp/muttprint-GOauzJ:  at
/usr/local/lib/perl5/5.10.1/File/Temp.pm line 902

I'm beginning to wonder if this doesn't have something to do with the
fact that my printer is installed via CUPS.  There may need to me a
special parameter set up in .muttprintrc.  But so far I haven't found
any info on it.

Rem

> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Polytropon
On Tue, 31 Aug 2010 23:54:28 +0100, Frank Shute  wrote:
> For printing from mutt, I use the following in ~/.muttrc
> 
> set print_command="a2ps -1 > ~/mail.ps; gv ~/mail.ps"
> 
> Obviously, that views the postcript file first & then I print from gv.

What about "lpr ~/mail.ps" instead of "gv ~/mail.ps"? This would
actually send the output PS to the default printer queue, causing
the message to be printed.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Frank Shute
On Tue, Aug 31, 2010 at 12:39:35PM -0700, Rem P Roberti wrote:
>
> On 2010.08.31 12:34:21 -0700, Rem P Roberti wrote:
> > In attempting to install /usr/ports/print/dvips I got the error message
> > that dvips is an interactive port, and I can't remember how to handle
> > that. Could I please get a heads up there.  Thank you.
> >
> 
> OK...I commented out the 'batch' entry in make.conf.  Now I get this
> error message:
> 
> ===>  dvips-5.76 conflicts with installed package(s): 
>   teTeX-base-3.0_20
>   teTeX-texmf-3.0_6
> 
> The whole problem is that I am trying to get muttprint to work, and my
> understanding is that it is dependent on teTeX for its operation.  But
> when I tried to print I got an error message telling me that the print
> operation needs to see dvips.  So I'm not exactly sure what is going on
> here.
> 

teTeX comes with dvips IIRC, which is why you're getting the error.

For printing from mutt, I use the following in ~/.muttrc

set print_command="a2ps -1 > ~/mail.ps; gv ~/mail.ps"

Obviously, that views the postcript file first & then I print from gv.

gv & a2ps are in ports.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Glen Barber
On 8/31/10 3:39 PM, Rem P Roberti wrote:
> On 2010.08.31 12:34:21 -0700, Rem P Roberti wrote:
>> In attempting to install /usr/ports/print/dvips I got the error message
>> that dvips is an interactive port, and I can't remember how to handle
>> that. Could I please get a heads up there.  Thank you.
>>
> 
> OK...I commented out the 'batch' entry in make.conf.  Now I get this
> error message:
> 
> ===>  dvips-5.76 conflicts with installed package(s): 
>   teTeX-base-3.0_20
>   teTeX-texmf-3.0_6
> 
> The whole problem is that I am trying to get muttprint to work, and my
> understanding is that it is dependent on teTeX for its operation.  But
> when I tried to print I got an error message telling me that the print
> operation needs to see dvips.  So I'm not exactly sure what is going on
> here.

Looking at the Makefile for the port, all teTeX ports conflict with
dvips.  Deinstalling teTeX-* from your system will allow this port to
build/install; I'm not familiar enough with muttprint enough to be of
much more help with it though.

Cheers,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Glen Barber
Hi Rem,

On 8/31/10 3:34 PM, Rem P Roberti wrote:
> In attempting to install /usr/ports/print/dvips I got the error message
> that dvips is an interactive port, and I can't remember how to handle
> that. Could I please get a heads up there.  Thank you.
> 

I suspect you have BATCH=yes in /etc/make.conf; if so, comment out that
line and run make(1) again.

Cheers,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Rem P Roberti
On 2010.08.31 12:34:21 -0700, Rem P Roberti wrote:
> In attempting to install /usr/ports/print/dvips I got the error message
> that dvips is an interactive port, and I can't remember how to handle
> that. Could I please get a heads up there.  Thank you.
>

OK...I commented out the 'batch' entry in make.conf.  Now I get this
error message:

===>  dvips-5.76 conflicts with installed package(s): 
  teTeX-base-3.0_20
  teTeX-texmf-3.0_6

The whole problem is that I am trying to get muttprint to work, and my
understanding is that it is dependent on teTeX for its operation.  But
when I tried to print I got an error message telling me that the print
operation needs to see dvips.  So I'm not exactly sure what is going on
here.

Rem 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Interactive Port

2010-08-31 Thread Lowell Gilbert
Rem P Roberti  writes:

> In attempting to install /usr/ports/print/dvips I got the error message
> that dvips is an interactive port, and I can't remember how to handle
> that. Could I please get a heads up there.  Thank you.

Just install it without BATCH.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Interactive Port

2010-08-31 Thread Rem P Roberti
In attempting to install /usr/ports/print/dvips I got the error message
that dvips is an interactive port, and I can't remember how to handle
that. Could I please get a heads up there.  Thank you.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: What does: "is an interactive port" mean?

2004-04-16 Thread Kris Kennaway
On Fri, Apr 16, 2004 at 05:25:54PM -0400, Gerard Seibert wrote:
> I was just trying to install Star Office 7.0 and I received the following
> error message:
> 
> ** 'editors/staroffice70' is marked as IGNORE:
>     "is an interactive port"
> 
> I have run cvsup and portsdb -Uu prior to this. Can anyone enlighten me?

An interactive port is one that asks questions and waits for user
input when building or installing.

Kris


pgp0.pgp
Description: PGP signature


Re: What does: "is an interactive port" mean?

2004-04-16 Thread Micheal Patterson




- Original Message - 
From: "Gerard Seibert" <[EMAIL PROTECTED]>
To: "freebsd-questions" <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 4:25 PM
Subject: What does: "is an interactive port" mean?


> I was just trying to install Star Office 7.0 and I received the following
> error message:
>
> ** 'editors/staroffice70' is marked as IGNORE:
> "is an interactive port"
>
> I have run cvsup and portsdb -Uu prior to this. Can anyone enlighten me?
>
> Thanks!
>
> Gerard E. Seibert
> [EMAIL PROTECTED]
>

As I recall, Star Office is no longer a freeware item. You have to purchase
it from the main web site, place the downloaded tarball in your distfiles
directory and then re-run make to patch it properly for fbsd. The last time
I looked into purchasing it was when it was still 6.0 and it was $75.00 per
copy.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


What does: "is an interactive port" mean?

2004-04-16 Thread Gerard Seibert
I was just trying to install Star Office 7.0 and I received the following
error message:

** 'editors/staroffice70' is marked as IGNORE:
    "is an interactive port"

I have run cvsup and portsdb -Uu prior to this. Can anyone enlighten me?

Thanks!

Gerard E. Seibert
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"