Fw: problem

2014-04-28 Thread Farrokh Razavi
hello 
i have problem with Altera program monitor at win 8.1
not compile 
error  0 [main] bash 3888 find_fast_cwd: WARNING: Couldn't compute  FAST_CWD 
pointer.
 please help me 
 thanks 


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



Re: Fw: problem

2014-04-28 Thread Robert Pendell
On Mon, Apr 28, 2014 at 6:11 AM, Farrokh Razavi wrote:
 hello
 i have problem with Altera program monitor at win 8.1
 not compile
 error  0 [main] bash 3888 find_fast_cwd: WARNING: Couldn't compute  FAST_CWD 
 pointer.
  please help me
  thanks


As mentioned already please refer to the problem reports link below
and attach an appropriate cygcheck.out so that we can assist you in
your issue.  At this point you have provided very little to go by.

With that in mind I do remember this error being reported previously
so you may want to look for stray cygwin1.dll files that are showing
up in the path.  Older dlls can cause this issue.

 Problem reports:   http://cygwin.com/problems.html

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



FW: Problem starting xwin in windows domain

2007-11-29 Thread Paul Mulcahy
Hi,

I recently started migrating users to a Windows domain. We have all been
using Cygwin for some time but now in the domain I am experiencing problems.
Worse still I can not revert to a working version.

I have tried reinstalling and uninstalling but the same problems persist.

I am probably missing something but I see no reason it won't start and have
been unable to find a solution on the web.

We are completely unable to start XServer, it errors out. I got an error
message saying to contact here.

Thanks for your help.

Regards,
Paul


Cygwin Configuration Diagnostics
Current System Time: Wed Nov 28 16:16:34 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\lib\subversion\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Microsoft Office\OFFICE11\Business Contact
Manager\IM
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
c:\Program Files\Microsoft Office\OFFICE11\Business Contact Manager\
c:\Sybase\DLL
c:\Sybase\BIN
c:\sybtools\WIN32
c:\sybtools\ASEP
c:\Program Files\QuickTime\QTSystem\
c:\Program Files\cvsnt
c:\Program Files\Nortel\Desktop Assistant Pro\
c:\Program Files\Nortel\Shared Files
c:\Program Files\Nortel\Call Detail Recording Client\
c:\Program Files\Common Files\Teleca Shared

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11108(paulm)GID: 10513(Domain Users)
4(Admin) 10513(Domain Users)  11123(Management)
3(services)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11108(paulm)GID: 10513(Domain Users)
4(Admin) 10513(Domain Users)  11123(Management)
3(services)

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

HOME = `c:\Documents and Settings\paulm'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/Documents and Settings/paulm'
USER = `paulm'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\paulm\Application Data'
APTLMHOST = [EMAIL PROTECTED]'
CLASSPATH =
`c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;C:\Program
Files\Java\jre1.5.0_04\lib\ext\QTJava.zip'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `PAULM-PC'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
DEFAULT_CA_NR = `CA8'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\paulm'
HOSTNAME = `Paulm-pc'
INFOPATH =
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/aut
otool/stable/info:'
LIB = `c:\sybase\LIB'
LOGONSERVER = `\\WIN1'
MANPATH =
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/ma
n:/usr/X11R6/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
PRINTER = `\\win1\HP LaserJet 4050 Series PCL6'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 4 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0401'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
QTJAVA = `C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip'
SESSIONNAME = `Console'
SHLVL = `1'
SYBASE = `C:\Sybase'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\paulm\LOCALS~1\Temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/2.4.3,}'
TMP = `C:\DOCUME~1\paulm\LOCALS~1\Temp'
USERDNSDOMAIN = `TELCOTEC.LOCAL'
USERDOMAIN = `TELCOTEC'
USERNAME = `paulm'
USERPROFILE = `C:\Documents and Settings\paulm'
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_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 = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS 76230Mb  33% CP CS UN PA FC 
d:  cd N/AN/A
u:  net NTFS18Mb   1% CP CSPAusersback
w:  net NTFS217332Mb   1% CP CS UN PA FC 
y:  net NTFS153595Mb  62% CP CSPAgroup
z:  net NTFS153595Mb  62% CP CSPA  

Re: FW: Problem starting xwin in windows domain

2007-11-29 Thread Larry Hall (Cygwin X)

Paul Mulcahy wrote:

Hi,

I recently started migrating users to a Windows domain. We have all been
using Cygwin for some time but now in the domain I am experiencing problems.
Worse still I can not revert to a working version.

I have tried reinstalling and uninstalling but the same problems persist.


If you're going to reinstall, why not bring yourself up-to-date.  Your
cygwin package is years out-of-date.  I expect others, with the likely
exception of all things X, are in a similar state.


I am probably missing something but I see no reason it won't start and have
been unable to find a solution on the web.

We are completely unable to start XServer, it errors out. I got an error
message saying to contact here.


And the message is?

snip




Cygwin Configuration Diagnostics
Current System Time: Wed Nov 28 16:16:34 2007


.
.
.


We prefer that you attach rather than append your cygcheck output.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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



Re: FW: Problem starting xwin in windows domain

2007-11-29 Thread Paul Mulcahy

 And the message is?

The message is:

A fatal error has occurred and cygwin/x will now exit.
Please open /tmp/Xwin.log for more information.

I have attached the log.

 We prefer that you attach rather than append your cygcheck output.

Apologies, I was having issues posting to the list. I thought the attachment
may have been a problem.

Thanks,
Paul


XWin.log
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

Re: FW: Problem starting xwin in windows domain

2007-11-29 Thread Paul Mulcahy
I have noticed that when logged in as 'administrator' everything works but
not as a user. Is there anything in particular that Xwin does that that a
domain may not allow?


___
 
Paul Mulcahy
 
Systems Manager
Telcotec
 
+353 1 290 9242 


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



Re: FW: Problem starting xwin in windows domain

2007-11-29 Thread Holger Krull
Paul Mulcahy schrieb:
 Maybe you have a problem with ntfs file permissions.
 The domain users must have at least write access to tmp and their home
 directory, and read access to most of the rest. The domain Administrator
 
 I suspect it is somewhere in permissions but I have allowed the user and
 group full access to the C: drive (my machine and test machine). None of
 this has helped.
 
 Did you use mkpasswd to add the domain accounts to cygwins passwd file?
 
 Yes I've done this too but it has made little difference. The warning
 message at the start is gone but it is still the same error message.
 
 Are there any registry files that Cygwin needs? I suspect there is something
 that it can not access that it needs but I am unsure what.

At least HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
You could use sysinternals process monitor to track file and registry access 
and see if something fails. (Or just add everyone full access to see if it 
makes a difference, but remove that later)

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



RE: Re: FW: Problem starting xwin in windows domain

2007-11-29 Thread Paul Mulcahy

 You could use sysinternals process monitor to track file and registry
access 

From what I can see nothing is even failing! It's like it just won't work.

I assume other people have Cygwin working in a windows domain. Was there
some trick? Did you just install as admin and it worked for users?

Thanks for the help.

Regards,
Paul


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



Re: FW: Problem starting xwin in windows domain

2007-11-29 Thread Larry Hall (Cygwin X)

Paul Mulcahy wrote:

Maybe you have a problem with ntfs file permissions.
The domain users must have at least write access to tmp and their home

directory, and read access to most of the rest. The domain Administrator
usually  is in the local Administrators group and will have access
(depending on your domain setup).

I suspect it is somewhere in permissions but I have allowed the user and
group full access to the C: drive (my machine and test machine). None of
this has helped.


Did you use mkpasswd to add the domain accounts to cygwins passwd file?


Yes I've done this too but it has made little difference. The warning
message at the start is gone but it is still the same error message.

Are there any registry files that Cygwin needs? I suspect there is something
that it can not access that it needs but I am unsure what.


If you can run cygwin.bat from a command prompt (or just click on it) and
you get a command prompt running bash, I think you can eliminate any
possibility of incidental registry keys that Cygwin uses (or may not use,
going forward).

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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



Fw: Problem with bash colorin'

2004-08-27 Thread boxforsr
Hello  ehhmmm excuse me ... I have a problem concernin' bash
implementation  And the problem is: My bash gone bloody ... yes,
that's right everything that was white became red  and everything that
was grey became cherry-alike .(I'm talking bout fonts)... That happened
without any reason  just after the reboot  I did reinstalled it from
zero , but nothing changed  If there is someone who knows the solution ,
please respond 
Thank U..


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



Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread prgmmer

- Original Message - 
From: prgmmer
To: [EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 12:35 AM
Subject: Problem configuring sshd as a service -expr error


I've been following and looking at a couple guides to setting up sshd on
cygwin.

So i've already download openssh and cygwin of course and cygwin runs fine.

I create some environement variables and I add Path

Then here's the problem. When I :

ssh-host-config -y

it gives me this output
bash-2.05b$ ssh-host-config -y
/usr/bin/ssh-host-config: line 113: [: -gt: unary operator expected
/usr/bin/ssh-host-config: line 180: [: -gt: unary operator expected
Generating /etc/ssh_config file
c:\usr\local\wbin\cp.exe: /etc/defaults/etc/ssh_config: No such file or
director
y
Overwrite existing /etc/sshd_config file? (yes/no) yes
Can't overwrite. /etc/sshd_config is write protected.
/usr/bin/ssh-host-config: line 253: [: -gt: unary operator expected
/usr/bin/ssh-host-config: line 318: [: -gt: unary operator expected
grep: /ssh-host-config.756/SERVICES: No such file or directory
grep: /ssh-host-config.756/SERVICES: No such file or directory
/usr/bin/ssh-host-config: line 358: /ssh-host-config.756/SERVICES: No such
file
or directory
WARNING: Adding ssh to C:\WINDOWS\SERVICES failed!
/usr/bin/ssh-host-config: line 415: [: -gt: unary operator expected

Host configuration finished. Have fun!
bash-2.05b$

And windows XP complains about how expr crashed.

If I can get any help it would be greatly appreciated.. thank you

Cygwin newb


--
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: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread Igor Pechtchanski
On Tue, 30 Dec 2003, prgmmer wrote:

 I've been following and looking at a couple guides to setting up sshd on
 cygwin.

 So i've already download openssh and cygwin of course and cygwin runs fine.

 I create some environement variables and I add Path

 Then here's the problem. When I :

 ssh-host-config -y

 it gives me this output
 bash-2.05b$ ssh-host-config -y
 /usr/bin/ssh-host-config: line 113: [: -gt: unary operator expected
 /usr/bin/ssh-host-config: line 180: [: -gt: unary operator expected

These two lines mean that expr didn't work correctly.

 Generating /etc/ssh_config file
 c:\usr\local\wbin\cp.exe: /etc/defaults/etc/ssh_config: No such file or directory
  
This means that you have another set of unix-like tools in your path
*before* the Cygwin ones.  I'd also assume you have expr there, which
would explain why it didn't work as expected.

 Overwrite existing /etc/sshd_config file? (yes/no) yes
 Can't overwrite. /etc/sshd_config is write protected.
 /usr/bin/ssh-host-config: line 253: [: -gt: unary operator expected
 /usr/bin/ssh-host-config: line 318: [: -gt: unary operator expected

Same expr problem.

 grep: /ssh-host-config.756/SERVICES: No such file or directory
 grep: /ssh-host-config.756/SERVICES: No such file or directory
 /usr/bin/ssh-host-config: line 358: /ssh-host-config.756/SERVICES: No such file or 
 directory

Again, looks like the wrong awk is found.

 WARNING: Adding ssh to C:\WINDOWS\SERVICES failed!
 /usr/bin/ssh-host-config: line 415: [: -gt: unary operator expected

Same expr problem.

 Host configuration finished. Have fun!
 bash-2.05b$

 And windows XP complains about how expr crashed.

Please post the output of 'type -a expr' from a bash prompt.

 If I can get any help it would be greatly appreciated.. thank you
 Cygwin newb

It would help immensely if you read and followed the Cygwin problem
reporting guidelines at http://cygwin.com/problems.html, especially the
part about attaching (as an uncompressed text *attachment*) the output of
'cygcheck -svr'.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread prgmmer
Cygwin 1.5.5-1 under Xp

Currently ssh-host-config runs after i deleted some other paths off of this
old computer. However I get:

cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.

Thanxs.

- Original Message - 
From: Igor Pechtchanski [EMAIL PROTECTED]
To: prgmmer [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 11:21 AM
Subject: Re: Fw: Problem configuring sshd as a service -expr error


 On Tue, 30 Dec 2003, prgmmer wrote:

  I've been following and looking at a couple guides to setting up sshd on
  cygwin.
 
  So i've already download openssh and cygwin of course and cygwin runs
fine.
 
  I create some environement variables and I add Path
 
  Then here's the problem. When I :
 
  ssh-host-config -y
 
  it gives me this output
  bash-2.05b$ ssh-host-config -y
  /usr/bin/ssh-host-config: line 113: [: -gt: unary operator expected
  /usr/bin/ssh-host-config: line 180: [: -gt: unary operator expected

 These two lines mean that expr didn't work correctly.

  Generating /etc/ssh_config file
  c:\usr\local\wbin\cp.exe: /etc/defaults/etc/ssh_config: No such file or
directory
   
 This means that you have another set of unix-like tools in your path
 *before* the Cygwin ones.  I'd also assume you have expr there, which
 would explain why it didn't work as expected.

  Overwrite existing /etc/sshd_config file? (yes/no) yes
  Can't overwrite. /etc/sshd_config is write protected.
  /usr/bin/ssh-host-config: line 253: [: -gt: unary operator expected
  /usr/bin/ssh-host-config: line 318: [: -gt: unary operator expected

 Same expr problem.

  grep: /ssh-host-config.756/SERVICES: No such file or directory
  grep: /ssh-host-config.756/SERVICES: No such file or directory
  /usr/bin/ssh-host-config: line 358: /ssh-host-config.756/SERVICES: No
such file or directory

 Again, looks like the wrong awk is found.

  WARNING: Adding ssh to C:\WINDOWS\SERVICES failed!
  /usr/bin/ssh-host-config: line 415: [: -gt: unary operator expected

 Same expr problem.

  Host configuration finished. Have fun!
  bash-2.05b$
 
  And windows XP complains about how expr crashed.

 Please post the output of 'type -a expr' from a bash prompt.

  If I can get any help it would be greatly appreciated.. thank you
  Cygwin newb

 It would help immensely if you read and followed the Cygwin problem
 reporting guidelines at http://cygwin.com/problems.html, especially the
 part about attaching (as an uncompressed text *attachment*) the output of
 'cygcheck -svr'.
 Igor
 -- 
 http://cs.nyu.edu/~pechtcha/
   |\  _,,,---,,_ [EMAIL PROTECTED]
 ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
 '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

 I have since come to realize that being between your mentor and his route
 to the bathroom is a major career booster.  -- Patrick Naughton


cygcheck.out
Description: Binary data
--
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: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread Igor Pechtchanski
Please make sure your mailer doesn't leave raw e-mail addresses in the
message -- they're food for spam harvesters.

Your cygcheck output looks a bit weird (i.e., you have findutils
installed, but find was not found; your path doesn't contain
/usr/X11R6/bin even though you've installed XFree86 -- a stale
/etc/profile, perhaps?).  I'd suggest running cygcheck -cv to see if
your installation is corrupted, and if so, which files are missing.

As for the error 1062 message -- look in /var/log/sshd.log and the Windows
event log and see if there are any clues there.
Igor

On Tue, 30 Dec 2003, prgmmer wrote:

 Cygwin 1.5.5-1 under Xp

 Currently ssh-host-config runs after i deleted some other paths off of this
 old computer. However I get:

 cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
 The service has not been started.

 Thanxs.

 - Original Message -
 From: Igor Pechtchanski
 To: prgmmer
 Cc: cygwinatcygwindotcom
 Sent: Tuesday, December 30, 2003 11:21 AM
 Subject: Re: Fw: Problem configuring sshd as a service -expr error

  On Tue, 30 Dec 2003, prgmmer wrote:
 
   I've been following and looking at a couple guides to setting up sshd on
   cygwin.
  
   So i've already download openssh and cygwin of course and cygwin runs fine.
  
   I create some environement variables and I add Path
  
   Then here's the problem. When I :
  
   ssh-host-config -y
  
   it gives me this output
   bash-2.05b$ ssh-host-config -y
   /usr/bin/ssh-host-config: line 113: [: -gt: unary operator expected
   /usr/bin/ssh-host-config: line 180: [: -gt: unary operator expected
 
  These two lines mean that expr didn't work correctly.
 
   Generating /etc/ssh_config file
   c:\usr\local\wbin\cp.exe: /etc/defaults/etc/ssh_config: No such file or directory

  This means that you have another set of unix-like tools in your path
  *before* the Cygwin ones.  I'd also assume you have expr there, which
  would explain why it didn't work as expected.
 
   Overwrite existing /etc/sshd_config file? (yes/no) yes
   Can't overwrite. /etc/sshd_config is write protected.
   /usr/bin/ssh-host-config: line 253: [: -gt: unary operator expected
   /usr/bin/ssh-host-config: line 318: [: -gt: unary operator expected
 
  Same expr problem.
 
   grep: /ssh-host-config.756/SERVICES: No such file or directory
   grep: /ssh-host-config.756/SERVICES: No such file or directory
   /usr/bin/ssh-host-config: line 358: /ssh-host-config.756/SERVICES: No such file 
   or directory
 
  Again, looks like the wrong awk is found.
 
   WARNING: Adding ssh to C:\WINDOWS\SERVICES failed!
   /usr/bin/ssh-host-config: line 415: [: -gt: unary operator expected
 
  Same expr problem.
 
   Host configuration finished. Have fun!
   bash-2.05b$
  
   And windows XP complains about how expr crashed.
 
  Please post the output of 'type -a expr' from a bash prompt.
 
   If I can get any help it would be greatly appreciated.. thank you
   Cygwin newb
 
  It would help immensely if you read and followed the Cygwin problem
  reporting guidelines at http://cygwin.com/problems.html, especially the
  part about attaching (as an uncompressed text *attachment*) the output of
  'cygcheck -svr'.
  Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



FW: Problem with OpenSSH build 3.6.1p1-2 on Win2k- Cygwin ver 1.3.22-1

2003-08-14 Thread Follano, Gerard (OFT)
 Hi All,
 I was previously running version 3.5p1-2 with cygwin 1.3.18-1 with no issues. 
 Upgrading to the level mentioned above broke several CMD scripts that run mixed 
 mode, by this I mean they run a combination of WINNT and CYGWIN binaries(example 
 below). I call the script via plink like so: plink [EMAIL PROTECTED] -i mykey.ppk -2 
 cmd /c c:\scripts
 myscript.bat. It seems the switch in shells renders me incapable of calling cygwin 
 binaries in an ssh session. A local bash session on the target machine executes the 
 script correctly. Replacing the new sshd binary with the previous version also 
 corrects the problem. Any ideas?
 
 
 
 **EXAMPLE SCRIPT*
 @echo off
 cd \temp\logs
 for /f %%I in ('\cygwin\bin\date ^+%%m%%d%%y') do set ZIP_NAME=%%I
 for /f %%I in ('\cygwin\bin\date ^+%%y%%m%%d') do set W3_NAME=%%I
 for /f %%I in ('\cygwin\bin\date ^+%%b') do set MTH=%%I
 for /f %%I in ('\cygwin\bin\date ^+%%m') do set NM_MTH=%%I
 for /f %%I in ('\cygwin\bin\date ^+%%d') do set DAY=%%I
 for /f %%I in ('\cygwin\bin\date ^+%%Y') do set YR=%%I
 dir /b ..\dir.txt
 for /f  %%x IN (..\dir.txt) DO (
 rmdir /q /s %%x
 )
 @echo %ZIP_NAME%
 @echo %MTH%
 @echo %DAY%
 @echo %YR%
 @echo %NM_MTH%

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



FW: problem: occasional keystroke doubling (a known issue?)

2003-05-29 Thread Fries, David D
The correct solution if you asked me is to ignore the windows repeat
events and use this X feature that is causing the problem.  I
would say this is the correct thing to do because of the very reason
that the feature was included in X in the first place (at least I
assume it is the reason).  It gives you rates and delays the hardware
doesn't provide, especially lower delays than 250ms and 30cps on
pc hardware.  If you use, `xset r rate 150 80` you can see it work
under cygwin.

I'm new to windows programming so I have no idea if you can tell
windows you only want key down and up events, or if you can even
detect and throw away the repeats and let X take care of them.  I
would suggest that is the way to go if possible.

One note though if you fiddle with the rates even on a Linux computer
that is heavily loaded it can duplicate keys when you didn't actually
hold it long enough for the delay to kick in, so it isn't always
foolproof even on Linux.

I've noticed that the modifiers under cygwin (control, alt, shift etc)
show that they repeat under xev just like other keys where they don't
on Linux.

While input is the topic is it possible to claim the alt and window keys
in cygwin?  I have fvwm setup to use them a ton and it works great under
Linux, but not at all in cygwin.  I was debating if it would be useful to
let windows still control alt-tab or not.  I've seen other programs
take control of the window and alt keys, so it is possible, but I have no
idea what it would take.

Harold L Hunt II wrote:
 Excellent.
 
 Now, if I could only find a way to turn this off programmatically, once 
 and for all.  This X key repeat feature is completely unnecessary since 
 Windows handles key repeats for us.  I tried to interface with the same 
 code that xset interfaces with, but it did not seem that this interface 
 was meant to be built into an X Server.  Perhaps someone else can help 
 me figure out how to disable this.  It could be a simple as a build
 flag, but I have never come across it.
 
 Harold

--
David Fries [EMAIL PROTECTED] (for personal)


Re: FW: problem: occasional keystroke doubling (a known issue?)

2003-05-29 Thread Harold L Hunt II
David,

No need to CC me on replies.  Please don't.

Fries, David D wrote:
The correct solution if you asked me is to ignore the windows repeat
events and use this X feature that is causing the problem.  I
would say this is the correct thing to do because of the very reason
that the feature was included in X in the first place (at least I
assume it is the reason).  It gives you rates and delays the hardware
doesn't provide, especially lower delays than 250ms and 30cps on
pc hardware.  If you use, `xset r rate 150 80` you can see it work
under cygwin.
We take the approach that we are a Windows application, which means that 
 we act like other Windows applications with respect to key repeats.  I 
believe we would get more complaints about Cygwin/XFree86 not responding 
to the Windows Control Panel settings than we will ever get about 
Cygwin/XFree86 not responding to the X key repeat settings.

In fact, the evidence so far is that the only people complaining are the 
ones that are being stung by the X key repeat system, not anyone that 
doesn't want Windows to handle the keyboard settings.

One note though if you fiddle with the rates even on a Linux computer
that is heavily loaded it can duplicate keys when you didn't actually
hold it long enough for the delay to kick in, so it isn't always
foolproof even on Linux.
Right, and Cygwin/XFree86 introduces more delays into the system that 
cause inadvertant key repeats to happen more often than they do on 
Linux.  A lot of people use Cygwin/XFree86 over RDP (Remote Desktop 
Connection/Terminal Services), which introduces a lot of lag in the 
keystrokes that Windows handles just fine, but which causes X to think 
that a key repeat has occurred.  In that case, the X key repeat system 
does nothing but get in the way.

I've noticed that the modifiers under cygwin (control, alt, shift etc)
show that they repeat under xev just like other keys where they don't
on Linux.
While input is the topic is it possible to claim the alt and window keys
in cygwin?  I have fvwm setup to use them a ton and it works great under
Linux, but not at all in cygwin.  I was debating if it would be useful to
let windows still control alt-tab or not.  I've seen other programs
take control of the window and alt keys, so it is possible, but I have no
idea what it would take.
It may be useful or it may not.  It is most certainly possible on 
NT-based platforms, but the debate won't get us anywhere.  Someone can 
submit a patch and we can try it out.  Until then it is just idle chatter.

Harold



FW: Problem with Cygwin DLL: 1003.15.0.0 1003.16.0.0

2002-11-28 Thread Steve Fairbairn

Hi all,

As noone responded to this, and I have since seen minor complaints of not
enough information being given, is there anything further I can do to assist
in the location and repair of this problem?

I have upgraded to 1003.17.0.0 and ensured the problem is also in this
version of the dll.  Do I have to reboot after upgrade, if the dll has been
changed (Win2K)?

Thanks,

Steve.

-Original Message-
From: Steve Fairbairn [mailto:[EMAIL PROTECTED]]
Sent: 25 November 2002 13:07
To: '[EMAIL PROTECTED]'
Subject: Problem with Cygwin DLL: 1003.15.0.0  1003.16.0.0



Hi,

I have come across a problem with cygwin which relates to the Windows
CreateProcess() function.

Tested on 
Cygwin DLLs: 1003.15.0.0  1003.16.0.0
Windows 2000 sp3

I have a Visual C++ program which uses CreateProcess to launch an executable
much like the example provided in the attachment.  The example has been hard
coded to execute a cygwin compiled binary (ls) as this is what I was
attempting to do in the real thing.

When the program is run from a dos command prompt, it all works perfectly.
However when the program is run from cygwin bash, the launched program (ls)
fails with a read exception somewhere in the cygwin dll.

If the program is changed to execute a non cygwin-built binary, it all seems
to work fine.

I also bring your attention to the following lines from the example...

/* Something to do with bInheritHandles being FALSE, as when it is TRUE,
it works. */
CreateProcess(0, cmd, 0, 0, FALSE,
DETACHED_PROCESS | NORMAL_PRIORITY_CLASS,
0,
cwd,
StartupInfo,
ProcessInformation);

When the CreateProcess call is changed so handles are inherited, it all
works perfectly.

If this is the wrong place to report an issue like this, then please let me
know where I should email instead.  I couldn't spot any other likely
candidates.

Regards,

Steve Fairbairn.

 test.c 
PS. Full VC++ Workspace and binaries are available, I just didn't want to
attach it on a mail to the whole list.
PPS. Apologies for the disclaimer, nothing I can do to stop it :(.

-- 
^^ Vain attempt to fake a proper signature start so hopefully some people
will automatically trim it off.

*** 
This email has originated from Perwill plc (Registration No. 1906964) 
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK 
Tel: +44 (0)1420 545000 
Fax: +44 (0)1420 545001 
www.perwill.com 
*** 
Privileged, confidential and/or copyright information may be contained 
in this email, and is only for the use of the intended addressee. 
To copy, forward, disclose or otherwise use it in any way if you are not 
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately, 
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network 
for the purposes of ensuring compliance with policies and procedures. 
This message is subject to and does not create or vary any contractual 
relationships between Perwill plc and the recipient. 
*** 
Any opinions expressed in the email are those of the sender and not 
necessarily of Perwill plc.
*** 
This email has been scanned for known viruses using 
McAfee WebShield 4.5 MR1a 
*** 



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




Fw: Problem Using Cygwin To Open Remote CDE

2002-10-24 Thread Sheldon T. Hall
I believe Bryan White has discovered a real bug in xfree86/cygwin.  Here's
his message and my response in comp.unix.solaris.

I'm not on the [EMAIL PROTECTED] mailing list, so if you wish to reach
me, go direct.

Thanks.

-Shel

- Original Message -
From: Sheldon T. Hall [EMAIL PROTECTED]
Newsgroups: comp.unix.solaris
Sent: Thursday, October 24, 2002 10:18 AM
Subject: Re: Problem Using Cygwin To Open Remote CDE



 Bryan White [EMAIL PROTECTED] wrote in message
 news:6aHt9.8140$46.1600;fe01...
  hola -
 
  i've been using xwin32 to remotely log on to my cde session on my
sparc10
  from my windows box. my trial version is about to expire and i don't
have
  the $$ to buy a license. anyway i've installed cygwin  xfree86. i can
run
 a
  local x session just fine  i can even display the x sessions on my
linux
  boxes. however, i am unable to get it working with my sparc10.
 
  i launch cygwin and type 'XWin -query 172.16.1.201' (which is working
fine
  for my linux boxes), however all i get when connecting to the sparc10 is
 the
  blank grey screen  the mouse pointer. like i say, xwin32 has worked
just
  fine connecting to the sparc10, so i'm confident that it is ready to go.
i
  have read on google groups that many people use cygwin to connect to
their
  sun boxes, i'm just wondering why i can't?? it seems they've been using
 the
  same command as me.

 Further to the above ... using your -query command resulting in the
 following errors in the log:

 Wed Oct 23 21:03:12 2002 error (pid 20305): Hung in
 XOpenDisplay(208.178.101.40:0) attempt #0, aborting.
 Wed Oct 23 21:03:12 2002 error (pid 20305): Server open attempt #0 failed
 for 208.178.101.40:0, giving up

 Now, the interesting thing here is that the IP address 298.178.101.40 is
not
 the IP address I used, no is it one on my network, or my ISP's network.
It
 is, however, an address I know.  Bring up xfree86 with a local xterm and
 command xhost; you'll see it.  It seems to be built into xfree86
somehow,
 maybe left over from testing.  It's the address of some law firm,
according
 to whois

 I think you've found a real xfree86 bug.

 -Shel







Re: Fw: problem with ls and similar commands in tcsh

2002-10-21 Thread mike parks
Igor,

let me back up a little here. i am trying to setup my pc at home as a work
station. this is relatively new for me because in the past at various jobs
it
was already done.

so some of the things you ask about i am not certain, like the glob.

 Does the glob expansion function of tcsh (^X-*) work?
how can i tell if it works?

 What *are* the exact filenames (as returned by 'ls' in bash)?
the filenames are
temp temp2 temp3 (i created these for test purposes only)

thanks for the help Igor.
mike


--
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: Fw: problem with ls and similar commands in tcsh

2002-10-20 Thread Igor Pechtchanski
On Sat, 19 Oct 2002, mike parks wrote:

 Igor,

 let me back up a little here. i am trying to setup my pc at home as a
 work station.  this is relatively new for me because in the past at
 various jobs it was already done.

 so some of the things you ask about i am not certain, like the glob.

  Does the glob expansion function of tcsh (^X-*) work?
 how can i tell if it works?

Mike,

On the tcsh command line, type 'ls temp*' (no Enter), then press Ctrl-X
and then press '*'.  This should expand to the three filenames below.  If
it instead expands to 'temp\*', you probably have noglob set, as Jon
LaBadie suggested (see
http://www.cygwin.com/ml/cygwin/2002-10/msg01167.html ).
Another way of checking whether noglob is set is 'set | grep noglob' at
the tcsh prompt.

If noglob is set, try 'unset'ting it and executing 'ls temp*' again.  If
that makes it work, you have to track down which startup script sets
noglob (probably ~/.tcshrc, ~/.cshrc or /etc/csh.cshrc).  Try starting
tcsh with the '-f' option to not execute those scripts, and see if it
fixes the problem.  You will then want to edit the offending script and
comment out the 'set noglob' line.

FYI, to find out *exactly* what is executed on tcsh startup, run 'tcsh -X
-c exit 21' and capture the output (note the capital X).  Everything
printed before 'exit' is in your startup scripts.
Igor

  What *are* the exact filenames (as returned by 'ls' in bash)?
 the filenames are
 temp temp2 temp3 (i created these for test purposes only)

 thanks for the help Igor.
 mike

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: Fw: problem with ls and similar commands in tcsh

2002-10-20 Thread mike parks
Igor,

 On the tcsh command line, type 'ls temp*' (no Enter), then press Ctrl-X
 and then press '*'.  This should expand to the three filenames below.  If
 it instead expands to 'temp\*', you probably have noglob set

 Another way of checking whether noglob is set is 'set | grep noglob' at
 the tcsh prompt.

'ls temp* Ctrl-X *' gets expanded to
temp/*

i have not (yet) set up any .[c,t]shrc files yet.

 If noglob is set, try 'unset'ting it and executing 'ls temp*' again.  If
 that makes it work, you have to track down which startup script sets
 noglob (probably ~/.tcshrc, ~/.cshrc or /etc/csh.cshrc).  Try starting
 tcsh with the '-f' option to not execute those scripts, and see if it
 fixes the problem.  You will then want to edit the offending script and
 comment out the 'set noglob' line.

'unset noglob' fixed the problem.

many thanks Igor!
mike

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




Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread mike parks
hi

i am running the latest cygwin win32 version on windows xp pro and am
having the following error or strange behavior.

i start a tcsh by typing tcsh on the bash command line in the cygwin
window. when i do i see this

if: Expression Syntax.

then when i type this
ls temp*(3 files should be reported)

i get this
ls: temp*: No such file or directory

my CYGWIN variable is not set to anything. i noticed some bug reports
related to this on the website. they say i should set $CYGWIN to
check_case:strict

i also noticed that there can be many variables set in the $CYGWIN env
variable.

*** 1) how do i do that? separating them with ':'? is this done in a .cshrc
file for example?

*** 2) is there anything else i need to do as well to solve this problem?

*** 3) also, how do i set tcsh as my default shell? do i need a .cshrc file?
*** 4) if so, does it go in the 'home' directory?

i noticed there is quite a bit of info on this tcsh/ls subject on the
website
but i am not clear what the complete solution is.

thanks for your help.

mike parks


--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread Igor Pechtchanski
Mike,

On Sat, 19 Oct 2002, mike parks wrote:

 hi
 i am running the latest cygwin win32 version on windows xp pro and am
 having the following error or strange behavior.

 i start a tcsh by typing tcsh on the bash command line in the cygwin
 window. when i do i see this

 if: Expression Syntax.

You probably have an error in your default /etc/profile or ~/.[t]cshrc

 then when i type this
 ls temp*(3 files should be reported)

 i get this
 ls: temp*: No such file or directory

 my CYGWIN variable is not set to anything. i noticed some bug reports
 related to this on the website. they say i should set $CYGWIN to
 check_case:strict

Actually, you probably want to use check_case:relaxed, or,
check_case:adjust, to mimic Windows behavior.

 i also noticed that there can be many variables set in the $CYGWIN env
 variable.

 *** 1) how do i do that? separating them with ':'? is this done in a .cshrc
 file for example?

They are separated with spaces.  You'll need to quote the value
appropriately.
You should really set the value in your system control panel, so that it
is set before cygwin1.dll is loaded.  However, for things like
check_case:* and some others you can set it in your .cshrc or
/etc/profile.
An example setting would be
setenv CYGWIN=$CYGWIN check_case:adjust

 *** 2) is there anything else i need to do as well to solve this problem?

Hard to say.  Are the files you're looking for actually there?  Does 'dir
temp*' do what you want?  How about 'cmd /c dir temp*'?

 *** 3) also, how do i set tcsh as my default shell? do i need a .cshrc file?

Depends on where you start it from.  If you start it from a shortcut, you
can just change the shortcut.  If you start rxvt or xterm, you should read
the appropriate man page to see how to do that.  I'm not sure modifying
the shell setting in /etc/passwd will work, but try it anyway (don't
forget to back up /etc/passwd in case it gets corrupted).

 *** 4) if so, does it go in the 'home' directory?

Try 'man tcsh', and read the 'Startup and shutdown' and 'FILES' sections.
Hope this helps,
Igor

 i noticed there is quite a bit of info on this tcsh/ls subject on the
 website but i am not clear what the complete solution is.

 thanks for your help.
 mike parks

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread mike parks
igor,

- Original Message -
From: Igor Pechtchanski [EMAIL PROTECTED]
To: mike parks [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, October 19, 2002 3:30 PM
Subject: Re: Fw: problem with ls and similar commands in tcsh


  *** 2) is there anything else i need to do as well to solve this
problem?

 Hard to say.  Are the files you're looking for actually there?  Does 'dir
 temp*' do what you want?  How about 'cmd /c dir temp*'?

the files are there. the ls/dir commands work fine in the default bash
shell. i get the
problem when i try to run in a tcsh.

'dir temp*' has the same result.

cmd/c dir temp*  gives me this error in both the bash and tcsh shells
cmd/c: Command not found

many thanks for the help igor!
mike



--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread Max Bowsher
mike parks [EMAIL PROTECTED] wrote:

 - Original Message -
 From: Igor Pechtchanski [EMAIL PROTECTED]
 
 *** 2) is there anything else i need to do as well to solve this
 problem? 
 
 Hard to say.  Are the files you're looking for actually there?  Does
 'dir temp*' do what you want?  How about 'cmd /c dir temp*'?
 
 the files are there. the ls/dir commands work fine in the default bash
 shell. i get the
 problem when i try to run in a tcsh.
 
 'dir temp*' has the same result.
 
 cmd/c dir temp*  gives me this error in both the bash and tcsh
 shells cmd/c: Command not found

Read more carefully! You've omitted a space.

Max.

--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread Igor Pechtchanski
Mike,

On Sat, 19 Oct 2002, mike parks wrote:

 igor,
  ^
The two 'Shift' keys are on the second from bottom row of your keyboard.

 - Original Message -
 From: Igor Pechtchanski [EMAIL PROTECTED]
 To: mike parks [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Saturday, October 19, 2002 3:30 PM
 Subject: Re: Fw: problem with ls and similar commands in tcsh

   *** 2) is there anything else i need to do as well to solve this problem?
 
  Hard to say.  Are the files you're looking for actually there?  Does 'dir
  temp*' do what you want?  How about 'cmd /c dir temp*'?

 the files are there. the ls/dir commands work fine in the default bash
 shell. i get the problem when i try to run in a tcsh.

 'dir temp*' has the same result.

Does 'echo temp*' work?

Compare the environments in bash and tcsh.  Did you try setting CYGWIN?

It also seems that the wildcard is not expanded by tcsh (if it were, your
error message would be 'ls: No match.', not 'ls: temp*: No such file or
directory').  Are you running cygwin's tcsh (run 'which tcsh' to find
out)?

 cmd/c dir temp*  gives me this error in both the bash and tcsh shells
 cmd/c: Command not found

You forgot the space between 'cmd' and '/c'...  However, if ls works in
bash, that's probably not necessary to run, anyway.
Igor

 many thanks for the help igor!
 mike

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread mike parks
Igor,

thanks for explaining the 'shift' keys.:)

 Does 'echo temp*' work?
'echo temp*' returns 
temp*

 Compare the environments in bash and tcsh.  Did you try setting CYGWIN?
i set CYGWIN in /etc/profile and the control panel to
export CYGWIN=check_case:adjust nostrip_title
CYGWIN check_case:adjust nostrip_title

respectively. i still have the same bizarre behavior.

 It also seems that the wildcard is not expanded by tcsh (if it were, your
 error message would be 'ls: No match.', not 'ls: temp*: No such file or
 directory').  Are you running cygwin's tcsh (run 'which tcsh' to find
 out)?
'which tcsh' returns
/usr/bin/tcsh

 You forgot the space between 'cmd' and '/c'...  However, if ls works in
 bash, that's probably not necessary to run, anyway.
oops! i did not see the space. 'cmd /c dir temp*' works

thanks
mike


--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread Christopher Faylor
On Sat, Oct 19, 2002 at 04:30:45PM -0400, Igor Pechtchanski wrote:
 my CYGWIN variable is not set to anything. i noticed some bug reports
 related to this on the website. they say i should set $CYGWIN to
 check_case:strict

Actually, you probably want to use check_case:relaxed, or,
check_case:adjust, to mimic Windows behavior.

I wouldn't recommend it.  It wouldn't help in this case and it really
just adds extra processing for minimal effect.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread Igor Pechtchanski
On Sat, 19 Oct 2002, Christopher Faylor wrote:

 On Sat, Oct 19, 2002 at 04:30:45PM -0400, Igor Pechtchanski wrote:
  my CYGWIN variable is not set to anything. i noticed some bug reports
  related to this on the website. they say i should set $CYGWIN to
  check_case:strict
 
 Actually, you probably want to use check_case:relaxed, or,
 check_case:adjust, to mimic Windows behavior.

 I wouldn't recommend it.  It wouldn't help in this case and it really
 just adds extra processing for minimal effect.
 cgf

Oops, you're right -- tcsh doesn't use this value when expanding globs...
In fact, as far as I could see, there is no way to make tcsh expand globs
in a case-insensitive manner.  However, it would help if one tried to open
a file with the wrong case filename...

Mike,
Does the glob expansion function of tcsh (^X-*) work?  What *are* the
exact filenames (as returned by 'ls' in bash)?  Windows often renders
all-uppercase filenames as lowercase in Explorer, maybe this is the issue?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: Fw: problem with ls and similar commands in tcsh

2002-10-19 Thread Jon LaBadie
On Sat, Oct 19, 2002 at 04:19:01PM -0500, mike parks wrote:
 igor,
 
 - Original Message -
 From: Igor Pechtchanski [EMAIL PROTECTED]
 To: mike parks [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Saturday, October 19, 2002 3:30 PM
 Subject: Re: Fw: problem with ls and similar commands in tcsh
 
 
   *** 2) is there anything else i need to do as well to solve this
 problem?
 
  Hard to say.  Are the files you're looking for actually there?  Does 'dir
  temp*' do what you want?  How about 'cmd /c dir temp*'?
 
 the files are there. the ls/dir commands work fine in the default bash
 shell. i get the
 problem when i try to run in a tcsh.

silly question, have you done a set noglob?

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)

--
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: Fw: Problem with Windows95 and XFree

2002-08-01 Thread Alexander Gottwald

On Wed, 31 Jul 2002, frederic bregier wrote:

 Well, it seems that you'r right.
 In the w95 box, I got the following :
 OS Version: Windows 9x 4.0 Build 67306684  B
 Querying devices using ioctl
 lo: family=TCP/IP (0) addr=127.0.0.1
 Querying devices using internal function
 lo: family=TCP/IP (0) addr=127.0.0.1

Hm, does not give me much information :(

Can you please send me the windows registry keys 
HKEY_LOCAL_MACHINE\Enum\Network\MSTCP
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net

open the registry editor, choose export from the file menu and enter the 
above strings in the field where the subtree is chosen.

I also upload a slightly modified version of the ls_netdev program 
which prints at least some of the rgistry keys while traversing the tree.
Can you please download and run it and send me the output again.

 So it is the case you noticed.
 With the other Windows box, I got the
 real IP address with this command.

Win95 uses some wierd hunt-through-registry to gather all information 
on the installed network interfaces. Microsoft has developed a library 
which simplifies this hunt. I guess it's in the winsock2 update. 
http://www.microsoft.com/windows95/downloads/contents/WUAdminTools/S_WUNetworkingTools/W95Sockets2/Default.asp

 
 Why does cygwin1.dll try to get the IP address
 since I passed the -from option in the command
 line of XWin. It should use this address
 and ignore the cygwin1.dll request in this case, shouldn't it ?

No. The from parameter is only needed to find the correct interface if
more than one interface is found. The system call also gets some extra
information as broadcast address and network mask. 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




Fw: Problem with Windows95 and XFree

2002-07-31 Thread frederic bregier

Well, it seems that you'r right.
In the w95 box, I got the following :
OS Version: Windows 9x 4.0 Build 67306684  B
Querying devices using ioctl
lo: family=TCP/IP (0) addr=127.0.0.1
Querying devices using internal function
lo: family=TCP/IP (0) addr=127.0.0.1

So it is the case you noticed.
With the other Windows box, I got the
real IP address with this command.

Why does cygwin1.dll try to get the IP address
since I passed the -from option in the command
line of XWin. It should use this address
and ignore the cygwin1.dll request in this case, shouldn't it ?

Any suggestion ?

PS: I've got around 300 potential users but I cannot check
every network cards, of course. I am now in the
test process before broadcasting Cygwin/XFree86 in place
of Ed.

Finally, regarding the xlauncher, I made one of my own
inspired from the one of Tim. I don't want to relaunch a
discussion about the tool to use or not. I am in the
same situation as Tim.
I made one of my own for these reasons :
- french interface (french users)
- specific options or restrictions
- I prefer to have text configuration files instead of
register entries : easier to adapt and duplicate on several
PCs.
The main idea of this final remark is the last point :
text configuration file, and is essentially turned to
whoever wants to make such a xlauncher...

Frederic

- Original Message - 
From: Alexander Gottwald
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 9:25 AM
Subject: Re: Problem with Windows95 and XFree


 On Mon, 29 Jul 2002, frederic bregier wrote:
 
  But when I try to run XFree in XDMCP mode (-query serverip -from
  win95ip),
  it just crashes.
  I look inside the XWin.log and found anything running well
  except this last message after window starting:
  Fatal server error: XDMCP fatal error: Session declined No valid
  address.
 
 What kind of network card have you installed?
 There is a small test program for testing the network interfaces.
 Can you please run ls_netdev-w95.exe from 
 http://www-user.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz and post 

 the output?
 
  
  Strange since I can ping or telnet this server from this W95 box.
  Strange again, I suspected a firewall between this W95 box and the
  Unix Server, but my network admin says there is no firwall between
  them.
 
 I guess this is not a server problem, but a cygwin problem with your
 network configuration. The cygwin1.dll tries to get the local
IP-address
 and fails. It then sends an XDMCP query with the local address
0.0.0.0,
 which the server refuses.
 
 bye
 ago
 -- 
  [EMAIL PROTECTED] 
  http://www.gotti.org   ICQ: 126018723
 
 



- http://www.WebMailSPro.com -  
VOTRE service d'email sans pub avec VOTRE nom de domaine




FW: Problem with cygwin install.

2002-05-23 Thread Ralf Habacker

 From: Don Thorp [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 22, 2002 8:53 PM
 To: [EMAIL PROTECTED]
 Subject: Problem with cygwin install.


 I'm excited to try the software out, but while I was installing it I
 received several warnings. I've attached to images for your review.

Do you have an idea, why this could happen ? The archive is valid, unpacking by
hand works.

It seems so, that this file was interpreted as a dir ...

mkdir.cc
snip

 if (isadir)
{
  if (CreateDirectory (path, 0))
return 0;
  gse = GetLastError ();
  if (gse != ERROR_PATH_NOT_FOUND  gse != ERROR_FILE_NOT_FOUND)
{
  if (gse == ERROR_ALREADY_EXISTS)
{
  fprintf (stderr,
   warning: deleting \%s\ so I can make a directory there\n,
   
   path);
  if (DeleteFileA (path))
return mkdir_p (isadir, path);
}
  return 1;
}
}



or could this have anything to do with the file name length ? It is the longest
filename in the archive (103 characters).

-r--r--r-- Administratoren/Kein1789 2002-04-07 19:25:06
opt/kde2/share/doc/HTML/en/kdeprint/cupsserverconfig_serverencryptionconfig_serv
ercertific
ate_blurb.png



PackageProgress.gif
Description: GIF image


SetupWarning.gif
Description: GIF image


Re: FW: Problem: extreme speed difference NT4 Win98SE runing Xfree

2002-04-17 Thread Uwe Schmidtmann


Hello.

Thanks for all the good hints. I am trying to comment them all at once:

First of all: The comparison was running Xfree, icewm, nedit and an own 
application completely under cygwin on the same machine - not outgoing 
connections. That is exactly my problem: I want to avoid using two 
computers for my project.

Second: Good hint is network listening: my own application (you can find 
a very early stage on http://www.brunsteinobs.de.vu/ under the XCCD 
section) uses TCP/IP socket communication to cummunicate with a rabbit 
core module. While XCCD is running under LinuX (or cygwin), the rabbit 
programming environtment needs Windows.

Third: both systems were compared just ruuning Xfee, icewm and nedit 
under cygwin without extra IP stuff running. Opening the IP port does 
not even change anything.

Forth: My Win98 machine has DirectX 8.1 which seems to be the latest 
version available from M$.

So I guess it is the difference between NT optimization and Win9x.


Best regards,

Uwe


Andrew Markebo wrote:

 / Andrew Markebo [EMAIL PROTECTED] wrote:
 | A hint, give vnc a try when connecting from your home-pc, can do quite
 | good transfer :-)
 | 
 | What link is used BTW when working from home? (could it be something
 
 And link I mean media, connection, whatever, how do you connect
 between the computers.. 
 
 /Andy
 
 





Re: FW: Problem: extreme speed difference NT4 Win98SE runing Xfree

2002-04-17 Thread Ian Burrell

Uwe Schmidtmann wrote:
 
 So I guess it is the difference between NT optimization and Win9x.
 

It could also be a difference in multitasking. I wouldn't be surprised 
if Win98 was slower in multitasking between the X server and clients 
especially with the Cygwin library and socket communication.

You could test this by running an X client from another machine and 
comparing NT and Win98 performance.

  - Ian

-- 
[EMAIL PROTECTED]
http://www.znark.com/




FW: Problem: extreme speed difference NT4 Win98SE runing Xfree

2002-04-16 Thread Harold Hunt

Uwe forgot to cc the mailing list in his response.

Harold

-Original Message-
From: Uwe Schmidtmann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 8:54 AM
To: Harold Hunt
Subject: Re: Problem: extreme speed difference NT4  Win98SE runing
Xfree


Hello.

Thanks for the extremely fast answer - it was about what I feared to
hear. It would have been more pleasant to hear about a configuration
trap I stumbled into - so it depends on how to define it helps.

My problem is, that I try to develop a CCD Camera for astronomical
purposes (not really CCD for the moment as I want to try a CMOS imaging
sensor). The control software is running under X11 (a very early version
can be found on my homepage http://www.brunsteinobs.de.vu/, an update
about the project will be done after a short introduction on a meeting
in Mai), but the hardware programming environment uses Windows - so I
was hoping to use cygwin and X11 to run my control application and nedit
  to test changes in the hardware.

Here at work I use the system to monitor and configure our server and
gateway...


Anyway: is there any cheap workaround with free or at least cheap server
software apart from MiX? Xwin32 runs extremely well but is much to
expensive for being used only once a week as a private person?

Apart from that: All programmers supporting the cygwin project did a
great job. The whole system is getting better and better...

I do not much about X-Server internals or Windows internals - but if you
need a guinnea pig (hope the spelling is right, I just mean someone to
be willing to crash his system - after backing it up) to run some tests,
feel free to contact me.

Regards,

Uwe

Harold Hunt wrote:

 Uwe,

 Yes, the performance difference is known and expected.  Some of the
 difference is due to optimizations in Cygwin that cannot be used on
Windows
 95/98/Me and some of the difference is due to the speed of the graphics
 libraries in Windows 95/98/Me vs. Windows NT/2000.  MI/X doesn't run into
 the graphics speed differences because they use GDI drawing functions
which
 can be significantly accelerated by the graphics card and driver, whereas
 Cygwin/XFree86 primarily uses large bit block transfers which appear to
just
 be slower on Windows 95/98/Me.

 We have been working on a version of Cygwin/XFree86 that uses GDI drawing
 functions directly, but the work is nowhere near complete or even usable.
 The development of that server can be followed at:
 http://sourceforge.net/projects/xoncygwin

 Hope that helps,

 Harold









Re: FW: Problem: extreme speed difference NT4 Win98SE runing Xfree

2002-04-16 Thread Andrew Markebo

A hint, give vnc a try when connecting from your home-pc, can do quite
good transfer :-)

What link is used BTW when working from home? (could it be something
like MI/X running 8bit, while cygwin runs 16bit or more)

/Andy

| 
| -Original Message-
| From: Uwe Schmidtmann [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, April 16, 2002 8:54 AM
| To: Harold Hunt
| Subject: Re: Problem: extreme speed difference NT4  Win98SE runing
| Xfree
| 
| 
| Hello.
| 
| Thanks for the extremely fast answer - it was about what I feared to
| hear. It would have been more pleasant to hear about a configuration
| trap I stumbled into - so it depends on how to define it helps.

[...]

-- 
 The eye of the beholder rests on the beauty!



FW: problem with keyobord on AIX

2002-02-12 Thread Harold Hunt

Pavel forgot to cc the list.

Harold

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 1:28 AM
To: Harold Hunt
Subject: RE: problem with keyobord on AIX





 Pavel,

 I still have no idea what is going on.  Is your AIX machine configured to
 expect the Czech keyboard layout?  Or, does your AIX machine expect a US
 keyboard layout?

I don't know which layout it expects, if any. But I use several AIX
machines.
When I logon on console, some of them have Czech layout and some of them
have
US layout. But from cygwin the behaviour is the same
- US layout with -kb parameter
- US layout without -kb parameter and NumLock off
- Czech-with-AltGr layout without -kb and NumLock on

 In fact, I barely understand how the various keyboard layout systems
work...
 nor do I have time to learn the intricacies of them.

 I don't think I'll have any time within the next year to learn keyboard
 layouts, so you'd better just work on it yourself if you want any changes
 made.

May be...

 Sorry, but I am incredibly busy now because I am in my last semester of
 college.

OK, I remember this from my school :-)

Pavel