Re: [PATCH] Do not confuse MinGW/MSYS users with talking about Cygwin when rebasing

2013-05-23 Thread Sebastian Schuberth

On 02.05.2013 10:05, Sebastian Schuberth wrote:


here's a small patch against the rebase 4.4.0-1 package to the rebaseall / peflagsall 
scripts that avoid talking about "cygwin" when running under MSYS / MinGW to 
not confuse the user.


Any comments on the patch?

--
Sebastian Schuberth

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[PATCH] Do not confuse MinGW/MSYS users with talking about Cygwin when rebasing

2013-05-02 Thread Sebastian Schuberth
Hi,

here's a small patch against the rebase 4.4.0-1 package to the rebaseall / 
peflagsall scripts that avoid talking about "cygwin" when running under MSYS / 
MinGW to not confuse the user.

diff -Nur a/peflagsall.in b/peflagsall.in
--- a/peflagsall.in Mon Apr 30 15:37:16 2012
+++ b/peflagsall.in Thu May  2 09:54:24 2013
@@ -43,10 +43,22 @@
 exit 1
 }
 
+# Determine platform
+Platform=`uname -s`
+case $Platform in
+ *MINGW*  | *mingw*  ) Platform=MinGW  ;;
+ *CYGWIN* | *cygwin* ) Platform=Cygwin ;;
+ *MSYS*   | *msys*   ) Platform=MSYS   ;;
+ * )
+echo "Unsupported platform: $Platform" 1>&2
+exit 1
+;;
+esac
+
 long_help ()
 {
 echo "$usage_string"
-echo "When invoked with no arguments, $ProgramName modifies every cygwin 
$DefaultSuffixes"
+echo "When invoked with no arguments, $ProgramName modifies every 
$Platform $DefaultSuffixes"
 echo "on the system: .exe files have their tsaware flag set, while .dll, 
.so and .oct"
 echo "files have their dynamicbase flag removed. However, if any of 
[-d|-t|-s] are"
 echo "specified then ONLY the actions so specified will occur."
@@ -137,22 +149,10 @@
 # First see if caller requested help
 check_args_for_help "$@"
 
-# Determine platform
-Platform=`uname -s`
-case $Platform in
- *MINGW*  | *mingw*  ) Platform=mingw  ;;
- *CYGWIN* | *cygwin* ) Platform=cygwin ;;
- *MSYS*   | *msys*   ) Platform=msys   ;;
- * )
-echo "Unsupported platform: $Platform" 1>&2
-exit 1
-;;
-esac
-
 # Verify only ash or dash processes are running
 ProcessResult=0
 case $Platform in
-  mingw|msys )
+  MinGW|MSYS )
 /bin/ps -s | /bin/gawk '\
   # Count number of running ash or dash. \
   /\/bin\/(d)?ash(\.exe)?$/{ ash_cnt++; } \
@@ -174,7 +174,7 @@
   }'
 ProcessResult=$?
 ;;
-  cygwin )
+  Cygwin )
 grep -E -q -i -v '/d?ash(.exe)?$' /proc/[0-9]*/exename
 ProcessResult=$?
 ;;
@@ -182,7 +182,7 @@
 if [ $ProcessResult -eq 0 -a -z "$RebaseDebug" ]
 then
 echo "$ProgramName: only ash or dash processes are allowed during this 
process."
-echo "Exit all Cygwin processes and stop all Cygwin services."
+echo "Exit all $Platform processes and stop all $Platform services."
 echo "Execute ash (or dash) from Start/Run... or a cmd or command 
window."
 echo "Execute '/bin/peflagsall' from ash (or dash)."
 exit 2
@@ -256,14 +256,14 @@
 
 # Create file list
 case $Platform in
-  cygwin)
+  Cygwin)
 find /etc/setup -name '*.lst.gz' | xargs gzip -d -c |
   grep -E "\.($Suffixes)\$" |
   sed -e '/cygwin1\.dll$/d' -e '/cyglsa.*\.dll$/d' \
   -e '/sys-root\/mingw/d' -e 's/^/\//' \
   -e '/d?ash\.exe$/d' -e '/peflags\.exe$/d' >"${TmpFile}"
 ;;
-  msys)
+  MSYS)
 for f in /bin /lib
 do
   find $f -type f |
@@ -273,7 +273,7 @@
 -e '/peflags\.exe$/d' >>"$TmpFile"
 done
 ;;
-  mingw) ;; # no automatic files; only command line
+  MinGW) ;; # no automatic files; only command line
 esac
 
 # Append user supplied file list, if any
diff -Nur a/rebaseall.in b/rebaseall.in
--- a/rebaseall.in  Thu Jun  7 20:50:34 2012
+++ b/rebaseall.in  Wed Apr 24 20:49:55 2013
@@ -79,9 +79,9 @@
 # Determine platform
 Platform=`uname -s`
 case $Platform in
- *MINGW*  | *mingw*  ) Platform=mingw  ;;
- *CYGWIN* | *cygwin* ) Platform=cygwin ;;
- *MSYS*   | *msys*   ) Platform=msys   ;;
+ *MINGW*  | *mingw*  ) Platform=MinGW  ;;
+ *CYGWIN* | *cygwin* ) Platform=Cygwin ;;
+ *MSYS*   | *msys*   ) Platform=MSYS   ;;
  * )
 echo "Unsupported platform: $Platform" 1>&2
 exit 1
@@ -124,7 +124,7 @@
 then
   ProcessResult=0
   case $Platform in
-mingw|msys )
+MinGW|MSYS )
   /bin/ps -s | /bin/gawk '\
# Count number of running ash or dash. \
/\/bin\/(d)?ash(\.exe)?$/{ ash_cnt++; } \
@@ -146,7 +146,7 @@
}'
   ProcessResult=$?
   ;;
-cygwin )
+Cygwin )
   grep -E -q -i -v '/d?ash(.exe)?$' /proc/[0-9]*/exename
   ProcessResult=$?
   ;;
@@ -154,7 +154,7 @@
   if [ $ProcessResult -eq 0 -a -z "${RebaseDebug}" ]
   then
   echo "${ProgramName}: only ash or dash processes are allowed during 
rebasing"
-  echo "Exit all Cygwin processes and stop all Cygwin services."
+  echo "Exit all $Platform processes and stop all $Platform services."
   echo "Execute ash (or dash) from Start/Run... or a cmd or command 
window."
   echo "Execute '/bin/rebaseall' from ash (or dash)."
   exit 2
@@ -199,7 +199,7 @@
 
 # Create

qtparted unter Cygwin (font problem)

2005-11-08 Thread Sebastian Schuberth

Hi,

I'm trying to run qtparted on a remote Gentoo Linux machine and forward 
X11 via SSH to my local Windows / Cygwin machine. It basically works, 
but in qtparted's GUI I only see squares instead of a nice font.


I guess I'm missing a font in my local Cygwin X-server installation, but 
I already have installed all X11 / Qt related font stuff I was able to find.


Any clue which font I would need? Thanks in advance!

--
Sebastian Schuberth
(remove "NOSP" and "M" from my e-mail address)


--
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: Bug in tcltk's glob

2005-09-16 Thread Sebastian Schuberth

I don't think there is any need to patch tcltk, as I believe the bug has
already been fixed in more recent versions than the one supplied with
Cygwin. So a simple recompile for Cygwin should do. Unfortunately, I
have neither the time nor expertise to do so.
 
  Nor do you have sufficient good manners to persuade anyone else to do so

on your behalf.  So I guess you're SOL then, aren't you?


If you're refering to my mistake to contact Chris directly, I'm sorry 
for that, I didn't read his mail on cygwin.applications to the bottom.


That said, I was not surprised to get a canned response, it was just 
fair. You seem a little harsh with your judgement, Dave.


--
Sebastian Schuberth
(remove "NOSP" and "M" from my e-mail address)


--
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: Bug in tcltk's glob

2005-09-16 Thread Sebastian Schuberth
So I tried to find out who maintains the tcltk package for Cygwin, and 
that turned out to be you (see your post on cygwin.applications). So I'd 
like to kindly ask to if you can privide a never tcltk package which 
hopefully solve the bug in glob I currently see. Here's the bug again:


FYI, the tcltk package is provided only to support the "insight" debugger.
I know nothing about tcltk so I really can't help with problems.

If you have a patch for tcltk, please send it to the insight mailing list.


I don't think there is any need to patch tcltk, as I believe the bug has 
already been fixed in more recent versions than the one supplied with 
Cygwin. So a simple recompile for Cygwin should do. Unfortunately, I 
have neither the time nor expertise to do so.


--
Sebastian Schuberth
(remove "NOSP" and "M" from my e-mail address)


--
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: Bug in tcltk's glob

2005-09-16 Thread Sebastian Schuberth

Christopher Faylor wrote:


On Fri, Sep 16, 2005 at 12:25:10PM +0200, Sebastian Schuberth wrote:

>

sorry for mailing to you directly, but so far no one responded to my
'1.5.18: tclsh's glob and relative paths containing ".."' mail on the
Cygwin mailing list. Here's a copy:


Please check out the project web page for links to available information
and ports:  http://cygwin.com/ .

If you don't see what you need there, then the cygwin mailing list is
the best place to make observations or get questions answered.
Information on the mailing list is available at the project web page.

For your convenience, I've reset the Reply-To: address to point to the
cygwin mailing list.  I've also Cc'ed this reply there.


I'm sorry but I do not see how the information available on the Cygwin 
site is able to help me. There is no more recent version of tcltk 
available from the ports site than the one that ships with Cygwin, and 
that version is from 2003.


So I tried to find out who maintains the tcltk package for Cygwin, and 
that turned out to be you (see your post on cygwin.applications). So I'd 
like to kindly ask to if you can privide a never tcltk package which 
hopefully solve the bug in glob I currently see. Here's the bug again:


--(snip)--
puts stdout [glob ../common/*.cpp]

For some reason this returns *absolute* paths to the matching files, e.g.

d:/Development/common/test.cpp

instead of the expected

../common/test.cpp

Using ActiveTcl (under Windows) and under Linux the script works as 
expected.

--(snip)--

--
Sebastian Schuberth
(remove "NOSP" and "M" from my e-mail address)


--
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/



1.5.18: tclsh's glob and relative paths containing ".."

2005-09-15 Thread Sebastian Schuberth

Hi,

I'm running the following simple script under tclsh 8.4:

puts stdout [glob ../common/*.cpp]

For some reason this returns *absolute* paths to the matching files, e.g.

d:/Development/common/test.cpp

instead of the expected

../common/test.cpp

Using ActiveTcl and under Linux the script works as expected. Relative 
paths that do not contain ".." also work fine under all platforms, incl. 
Cygwin. Any insights?


--
Sebastian Schuberth

Cygwin Configuration Diagnostics
Current System Time: Thu Sep 15 10:52:39 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\texmf\miktex\bin
d:\PROGRA~1\CMake\bin
c:\WINDOWS
c:\WINDOWS\system32
c:\WINDOWS\System32\Wbem
d:\Development\Libraries\IPP\ia32_itanium\bin
d:\Development\Libraries\IPP\ia32_itanium\bin\win32
c:\Program Files\Common Files\Compuware\
c:\Program Files\Common Files\Compuware\NMShared
c:\Program Files\Common Files\GTK\2.0\bin
d:\Program Files\Intel C++ Compiler\IDB80\Bin
C:\cygwin\bin
d:\Program Files\Ghostscript\gs8.50\bin
d:\Program Files\MOVEit
d:\Development\Libraries\The Image Debugger
d:\Development\Libraries\DirectX SDK\Utilities\Bin\x86
d:\Program Files\doxygen\bin
d:\Tools

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 45386(sschuber)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 45386(sschuber)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = `sschuber'
PWD = `/cygdrive/d/Development/CVS-ZIB/amira/src/visage/vsreconfbpcb'
HOME = `/home/sschuber'
MAKE_MODE = `unix'

HOMEPATH = `\'
APPDATA = `C:\Documents and Settings\sschuber\Application Data'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
VSINSTALLDIR = `C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE'
HOSTNAME = `XP-LSG-BERLIN2'
DXSDK_DIR = `D:\Development\Libraries\DirectX SDK\'
INTEL_LICENSE_FILE = `C:\Program Files\Common Files\Intel\Licenses'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 3 Stepping 4, GenuineIntel'
TERM = `cygwin'
WINDIR = `C:\WINDOWS'
USERDOMAIN = `MERCURY'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
OS = `Windows_NT'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
TEMP = `/cygdrive/c/DOCUME~1/sschuber/LOCALS~1/Temp'
VCINSTALLDIR = `C:\Program Files\Microsoft Visual Studio .NET 2003'
LIB = 
`D:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\lib;D:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\stublib'
USERNAME = `sschuber'
VISAGE_REQUIRE_QUADRO = `0'
PROCESSOR_LEVEL = `15'
FP_NO_HOST_CHECK = `NO'
SYSTEMDRIVE = `C:'
CLIENTNAME = `Console'
USERPROFILE = `C:\Documents and Settings\sschuber'
LOGONSERVER = `\\AD-BER1'
PS1 = `\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
PROCESSOR_ARCHITECTURE = `x86'
SHLVL = `1'
AMIRA_NO_LICENSE_MESSAGE = `1'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
USERDNSDOMAIN = `AD.MC.COM'
HOMEDRIVE = `U:'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
SYSTEMROOT = `C:\WINDOWS'
TMP = `/cygdrive/c/DOCUME~1/sschuber/LOCALS~1/Temp'
PROCESSOR_REVISION = `0304'
CVS_RSH = `/bin/ssh'
PRINTER = `FinePrint'
PROGRAMFILES = `C:\Program Files'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
HOMESHARE = `\\ad-fs1\sschuber'
NUMBER_OF_PROCESSORS = `2'
INCLUDE = 
`D:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\include'
INTEL_COMPILER80 = `D:\Program Files\Intel C++ Compiler\Compiler80'
VISAGE_TEXMEM = `384m'
SESSIONNAME = `Console'
COMPUTERNAME = `XP-LSG-BERLIN2'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0028
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cy

Re: DD converts LF -> CR / LF

2005-05-08 Thread Sebastian Schuberth
Paul Eggert wrote:

> Eric Blake <[EMAIL PROTECTED]> writes:
> 
>>it now defaults to the underlying mount mode when the user does not
>>specify binary or text.  In my opinion, dd should default to binary
>>when neither text nor binary is specified
> 
> Hmm, overriding the explicit advice of the system administrator?
> How common is it for file systems to be mounted in text mode?  Why
> would anyone do such a thing?  If it's sufficiently rare, then dd
> shouldn't need to worry about it.

If you run Cygwin under Windows and mix usage of Cygwin's command line
CVS client and e.g. TortoiseCVS, you need to mount the file systems in
text mode. Otherwise, you get additional line feeds when checking in /
out to / from a CVS server (that runs under Unix).

-- 
Sebastian Schuberth

--
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-07 Thread Sebastian Schuberth
>>>2005-05-06  Paul Eggert  <[EMAIL PROTECTED]>
>>>
>>> * NEWS: dd has new iflag= and oflag= flags "binary" and "text".
>>> * doc/coreutils.texi (dd invocation): Document it.
>>> * src/dd.c (flags, usage): Support it.
> 
> That's okay for a start, but it now defaults to the underlying mount mode
> when the user does not specify binary or text.  In my opinion, dd should
> default to binary when neither text nor binary is specified (of course,
> that makes iflag=binary pretty much a no-op).

I agree, DD should default to binary in any case. Well, I'll look
foreward to the Cywin release of coreutils-5.3.0-6 to see which patch
will make it ;-)

-- 
Sebastian Schuberth

--
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/



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, "text.txt" will contain CR /
LF line ends, increasing the file size. This drove me nuts when working
with DD on some binary files. How can I solve this? I already tried 
several of the "conv=" arguments to DD with no luck.

Thanks in advance.
--
Sebastian Schuberth

Cygwin Configuration Diagnostics
Current System Time: Fri May 06 09:13:50 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin

c:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\bin

c:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\bin\win32
c:\WINDOWS
c:\WINDOWS\system32
c:\WINDOWS\System32\Wbem
c:\Program Files\Common Files\Compuware\
c:\Program Files\Common Files\Compuware\NMShared
c:\Program Files\Common Files\GTK\2.0\bin
c:\Development\Libraries\IPP\ia32_itanium\bin
c:\Development\Libraries\IPP\ia32_itanium\bin\win32
d:\Program Files\Intel C++ Compiler\Compiler80\Ia32\Bin
d:\Program Files\Intel C++ Compiler\IDB80\Bin
d:\Program Files\doxygen\bin
C:\cygwin\bin
c:\Development\Libraries\The Image Debugger
c:\Development\Libraries\DirectX SDK\Utilities
d:\Program Files\Cg Compiler\bin
d:\Program Files\doxygen\bin
d:\Program Files\SSH Secure Shell

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 45386(sschuber)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 45386(sschuber)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\sschuber'
MAKE_MODE = `unix'
PWD = `/d/Filing'
USER = `sschuber'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
AMIRA_LOCAL = `C:\Development\CVS-ZIB\amira'
AMIRA_NO_LICENSE_MESSAGE = `1'
AMIRA_ROOT = `D:\Program Files\Amira'
APPDATA = `C:\Documents and Settings\sschuber\Application Data'
CG_BIN_PATH = `D:\Program Files\Cg Compiler\bin'
CG_INC_PATH = `D:\Program Files\Cg Compiler\include'
CG_LIB_PATH = `D:\Program Files\Cg Compiler\lib'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `XP-LSG-BERLIN2'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
DXSDK_DIR = `C:\Development\Libraries\DirectX SDK\'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `U:'
HOMEPATH = `\'
HOMESHARE = `\\ad-fs1\sschuber'
HOSTNAME = `XP-LSG-BERLIN2'
INCLUDE = 
`C:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\include'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
INTEL_COMPILER80 = `D:\Program Files\Intel C++ Compiler\Compiler80'
INTEL_LICENSE_FILE = `C:\Program Files\Common Files\Intel\Licenses'
LIB = 
`C:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\lib;C:\Development\Libraries\Integrated_Performance_Primitives-v4.1\ia32_itanium\stublib'
LOGONSERVER = `\\AD-BER1'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
NUMBER_OF_PROCESSORS = `2'
OLDPWD = `/home/sschuber'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PRINTER = `FinePrint'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 3 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0304'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\sschuber\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\sschuber\LOCALS~1\Temp'
USERDNSDOMAIN = `AD.MC.COM'
USERDOMAIN = `MERCURY'
USERNAME = `sschuber'
USERPROFILE = `C:\Documents and Settings\sschuber'
VISAGE_TEXMEM = `224M'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_US

Re: Change Default Text File Format after installation

2005-04-11 Thread Sebastian Schuberth
Well, I only need a solution for my special case *now*, so it's okay for
me if mounts are going to be stored anywhere else in the future. My
problem is: I've set "Default Text File Format" to "Unix" during setup.
Now I just want to change my Cygwin installation as if I had specified
"DOS" instead.
You can simply re-run setup in the "Keep" mode and change the filesystem
type to "DOS"...
I tried that, but I always used VIM to see if it worked ... I didn't 
know VIM (being a text editor) always creates files in binary mode.

mount -sbc /cygdrive
Thanks. I've changed all my mounts to "textmode".
Including the cygdrive prefix?
I also re-mounted the drives without "cygdrive" prefix, if that's what 
you mean.

What I don't get: If I now create a file using VIM and look at it
afterwards using "od -c", it still contains \n instead of \r\n line
ends. Why is that?
Because VIm always creates files in binary mode, IIRC (perhaps because it
is linked with binmode.o, not automode.o?).  Try ":set fileformat=dos"
before saving the file.  You can also put the above command in your
~/.vimrc.
Strange: "set fileformat=dos" works in the editor, but not when entered 
into ".vimrc" (other commands in there work).

--
Sebastian Schuberth
--
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: Change Default Text File Format after installation

2005-04-11 Thread Sebastian Schuberth
In the mount table.  See "man mount".  Google for "cygwin remount binary"
for a handy one-liner.
Thanks. The default mounts seem to be encoded in the Windows registry, as
there is not fstab.
By "default mounts", do you mean the /cygdrive auto-mounts?
Yes, all mounts that are there after a fresh install of Cygwin.
It also seems I need to change the flags in a key named "cygdrive flags"
if I want to change the mount mode of auto-mounted drives. Is that
correct?
No, that is *NOT* correct.  The mounts are stored in the registry *now*,
but they aren't guaranteed to stay in the registry in the future.  What is
guaranteed, however, is that the "mount" command will *always* manipulate
the mount table, wherever it's stored.  Cygwin's "mount" is very different
from the Linux "mount" -- you really should read the "mount" manpage.
Well, I only need a solution for my special case *now*, so it's okay for 
me if mounts are going to be stored anywhere else in the future. My 
problem is: I've set "Default Text File Format" to "Unix" during setup. 
Now I just want to change my Cygwin installation as if I had specified 
"DOS" instead.

The flags on the auto-mounted drives can be changed by setting them in
conjunction with the --change-cygdrive-prefix (-c) mount flag.  So, to
make them binary, just say
mount -sbc /cygdrive
Thanks. I've changed all my mounts to "textmode". What I don't get: If I 
now create a file using VIM and look at it afterwards using "od -c", it 
still contains \n instead of \r\n line ends. Why is that?

--
Sebastian Schuberth
--
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: Change Default Text File Format after installation

2005-04-11 Thread Sebastian Schuberth
where does Cygwin store whether the user has chosen DOS or UNIX as the
"Default Text File Format" when installing? Is it possible to change that
setting without re-installing Cygwin?
In the mount table.  See "man mount".  Google for "cygwin remount binary"
for a handy one-liner.
Thanks. The default mounts seem to be encoded in the Windows registry, 
as there is not fstab. It also seems I need to change the flags in a key 
named "cygdrive flags" if I want to change the mount mode of 
auto-mounted drives. Is that correct? Is there an explanation of the 
flags somewhere (well, without having to checkout all the source code 
and search for it ...).

--
Sebastian Schuberth
--
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/


Change Default Text File Format after installation

2005-04-11 Thread Sebastian Schuberth
Hi,
where does Cygwin store whether the user has chosen DOS or UNIX as the 
"Default Text File Format" when installing? Is it possible to change 
that setting without re-installing Cygwin?

--
Sebastian Schuberth
--
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: Crash during setup

2002-05-22 Thread Sebastian Schuberth

> setup-2.243 works fine, no more crashing! Thank you very much!

well, i just tried to install lyx 1.1.6 fix 4 under cygwin. as before, 
the current setup.exe crashes and the 2.243 snapshot creates a null 
pointer exception at 0x0043a1a5. as far as i can tell, it does not 
matter where i put lyx' setup.ini (current directory or some sub-
directory).
how am i going to install lyx then?

-- 

Sebastian Schuberth



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Crash during setup

2002-05-22 Thread Sebastian Schuberth

Hi Rob,

setup-2.243 works fine, no more crashing! Thank you very much!

-- 

Sebastian Schuberth

> > Randall,
> > 
> > I've just tried it once more, and right now 25 minutes have passed 
> > without any progress. I still see this dumb blank page.
> > 
> > BTW: My CPU usage is 100%!
> 
> please try the most recent snapshot from
> http://www.cygwin.com/setup-snapshots/
> 
> Rob



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Crash during setup

2002-05-22 Thread Sebastian Schuberth

Hi,

I don't use an existing or designated folder for Cygwin downloads. When 
asking for the local package directory, I specify a directory that does 
not yet exist so it will be created. I also already tried to use 
serveral mirror sites but it does not help. The setup.ini file that gets 
properly downloaded in the local package directory I specified ist 102kb 
in size (MD5 DB7B6E8CD14D8957B4454C2B845C84D6). I sure can post it if 
you like.

-- 

Sebastian Schuberth

> Hi,
> 
> Are you using an exisiting folder for your local package directory?  If
> so, it is reccommended that you use an empty, new folder.  Just something
> I noticed, because otherwise setup.exe is searching all over an existing
> folder for setup.ini and may possibly be picking up the wrong one.  Also,
> if you are already using a designated folder only for cygwin downloads,
> then I suggest clearing out what had been created by previous attempts and
> retry from a different mirror.
> 
> Cheers,
> Nicholas



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Crash during setup

2002-05-22 Thread Sebastian Schuberth

Randall,

I've just tried it once more, and right now 25 minutes have passed 
without any progress. I still see this dumb blank page.

BTW: My CPU usage is 100%!

-- 

Sebastian Schuberth

> Sebastian,
> 
> Patience is one suggestion. I have a fast machine with fast disks and a 
> fast, dual-channel SCSI I/O adaptor (and the install cache and the Cygwin 
> working directories are on separate disks and those disks are on separate 
> I/O channels) and still it takes a long time for Setup to determine what to 
> offer to install. There simply are a lot of separate I/O operations to 
> perform to prepare the installation list.
> 
> There have been reports that indicate CPU saturation while the 
> "intentionally blank [sic]" page is displayed. That's not the case for 
> normal operation, of course. Use the "Processes" tab of the "Windows Task 
> Manager" to check for this condition. If the CPU utilization is low, then 
> Setup is probably still comparing your install cache to your active 
> installation.
> 
> 
> Randall Schulz
> Mountain View, CA USA
> 
> 
> At 15:11 2002-05-21, Sebastian Schuberth wrote:
> >Hi there,
> >
> >I'm trying to run Cygwin setup 2.218.2.9 on Win2k but it always crashes at 
> >the same point: After selecting the mirror and downloading setup.ini a 
> >page saying "This space intentionally left blank" appears and the program 
> >does not respond to input anymore. The only way to close it is to kill the 
> >task. Any hints how to avoid this?
> >
> >--
> >
> >Sebastian Schuberth



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Crash during setup

2002-05-21 Thread Sebastian Schuberth

Hi there,

i'm trying to run Cygwin setup 2.218.2.9 on Win2k but it always crashes 
at the same point: After selecting the mirror and downloading setup.ini 
a page saying "This space intentionally left blank" appears and the 
program does not respond to input anymore. The only way to close it is 
to kill the task. Any hints how to avoid this?

-- 

Sebastian Schuberth



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/