DD converts LF -> CR / LF

2005-05-06 Thread Sebastian Schuberth
Hello, my mounts are all text mode, i.e. the "Default Text File Type" is "DOS". Nevertheless, shouldn't dd if=test_unix.txt of=text.txt create an exact copy of "test_unix.txt"? It seems DD doesn't open the file in binary mode (like even VIM does), because if "test_unix.txt" contains LF line ends, "

Re: DD converts LF -> CR / LF

2005-05-06 Thread Brian Dessent
Sebastian Schuberth wrote: > my mounts are all text mode, i.e. the "Default Text File > Type" is "DOS". Nevertheless, shouldn't Yeah, that does seem a bit broken. You can solve that with something like the following: --- dd.c.orig 2005-05-06 01:03:01.12500 -0700 +++ dd.c2005-05-06

Re: Using -mno-cygwin flag

2005-05-06 Thread Reini Urban
Sam Steingold schrieb: * Brian Dessent <[EMAIL PROTECTED]> [2005-05-04 03:00:37 -0700]: -mno-cygwin does not just "make things that doesn't depend on the cygwin DLL", it removes Cygwin from the equation entirely. this is very unfortunate, actually. things like berkeley-db, postgresql, pcre &c all h

Re: Any people using the "neon" package?

2005-05-06 Thread Dr. Volker Zell
> Max Bowsher writes: > The only user of the "neon" package within the Cygwin distribution > itself is subversion. > Neon has recently moved from 0.24.x to 0.25.x, a major API change. > I would like to know whether the neon package is being used by anyone > for anything e

Packaging bug in tetex-bin-3.0.0-2

2005-05-06 Thread Dr. Volker Zell
Hi The man page mf.1 is installed under /usr/share/man insted of /usr/share/man/man1 Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Packaging bug in tetex-bin-3.0.0-2

2005-05-06 Thread Jan Nieuwenhuizen
Volker Zell writes: > The man page mf.1 is installed under > > /usr/share/man insted of /usr/share/man/man1 Ok, Thanks. This just missed 3.0.0-3... Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org

Strange behaviour with output redirection

2005-05-06 Thread Pekka Niiranen
Hi there, I am using the following convention to set variables in Bash: awk -f /"SIMU_included/{print \$3}" subst$1 >${TMPDIR}/$$ [ -s ${TMPDIR}/$$ ] && < ${TMPDIR}/$$ read SIMU For some reason parameter "SIMU" gets set randomly. Could this be due W2K's buffering in creation of temporary file ${TMP

Re: problem with using tetex 3.0.0-2

2005-05-06 Thread TC
Hi. I tried running post-texmf.sh.done again, but it does not solve the problem... The attached files are tex source files that I use to reproduce the problem. Thank you for your helps! Chiu -- TC writes: > Could you please tell me how to correct the > problem? > kpathsea: Running mktexpk --m

Re: Any people using the "neon" package?

2005-05-06 Thread Max Bowsher
Dr. Volker Zell wrote: Max Bowsher writes: > The only user of the "neon" package within the Cygwin distribution > itself is subversion. > Neon has recently moved from 0.24.x to 0.25.x, a major API change. > I would like to know whether the neon package is being used by anyone > for a

Re: DD converts LF -> CR / LF

2005-05-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 5/6/2005 2:06 AM: > Sebastian Schuberth wrote: > >>my mounts are all text mode, i.e. the "Default Text File >>Type" is "DOS". Nevertheless, shouldn't >> >>dd if=test_unix.txt of=text.txt >> >>create an exact copy of "test

Re: problem with using tetex 3.0.0-2

2005-05-06 Thread Jan Nieuwenhuizen
TC writes: > The attached files are tex source files that I use to > reproduce the problem. It works for me. You may try these commands cygcheck -c | grep tetex echo .$TEXMF. kpsewhich pdftex.map grep ptmb8r $(kpsewhich pdftex.map) kpsewhich utmb8a.pfb Expected results

Latest man-1.5p is listed as previous in setup.ini

2005-05-06 Thread Dr. Volker Zell
see subject Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: DD converts LF -> CR / LF

2005-05-06 Thread Brian Dessent
Eric Blake wrote: > Predefining O_BINARY as the default input_flags and output_flags is a > stopgap measure. While it is fine for other programs, such as od, to Doesn't that overly complicate things? Seems to me that whenever you use dd you are interested in copying fixed record length data. I

Re: DD converts LF -> CR / LF

2005-05-06 Thread Christopher Faylor
On Fri, May 06, 2005 at 07:27:39AM -0600, Eric Blake wrote: >There is still the question on cygwin whether an unspecified >text/binary mode should always default to binary, or should default to >the underlying default for that particular mount. I think that dd should always default to binary unles

Re: DD converts LF -> CR / LF

2005-05-06 Thread Christopher Faylor
On Fri, May 06, 2005 at 06:52:15AM -0700, Brian Dessent wrote: >Eric Blake wrote: > >> Predefining O_BINARY as the default input_flags and output_flags is a >> stopgap measure. While it is fine for other programs, such as od, to > >Doesn't that overly complicate things? Seems to me that whenever

sshd "owned by root" error

2005-05-06 Thread Ordal, Peter
I just finished an install of Cygwin's OpenSSH on XP SP 2. Along the way I got the error: /var/empty must be owned by root and not group or world-writable. This has been discussed several places before, I know. Still, I had a different experience than previous posts. I found that what "owned by r

Re: sshd "owned by root" error

2005-05-06 Thread Igor Pechtchanski
On Fri, 6 May 2005, Ordal, Peter wrote: > I just finished an install of Cygwin's OpenSSH on XP SP 2. Along the way I > got the error: > > /var/empty must be owned by root and not group or world-writable. > > This has been discussed several places before, I know. Still, I had a > different experien

setup.exe and column dividers

2005-05-06 Thread J. David Boyd
Does anyone know where, in what file, the information for setup.exe is stored as it pertains to the column dividers? At some point in the past, I did 'something' so that all I see in the window is the current version. I have to move FAR to the right, and drag back the column divider, 6 or 7 ti

Re: mkdir -p and network drives

2005-05-06 Thread Paul Eggert
Igor Pechtchanski <[EMAIL PROTECTED]> writes: > There's always Pierre's solution of doing minimal support for stat()ing > '//' and '//MACHINE', though... Yes, that's the basic idea. That's the only thing that makes sense here. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple P

Re: problem with using tetex 3.0.0-2

2005-05-06 Thread TC
When I enter "cygcheck -c | grep tetex", it returns: tetex3.0.0-2 OK tetex-base 3.0.0-2 OK tetex-bin3.0.0-2 OK tetex-devel 3.0.0-2 OK tetex-doc3.0.

Re: mkdir -p and network drives

2005-05-06 Thread Jim Meyering
>> By the way, the coreutils anon CVS mirror syncronization >> appears to be hung again, I've just sync'd things. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: sshd "owned by root" error

2005-05-06 Thread Christopher Faylor
On Fri, May 06, 2005 at 12:41:55PM -0400, Igor Pechtchanski wrote: >On Fri, 6 May 2005, Ordal, Peter wrote: >>I just finished an install of Cygwin's OpenSSH on XP SP 2. Along the >>way I got the error: >> >>/var/empty must be owned by root and not group or world-writable. >> >>This has been discus

Re: mkdir -p and network drives

2005-05-06 Thread Christopher Faylor
On Fri, May 06, 2005 at 11:13:56AM -0700, Paul Eggert wrote: >Igor Pechtchanski <[EMAIL PROTECTED]> writes: >>There's always Pierre's solution of doing minimal support for stat()ing >>'//' and '//MACHINE', though... > >Yes, that's the basic idea. That's the only thing that makes sense >here. Exce

Multiple Cygwin users in WinXPPro

2005-05-06 Thread Mills, John M.
Cygnets - I just installed Cygwin and its X-windows on a WinXPPro box to be used by multiple, individual users with different logins. I found user "B" couldn't run 'xinit' after user "A" unless s/he deleted or changed permissions on '/tmp/XWin.log', which was always created with permissions -rw-r-

Re: problem with using tetex 3.0.0-2

2005-05-06 Thread Jan Nieuwenhuizen
TC writes: > When I enter "kpsewhich pdftex.map", it returns > nothing! Actually, there does not exist a directory > called "/var/lib/texmf". Check the permissions, run the postinstall script again and look for errors. The map file should be created near the end, by updmap. If not, please send

Solution, possible FAQ entry: make problem: execvp: /bin/sh: Illegal Argument

2005-05-06 Thread Jørgen Havsberg Seland
[This posting is to provide future searchers with a direct hit.] This problem is (often) due to the command-line being to long for the windows execution model. To circumvent this, mount the path of the executable using the -X switch. For instance, use mount -f -X c:/cygwin/bin /bin to enable "cy

Re: Solution, possible FAQ entry: make problem: execvp: /bin/sh: Illegal Argument

2005-05-06 Thread Larry Hall
At 05:47 PM 5/6/2005, you wrote: >[This posting is to provide future searchers with a direct hit.] > >This problem is (often) due to the command-line being to long for the windows >execution model. To circumvent this, mount the path of the executable using >the -X switch. For instance, use > >mou

Re: Solution, possible FAQ entry: make problem: execvp: /bin/sh: Illegal Argument

2005-05-06 Thread Christopher Faylor
On Fri, May 06, 2005 at 11:47:42PM +0200, J?rgen Havsberg Seland wrote: >[This posting is to provide future searchers with a direct hit.] > >This problem is (often) due to the command-line being to long for the >windows execution model. To circumvent this, mount the path of the >executable using

Re: setup.exe and column dividers

2005-05-06 Thread Brian Dessent
"J. David Boyd" wrote: > Does anyone know where, in what file, the information for setup.exe is > stored as it pertains to the column dividers? > > At some point in the past, I did 'something' so that all I see in the > window is the current version. I have to move FAR to the right, and drag > b

Re: setup.exe and column dividers

2005-05-06 Thread J. David Boyd
Brian Dessent <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > "J. David Boyd" wrote: > >> Does anyone know where, in what file, the information for setup.exe >> is stored as it pertains to the column dividers? >> >> At some point in the past, I did 'something' so that all I see in the >>

Help with error in vi and man

2005-05-06 Thread Trevor Osatchuk
When starting up vi/vim I get the following error: E558: Terminal entry not found in terminfo 'cygwin' not known. Available builtin terminals are: builtin_ansi builtin_xterm builtin_iris-ansi builtin_dumb defaulting to ansi Help does not work for vim I get the error: E433: No tags file E149:

Re: mkdir -p and network drives

2005-05-06 Thread Paul Eggert
Christopher Faylor <[EMAIL PROTECTED]> writes: > Except that it can't be made to work correctly due to a bash bug. Which Bash bug is that? Bash bugs can be fixed. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentat