Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the check, but something tells me it is a bad

Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 11:41:47AM +0100, Jean-Marc Lasgouttes wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the check, but something tells me it is a bad idea :) Xvfb

Re: Is this too cute?

2005-02-05 Thread Andreas Vox
Am 04.02.2005 um 22:19 schrieb Andre Poenitz: On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the

Re: Is this too cute?

2005-02-05 Thread Kayvan A. Sylvan
On Sat, Feb 05, 2005 at 03:12:16PM +0100, Andreas Vox wrote: grep -- --swap $(which gv) probably does not count as competitor in this area, does it? Of, course, even a strong one, since it doesn't need a correct MANPATH :-) I'd throw in an extra -q switch for grep. Under cygwin,

Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: > Jean-Marc wrote: > > >The fact that it requires an X server is enough to avoid running gv in > >configure at all (well actually, we could launch an X server just for > >the purpose of running the check, but something tells me it is a

Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 11:41:47AM +0100, Jean-Marc Lasgouttes wrote: > The fact that it requires an X server is enough to avoid running gv in > configure at all (well actually, we could launch an X server just for > the purpose of running the check, but something tells me it is a bad > idea :)

Re: Is this too cute?

2005-02-05 Thread Andreas Vox
Am 04.02.2005 um 22:19 schrieb Andre Poenitz: On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the

Re: Is this too cute?

2005-02-05 Thread Kayvan A. Sylvan
On Sat, Feb 05, 2005 at 03:12:16PM +0100, Andreas Vox wrote: > > > >grep -- --swap $(which gv) probably does not count as competitor in > >this area, does it? > > Of, course, even a strong one, since it doesn't need a correct MANPATH > :-) > > I'd throw in an extra "-q" switch for grep.

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus gv changed its command line options in version 3.6.1 so that it Angus no longer recognizes `gv -swap`. Instead we need `gv --swap`. Angus (An extra '-'). Do we really need this -swap option? What about telling people to set this in their gv

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus gv changed its command line options in version 3.6.1 so that it Angus no longer recognizes `gv -swap`. Instead we need `gv --swap`. Angus (An extra '-'). Do we really need this -swap option? What about telling people to set this in their gv prefs instead of

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Me too really. But Andreas' suggestion seems to be a reasonable Angus compromise, no? Well, it is maybe a good occasion to get rid of this kind of old cruft that has been here forever. Nobody remembers why it is here, but we do whatever we

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Me too really. But Andreas' suggestion seems to be a reasonable Angus compromise, no? Well, it is maybe a good occasion to get rid of this kind of old cruft that has been here forever. Nobody remembers

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Currently, I'm trying to get LyX to run as /home/angus/Program\ Angus Files/LyX/bin/lyx-1.3.6cvs Angus but it's hanging whilst running ../share/lyx/configure at Angus checking LaTeX configuration... auto Angus Any ideas? Sure, it is not

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Currently, I'm trying to get LyX to run as /home/angus/Program\ Angus Files/LyX/bin/lyx-1.3.6cvs Angus but it's hanging whilst running ../share/lyx/configure at Angus checking LaTeX configuration... auto Angus Any ideas? Sure, it is not supposed to

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus So, should we make it work? I guess that it will work already Angus on Windows for those who use MikTeX and they're the ones who Angus will be running a LyX installed as C:\Program Angus Files\LyX\bin\lyx.exe I'll send a tentative patch

Re: Is this too cute?

2005-02-02 Thread Andreas Vox
Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the check, but something tells me it is a bad idea :) Well, actually it would also work with (man gv | grep -e

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus So, should we make it work? I guess that it will work already Angus on Windows for those who use MikTeX and they're the ones who Angus will be running a LyX installed as C:\Program Angus Files\LyX\bin\lyx.exe Could you try the following

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus So, should we make it work? I guess that it will work already Angus on Windows for those who use MikTeX and they're the ones who Angus will be running a LyX installed as C:\Program Angus Files\LyX\bin\lyx.exe Could you try the following backport of the

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: So, should we make it work? I guess Angus that it will work already on Windows for those who use MikTeX Angus and they're the ones who will be running a LyX installed as Angus C:\Program Files\LyX\bin\lyx.exe

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> gv changed its command line options in version 3.6.1 so that it Angus> no longer recognizes `gv -swap`. Instead we need `gv --swap`. Angus> (An extra '-'). Do we really need this -swap option? What about telling people to set this

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> gv changed its command line options in version 3.6.1 so that it > Angus> no longer recognizes `gv -swap`. Instead we need `gv --swap`. > Angus> (An extra '-'). > > Do we really need this -swap option? What about telling people to set > this in their gv prefs

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Me too really. But Andreas' suggestion seems to be a reasonable Angus> compromise, no? Well, it is maybe a good occasion to get rid of this kind of old cruft that has been here forever. Nobody remembers why it is here, but we do

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > > Angus> Me too really. But Andreas' suggestion seems to be a reasonable > Angus> compromise, no? > > Well, it is maybe a good occasion to get rid of this kind of old cruft > that has been here

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Currently, I'm trying to get LyX to run as /home/angus/Program\ Angus> Files/LyX/bin/lyx-1.3.6cvs Angus> but it's hanging whilst running ../share/lyx/configure at Angus> checking LaTeX configuration... auto Angus> Any ideas?

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Currently, I'm trying to get LyX to run as /home/angus/Program\ > Angus> Files/LyX/bin/lyx-1.3.6cvs > > Angus> but it's hanging whilst running ../share/lyx/configure at > Angus> checking LaTeX configuration... auto > > Angus> Any ideas? > > Sure, it is not

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> So, should we make it work? I guess that it will work already Angus> on Windows for those who use MikTeX and they're the ones who Angus> will be running a LyX installed as C:\Program Angus> Files\LyX\bin\lyx.exe I'll send a

Re: Is this too cute?

2005-02-02 Thread Andreas Vox
Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the check, but something tells me it is a bad idea :) Well, actually it would also work with "(man gv | grep -e

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> So, should we make it work? I guess that it will work already Angus> on Windows for those who use MikTeX and they're the ones who Angus> will be running a LyX installed as C:\Program Angus> Files\LyX\bin\lyx.exe Could you try the

Re: Is this too cute?

2005-02-02 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> So, should we make it work? I guess that it will work already > Angus> on Windows for those who use MikTeX and they're the ones who > Angus> will be running a LyX installed as C:\Program > Angus> Files\LyX\bin\lyx.exe > > Could you try the following backport

Re: Is this too cute?

2005-02-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: So, should we make it work? I guess Angus> that it will work already on Windows for those who use MikTeX Angus> and they're the ones who will be running a LyX installed as Angus> C:\Program

Re: Is this too cute?

2005-02-01 Thread Andreas Vox
the PS_VIEWER variable. It works perfectly here, but I'm unsure whether to commit the change. Is it just too cute? Wouldn't just if (gv -help 21 | grep -e --swap) then echo --swap else echo -swap fi work? BTW, gv needs the XServer even for gv -h and gv -v :-( Ciao /Andreas

Re: Is this too cute?

2005-02-01 Thread Angus Leeming
Andreas Vox wrote: Wouldn't just if (gv -help 21 | grep -e --swap) then echo --swap else echo -swap fi work? Yes. Sometimes I just make life too complicated. -- Angus

Re: Is this too cute?

2005-02-01 Thread Andreas Vox
, > depending. I use this to initialize the PS_VIEWER variable. > > It works perfectly here, but I'm unsure whether to commit the change. Is > it just too cute? Wouldn't just if (gv -help 2>&1 | grep -e --swap) then echo "--swap" else echo "-swap" fi

Re: Is this too cute?

2005-02-01 Thread Angus Leeming
Andreas Vox wrote: > Wouldn't just > > if (gv -help 2>&1 | grep -e --swap) > then echo "--swap" > else echo "-swap" > fi > > work? Yes. Sometimes I just make life too complicated. -- Angus