Re: [SLUG] A GhostView question.
`echo $DISPLAY` Warmest regards Mike --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 Bill Bennett <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/07/2003 04:03 PM Please respond to wbennett To: [EMAIL PROTECTED] cc: Subject: Re: [SLUG] A GhostView question. In answer to Peter's question: I'm doing this from a terminal interface. Unsure of how to determine $DISPLAY When I type in xterm I am told: > xterm Xt error: Can't open display: Bill Bennett. =+-> =+-> Are you doing this within X ? What's the value of $DISPLAY ? =+-> Can you do =+-> xterm =+-> and what does it say when you try? =+-> =+-> -- =+-> Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au =+-> You are lost in a maze of BitKeeper repositories, all slightly different. =+-> =+-> -- =+-> SLUG - Sydney Linux User's Group - http://slug.org.au/ =+-> More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
> "Bill" == Bill Bennett <[EMAIL PROTECTED]> writes: Bill> Unfortunately, you're right: I went back to Gnome and ran gv Bill> from the "run" application. Bill> Curses. Unfortunately, I upgraded from Redhat7 to 8. In 7, I Bill> used to be able to use gv at the command line. On reflection, I Bill> suspect a knowledgable friend, knowing that I was happier here, Bill> slipped in an alias. I don't suppose you could suggest one? I'm Bill> a bit out of my depth here. You can get a version of ghostscript to write to the VGA screen if your terminal is a VGA device, and you have svgalib installed. gs -sDEVICE=vga file.ps will display your postscript on the VGA screen. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
Unfortunately, you're right: I went back to Gnome and ran gv from the "run" application. Curses. Unfortunately, I upgraded from Redhat7 to 8. In 7, I used to be able to use gv at the command line. On reflection, I suspect a knowledgable friend, knowing that I was happier here, slipped in an alias. I don't suppose you could suggest one? I'm a bit out of my depth here. Regards, Bill. On Tue, Jul 08, 2003 at 04:23:05PM +1000, Mike Alonzo spake thusly: =+-> > "Bill" == Bill Bennett <[EMAIL PROTECTED]> writes: =+-> =+-> Bill> In answer to Peter's question: I'm doing this from a terminal =+-> Bill> interface. =+-> =+-> Bill> Unsure of how to determine $DISPLAY =+-> =+-> Bill> When I type in xterm I am told: =+-> =+-> >> xterm Xt error: Can't open display: =+-> =+-> You have to be inside X to use Ghostscript. =+-> =+-> -- =+-> .''`. Jan Alonzo :: jmalonzo at spaceants dot org =+-> : :' : PGP fp: DB23 8CB2 E050 7737 B3C4 BB2C 5368 864B C70C 894A =+-> `. `' ID: C70C894A =+->`- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
> "Bill" == Bill Bennett <[EMAIL PROTECTED]> writes: Bill> In answer to Peter's question: I'm doing this from a terminal Bill> interface. Bill> Unsure of how to determine $DISPLAY Bill> When I type in xterm I am told: >> xterm Xt error: Can't open display: You have to be inside X to use Ghostscript. -- .''`. Jan Alonzo :: jmalonzo at spaceants dot org : :' : PGP fp: DB23 8CB2 E050 7737 B3C4 BB2C 5368 864B C70C 894A `. `' ID: C70C894A `- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
In answer to Peter's question: I'm doing this from a terminal interface. Unsure of how to determine $DISPLAY When I type in xterm I am told: > xterm Xt error: Can't open display: Bill Bennett. =+-> =+-> Are you doing this within X ? What's the value of $DISPLAY ? =+-> Can you do =+-> xterm =+-> and what does it say when you try? =+-> =+-> -- =+-> Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au =+-> You are lost in a maze of BitKeeper repositories, all slightly different. =+-> =+-> -- =+-> SLUG - Sydney Linux User's Group - http://slug.org.au/ =+-> More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] A GhostView question.
> "Bill" == Bill Bennett <[EMAIL PROTECTED]> writes: Bill> I've a PostScript file that I should be able to view with Bill> GhostScript. Bill> The command Bill>> gv file.ps Bill> produces Bill>> gv: Unable to open the display Are you doing this within X ? What's the value of $DISPLAY ? Can you do xterm and what does it say when you try? -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au You are lost in a maze of BitKeeper repositories, all slightly different. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] A GhostView question.
I've a PostScript file that I should be able to view with GhostScript. The command > gv file.ps produces > gv: Unable to open the display Presumably I'm missing something. Could anyone suggest a command that would give some indication of what's wrong, please? Bill Bennett. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
Hi all, Ummm ... no one seems to have an answer as to how to change those `frantic' numbers Bill Bennett wrote: > When I go into GhostView to look at an .eps/.ps file, > there's two numbers that go frantic in the top LH corner > that go frantic when I move the cursor. > I assume they are co-ordinates and are measured in either > pixels/points. They are Postscript units which is the natural unit of measurement in the Postscript language. There are 72 Postscript units to the inch and the coordinate system for those starts at the bottom left hand corner. > Is there any way to change them to millimetres? They'd be > a better help this way. There does not seem to be a way. There are lots of files where you can fidgit with things in gv: See in /usr/X11R6/lib/X11/gv for files: gv_class.ad gv_system.ad gv_user.ad and you can set resources for gv to use. No where though did I see how to change what is displayed there in the coordinate box. If you have the gv source though it would be easy to take those Postscript units and /72 to get inches and x 25.4 to get mm Mike -- Michael Lake Active caver, Linux enthusiast and interested in anything technical. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] A GhostView question.
[EMAIL PROTECTED] X-Cat: moggy X-Dog: MUTT When I go into GhostView to look at an .eps/.ps file, there's two numbers that go frantic in the top LH corner that go frantic when I move the cursor. I assume they are co-ordinates and are measured in either pixels/points. Is there any way to change them to millimetres? They'd be a better help this way. Regards, Bill Bennett. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug