Milos Komarcevic <[EMAIL PROTECTED]> wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: 

>>So any command in any of those files will be executed before calling
>>lyx. lyxwin32 does not call tr a standard unix command (translate). It
>>seems that that tr command does not terminate and therefore lyxwin32
>>can't proceed to start lyx.exe at the end. So who does call that? SO
>>why does it not exit? 
> 
> The only one I could find is the line
> 
> export HOSTNAME=`hostname | tr '[A-Z]' '[a-z]'`
> 
> in /etc/profile (that is the default one, hasn't been changed).

Curious, there's no such line in my profile (also default).

> But that doesn't seem to cause problems and hang when I open a
> bash window, start XFree86 and xterm or anything else,
> just with lyxwin32.exe
> The only change I did to /etc/lyxprofile is comment out the 'export
> HOME=...' as I've already set it as my Windows env. variable.

Try commenting out the export HOSTNAME line in /etc/profile and see if 
the problem disappears.

FWIW, I've bumped into situations where something worked ok in DOS but 
not Cygwin, or vice versa.  It turns out that permissions for the same 
file may be different (or at least appear different) between DOS/Windoze 
and Cygwin.  (This only applies to Win 2K and XP, and maybe NT.)  I'm 
wondering if maybe lyxwin32, running under DOS rather than Cygwin, tries 
to invoke some other program for which it lacks, or appears to lack, 
permission.

-- Paul

*************************************************************************
Paul A. Rubin                                  Phone:    (517) 432-3509
Department of Management                       Fax:      (517) 432-1111
The Eli Broad Graduate School of Management    E-mail:   [EMAIL PROTECTED]
Michigan State University                      http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*************************************************************************
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.                                    J. W. v. GOETHE

Reply via email to