Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Oliver Fromme
Anton Shterenlikht wrote:
 > Jonathan Chen wrote:
 > > Anton Shterenlikht wrote:
 > > > What is /usr/local/bin/gsc ?
 > > 
 > > If you have portupgrade, pkg_which(1) can tell you. gsc is actually
 > > "gs", which is ghostscript.
 > 
 > thanks
 > I use portmaster, so pkg_info -La > tmp; vi tmp (and seach for gsc) did this
 > for me.

You can use "pkg_info -W" to find out to which package a
file belongs.  It's a base-system feature; you don't have
to use portupgrade, portmaster or anything else.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Unix gives you just enough rope to hang yourself --
and then a couple of more feet, just to be sure."
-- Eric Allman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Anton Shterenlikht
On Mon, Jun 02, 2008 at 03:03:48PM +0400, Yuri Pankov wrote:
> Anton Shterenlikht wrote:
> >Hi
> >
> >What is /usr/local/bin/gsc ?
> >
> >I run FreeBSD 6.3-STABLE #2 on compaq armada laptop.
> >
> >When I send a job for printing I see gsc process running:
> >
> >  PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
> >[skip]
> >99954 daemon1 1170 27244K 19000K RUN  0:05 30.08% gsc
> >
> >% which gsc
> >/usr/local/bin/gsc
> >%
> 
> First, check if there's manpage with description for gsc :-) You can 
> also check which package installed that file:
> pkg_info -W /usr/local/bin/gsc

thanks, I missed this switch, it's very useful.
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Yuri Pankov

Anton Shterenlikht wrote:

Hi

What is /usr/local/bin/gsc ?

I run FreeBSD 6.3-STABLE #2 on compaq armada laptop.

When I send a job for printing I see gsc process running:

  PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
[skip]
99954 daemon1 1170 27244K 19000K RUN  0:05 30.08% gsc

% which gsc
/usr/local/bin/gsc
%


First, check if there's manpage with description for gsc :-) You can 
also check which package installed that file:

pkg_info -W /usr/local/bin/gsc
(and as you mentioned printing, I'd think it was installed by 
ghostscript package) and follow the URL in pkg-descr.



However, I cannot find any info on gsc.
The latest I've found is from 5.2-release,
some gsc(4) -- a device driver for a handy scanner.
I doubt this is it.

Could somebody tell me what gsc is and what it does. 


many thanks
anton




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


Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Anton Shterenlikht
On Mon, Jun 02, 2008 at 10:59:31PM +1200, Jonathan Chen wrote:
> On Mon, Jun 02, 2008 at 11:53:47AM +0100, Anton Shterenlikht wrote:
> > Hi
> > 
> > What is /usr/local/bin/gsc ?
> 
> If you have portupgrade, pkg_which(1) can tell you. gsc is actually
> "gs", which is ghostscript.

thanks
I use portmaster, so pkg_info -La > tmp; vi tmp (and seach for gsc) did this
for me.


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Vince Hoffman
Assuming it was installed from ports, if you have portupgrade installed
you could try
pkg_which /usr/local/bin/gsc

For me this gives
[11:59:40:/usr/home/jhary]
([EMAIL PROTECTED])$pkg_which /usr/local/bin/gsc
ghostscript-gpl-8.62_2

Ghostscript is a postscript interpreter which would make sense since
most printers talk postscript.


Vince



Anton Shterenlikht wrote:
> Hi
> 
> What is /usr/local/bin/gsc ?
> 
> I run FreeBSD 6.3-STABLE #2 on compaq armada laptop.
> 
> When I send a job for printing I see gsc process running:
> 
>   PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
> [skip]
> 99954 daemon1 1170 27244K 19000K RUN  0:05 30.08% gsc
> 
> % which gsc
> /usr/local/bin/gsc
> %
> 
> However, I cannot find any info on gsc.
> The latest I've found is from 5.2-release,
> some gsc(4) -- a device driver for a handy scanner.
> I doubt this is it.
> 
> Could somebody tell me what gsc is and what it does. 
> 
> many thanks
> anton
> 

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


Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Jonathan Chen
On Mon, Jun 02, 2008 at 11:53:47AM +0100, Anton Shterenlikht wrote:
> Hi
> 
> What is /usr/local/bin/gsc ?

If you have portupgrade, pkg_which(1) can tell you. gsc is actually
"gs", which is ghostscript.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"