how to have french keyboard ?

2007-05-07 Thread Didier BRETIN

Hi,

I'm searching how I can change my keyboard when I launch cygwin.bat to 
have french keyboard. I searched in the mailing list, but I found nothing.


Can you help me with this ?

Regards.
--
Didier BRETIN
http://www.bretin.net/


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



question::OpenSSH for Windows v3.8.1p1-1:

2007-05-07 Thread Chris . Christodoulou
Hi All

I'm hoping you can help with this problem I've been struggling with here.

We have installed OpenSSH for Windows v3.8.1p1-1:  on our Windows 2000
server.  I've created a local windows user and made the necessary addition
to the 'passwd' file.

Once I logon using an sftp client my default folder is correctly the folder
specified in the 'passwd' file.  From command line if I try to perform a
'cd ..'   it correctly prevents me from going back a folder.  However from
command line if I type 'cd /'  it takes me to the root folder of the
openssh application.  I understand that this is specified in the registry
and the '/' key is used when starting up the openssh instance.

My problem is that I want to prevent users from entering '/'  because this
takes them to this folder and allows them to navigate and view/edit passwd
file.  I cannot set the permisions on this folder to deny the user access
because it will also prevent the user from logging on.

Do you have any suggestions on how to prevent users from gaining access to
this folder?


Regards

Chris

Nicosia, Cyprus


TSYS Card Tech Confidentiality Note: This message may contain confidential
and legally privileged information and is intended for the named person or
entity to which it is addressed. Any use of this information by persons or
entities other than the intended recipient is prohibited.  If you receive
this in error please immediately delete it from your system, and notify the
sender.   Although TSYS Card Tech operates anti-virus programmes, it does
not accept responsibility for any loss or damage arising from the use of
this message. TSYS Card Tech strongly recommends that security sensitive
cardholder information  not be sent in "the clear" by e-mail,.  All such
e-mails will be deleted by the recipient. The contents of this message may
contain personal views, which are not the views of TSYS Card Tech unless
specifically stated.


--
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: Successful build of GCC 4.2.0 RC3 on latest Cygwin snapshot 20070427

2007-05-07 Thread Aaron W. LaFramboise

Charles Wilson wrote:

Danger, Will Robinson: the g++ from gcc-4.2.0 does not have any support 
for catching exceptions thrown across DLL boundaries.  Nor does it 
include the fix for empty strings (PR24196).


One issue that might affect many some is that COM doesn't work. 
 has a patch that is 
pending review I guess, but probably won't go into 4.2.


--
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: question::OpenSSH for Windows v3.8.1p1-1:

2007-05-07 Thread Thorsten Kampe
*  (Mon, 7 May 2007 10:37:19 +0300)
> I'm hoping you can help with this problem I've been struggling with here.
> 
> We have installed OpenSSH for Windows v3.8.1p1-1:  on our Windows 2000
> server.

This is ancient. Upgrade or uninstall.


--
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: popen problems

2007-05-07 Thread Jason Tishler
On Fri, May 04, 2007 at 02:57:44PM -0600, Eric Blake wrote:
> According to Dan Armbrust on 5/4/2007 2:49 PM:
> > $ getfacl /bin/sh.exe
> > # file: /bin/sh.exe
> > # owner: mn04swbuild-svc
> > # group: Users
> > user::rwx
> > group::rwx
> > group:SYSTEM:rwx
> > group:Administrators:rwx
> > mask:rwx
> > other:rwx
> 
> Odd - no indication of restricted permissions for a non-owner.  Or
> maybe it was just a failure of the bash postinstall script to properly
> update /bin/sh.exe,

I'm not sure if the following is related...

I recently upgraded an old Cygwin installation from the 1.5.18 time
frame to the latest and /etc/postinstall/00bash.sh hung.  I waited a
while and then canceled setup.exe.  After the upgrade, for some reason I
was unable to start bash.  However, other shells would start.  I was
able the "fix" the problem by manually copying /bin/bash.exe to
/bin/sh.exe.  BTW, this is what 00bash.sh was supposed to do, but was
unsuccessful.

> perhaps because you had cygwin processes still running when you
> originally ran setup.exe.

In my case, I verified that all Cygwin process had been stopped.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Error opening script file

2007-05-07 Thread Ronald Fischer
I have installed the script language JRuby, which comes with two
executables: A binary jruby, and a 
shell script jirb (for interactive purpose). I can call jruby, but I get
an error message when calling
jirb:

~/ruby_test $ ls -l $JRUBY_HOME/bin/jirb
-rwxr-xr-x 1 rfischer mkgroup-l-d 323 Apr 23 23:30
/cygdrive/h/jruby-0.9.9/bin/jirb
~/ruby_test $ !$
$JRUBY_HOME/bin/jirb
Error opening script file: \cygdrive\h\jruby-0.9.9\bin\jirb (Das System
kann den angegebenen Pfad nicht finden)
~/ruby_test $ head -n 1 !$
head -n 1 $JRUBY_HOME/bin/jirb
#!/usr/bin/env jruby

From this dialogue, you can see that jirb has the correct x-permissions,
but still the script
file can't be opened. My guess is that bash can't load the correct
interpreter file, so that's why
I also have listed above the first line of the jirb script - but it
seems that this is looking fine.
Any ideas what is going wrong?

(BTW, the German language error message above translates to: "The system
can't find the specified path".
If someone happens to know how to convince Cygwin to use English error
messages only, please let me
know too (I thought this would depend on the settings of the LANG
environment variable, but setting
it to "en" doesn't seem to have any effect.)

Ronald

-- 
Ronald Fischer <[EMAIL PROTECTED]>
Phone: +49-89-452133-162
 

--
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: xemacs -nw problem

2007-05-07 Thread Dr. Volker Zell
> Andrew Walrond writes:

> Hello list
> First off; I've been using cygwin for years, on and off, but this is the 
first 
> time I have joined the ML, so I just like to say _fantastic_work_guys_ to 
all 
> involved.

> A minor problem (possible bug): If I try to run xemacs in the cygwin 
terminal,  
> without an X window, via the -nw option, its behaviour is a little stange:

> Ctrl-x ctrl-c does not exit, merely prints "Quit" on the bottom 
(command?) 
> line.

Works for me.

> Ctrl-g, which normally aborts the current key sequence or command, causes 
> xemacs to exit (crash?) immediately.

Works for me.

> Andrew Walrond

Ciao
  Volker


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



Re: Successful build of GCC 4.2.0 RC3 on latest Cygwin snapshot 20070427

2007-05-07 Thread Aaron Gray

Hi Aaron,

One issue that might affect many some is that COM doesn't work. 
 has a patch that is 
pending review I guess, but probably won't go into 4.2.


Its not a very big patch, shame it cannot be reviewed in time.

Does this effect XPCOM meaning Mozilla and friends will not compile ?

Aaron


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



Access of files using absolute path (was: Error opening script file)

2007-05-07 Thread Ronald Fischer
Aside from the problem described in my original posting (see the quote
at the end of this
message), I found a related problem, which has nothing to do with the
execution of a script,
but which seems to suggest that I have a general problem in opening
files by specifying absolute
pathes. Here an example:

I did a cd to drive C:

  $ pwd
  /cygdrive/c

and I also have the following jar file:

  $ ls -l $PWD/jakarta-jmeter-2.2/bin/*jar
  -rwxrwxrwx+ 1 rfischer  9962 Jun 13  2006
/cygdrive/c/jakarta-jmeter-2.2/bin/ApacheJMeter.jar

I can list the content of the jar file using RELATIVE path:

  /cygdrive/c $ jar tf jakarta-jmeter-2.2/bin/*jar
  META-INF/
  META-INF/MANIFEST.MF
  org/
  org/apache/
  org/apache/jmeter/
  org/apache/jmeter/DynamicClassLoader.class
  org/apache/jmeter/NewDriver$1.class
  org/apache/jmeter/NewDriver.class
  META-INF/LICENSE
  META-INF/NOTICE

But I can NOT list its contents using absolute path:

  $ jar tf $PWD/jakarta-jmeter-2.2/bin/*jar
  java.io.FileNotFoundException:
\cygdrive\c\jakarta-jmeter-2.2\bin\ApacheJMeter.jar 
  (Das System kann den angegebenen Pfad nicht finden)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at sun.tools.jar.Main.run(Main.java:205)
at sun.tools.jar.Main.main(Main.java:1022)

Interestingly, I *can* open the file using, for example, od -x:

$ od -x $PWD/jakarta-jmeter-2.2/bin/*jar| head -n 2
000 4b50 0403 000a   a84a 34cd 
020      0009 0004 454d

So on this level, it seems that od and jar use different means to "open"
a file.

Now to quote my original problem, posted earlier:

> -Original Message-
> From: [EMAIL PROTECTED] 
> Sent: Monday, May 07, 2007 3:29 PM
> To: cygwin@cygwin.com
> Subject: Error opening script file
> 
> I have installed the script language JRuby, which comes with two
> executables: A binary jruby, and a 
> shell script jirb (for interactive purpose). I can call 
> jruby, but I get
> an error message when calling
> jirb:
> 
> ~/ruby_test $ ls -l $JRUBY_HOME/bin/jirb
> -rwxr-xr-x 1 rfischer mkgroup-l-d 323 Apr 23 23:30
> /cygdrive/h/jruby-0.9.9/bin/jirb
> ~/ruby_test $ !$
> $JRUBY_HOME/bin/jirb
> Error opening script file: \cygdrive\h\jruby-0.9.9\bin\jirb 
> (Das System
> kann den angegebenen Pfad nicht finden)
> ~/ruby_test $ head -n 1 !$
> head -n 1 $JRUBY_HOME/bin/jirb
> #!/usr/bin/env jruby
> 
> From this dialogue, you can see that jirb has the correct 
> x-permissions,
> but still the script
> file can't be opened. My guess is that bash can't load the correct
> interpreter file, so that's why
> I also have listed above the first line of the jirb script - but it
> seems that this is looking fine.

What is interesting here is that I *can* access jirb by absolute path
using
programs such as less or head:

  $ head -n 5 $JRUBY_HOME/bin/jirb
  #!/usr/bin/env jruby
  #
  #   irb.rb - intaractive ruby
  #   $Release Version: 0.7.3 $
  #   $Revision$

but I can not execute it using the jruby interpreter - neither
implicitly,
as shown above, nor explicitly:

  $ jruby $JRUBY_HOME/bin/jirb
  Error opening script file: \cygdrive\h\jruby-0.9.9\bin\jirb (Das
System kann 
  den angegebenen Pfad nicht finden)

But this *is* possible using relative pathes:

  $ cd $JRUBY_HOME
  $ jruby bin/jirb
  irb(main):001:0> 

I experimented around with other applications. So far, I found that jar
and jruby 
have the problem that they can't open a file if it is listed absolutely
(/cygdrive/...), 
while for example ruby or zsh do not show this problem. So I first
thought that maybe
those applications have not been written with cygwin in mind - but then,
they would
have failed even with relative files - won't they?

What is going on here?

Ronald
-- 
Ronald Fischer <[EMAIL PROTECTED]>
Phone: +49-89-452133-162
 

--
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: Access of files using absolute path (was: Error opening script file)

2007-05-07 Thread Thorsten Kampe
* Ronald Fischer (Mon, 7 May 2007 17:31:27 +0200)
> I experimented around with other applications. So far, I found that jar
> and jruby 
> have the problem that they can't open a file if it is listed absolutely
> (/cygdrive/...), 
> while for example ruby or zsh do not show this problem. So I first
> thought that maybe
> those applications have not been written with cygwin in mind - but then,
> they would
> have failed even with relative files - won't they?

Jruby and java are not Cygwin applications so they won't understand 
Cygwin paths (/cygdrive/) even if they can use \ and / as path 
delimiters.


--
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: Problem running Cygwin Apache2 as Windows XP service

2007-05-07 Thread William Sutton

> > - vhost in /srv
> > - mounting cgi-bin off a Samba export from a Linux box
> 
>   Do you have CYGWIN=smbntsec?
> 

I don't believe so:

  $ env |grep CYGWIN
  CYGWIN=server

Would it be beneficial for me to do so?

> >   cygrunsrv -I apache -d "CYGWIN apache" -p /usr/sbin/apachectl2 -a "start"
> >   (user set as the local 'William Sutton' user)
> 
>   Maybe the -i flag would help it behave more like it does from the
> commandline.

-i on what?  I don't see that option from either cygrunsrv --help or man 
apachectl2.

> 
> 
> cheers,
>   DaveK
> 

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



Cygwin, Vista, and rcmd

2007-05-07 Thread cygwin
I've been watching the groups, Google, and so forth with little luck to 
resolving the issue seen by myself and a few other people:


$ rlogin [EMAIL PROTECTED]
   9617 [main] rlogin 5392 e:\cygwin\bin\rlogin.exe: *** fatal error - 
couldn't dynamically determine load address for 'rcmd' (handle 
0x75E7), Win32 error 127

Hangup

So I finally did some research myself. I don't have a solution, but i have 
another name for the problem!


Error code 127 is the 'procedure not found' code in Win32. I searched 
through the code and the DLLs involved, and found that ultimately, rlogin 
is looking for 'rcmd' in mswsock.dll (linked through wsock32.dll). The 
'rcmd' export is clearly available in Windows 2000 and Windows XP (the two 
other versions I checked), and conspicuously absent in Vista. (Checked 
with depends.exe).


The only thing I could find on the development list was a note from July 
by Corinna Vinschen that there was work in progress towards replacing 
the winsock calls -- looks like we're going to need that for Vista.


I'm not looking for support, just sharing the results of my research in 
hopes of making the problem less mysterious. I guess not many people use 
this functionality (but I use it daily in my work! ;) )



--
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: [ANNOUNCEMENT] clisp-2.41-2 released

2007-05-07 Thread Matthew Woehlke

Aaron Brown wrote:

Dave Korn wrote:

You may be doing something wrong:  all those mirrors are
up-to-date, and according to the timestamps have been
since a couple of days after the release


Indeed I was.  I use a dialup connection and, to minimize
the time spent downloading, I select the "Keep" radio button
on the "Select Packages" screen.


RTFM, or in this case, RTFTT (TT= tooltip) :-). "keep" means "do not 
make any changes", so...



Is there an easy way to use setup.exe to install CLISP
2.41-2 (or any other desired package) without having to
manually uncheck all the things I don't want?


...the answer to your question is to first pick 'keep' and then manually 
make any changes to things you do want to install/upgrade.


--
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.

init: What truth?
child: There is no .sig.


--
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: Cygwin, Vista, and rcmd

2007-05-07 Thread Christopher Faylor
On Mon, May 07, 2007 at 11:41:28AM -0700, [EMAIL PROTECTED] wrote:
>I've been watching the groups, Google, and so forth with little luck to 
>resolving the issue seen by myself and a few other people:
>
>$ rlogin [EMAIL PROTECTED]
>   9617 [main] rlogin 5392 e:\cygwin\bin\rlogin.exe: *** fatal error - 
>couldn't dynamically determine load address for 'rcmd' (handle 
>0x75E7), Win32 error 127
>Hangup
>
>So I finally did some research myself. I don't have a solution, but i have 
>another name for the problem!
>
>Error code 127 is the 'procedure not found' code in Win32. I searched 
>through the code and the DLLs involved, and found that ultimately, rlogin 
>is looking for 'rcmd' in mswsock.dll (linked through wsock32.dll). The 
>'rcmd' export is clearly available in Windows 2000 and Windows XP (the two 
>other versions I checked), and conspicuously absent in Vista. (Checked 
>with depends.exe).
>
>The only thing I could find on the development list was a note from July 
>by Corinna Vinschen that there was work in progress towards replacing 
>the winsock calls -- looks like we're going to need that for Vista.

Have you tried a snapshot?  http://cygwin.com/snapshots/

cgf

--
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: [ANNOUNCEMENT] clisp-2.41-2 released

2007-05-07 Thread Aaron Brown

Matthew Woehlke wrote:


...the answer to your question is to first pick 'keep' and
then manually make any changes to things you do want to
install/upgrade.


That's what I've been doing.  When I leave "Keep" selected,
clicking on CLISP's entry in the "New" column cycles between
"Keep" (my current version is 2.39-2), "2.41-1", and
"Uninstall", whereas when I select "Curr", it cycles through
-- wait a minute -- the same three things!  When I did this
yesterday, the cycling on "Curr" (but not that on "Keep")
included the version I want (2.41-2), but now neither do.

cygcheck -s -v -r output is attached.  Is there anything I
can try to debug this?

--
Aaron
http://arundelo.com


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: [ANNOUNCEMENT] clisp-2.41-2 released

2007-05-07 Thread Matthew Woehlke

Aaron Brown wrote:

Matthew Woehlke wrote:

...the answer to your question is to first pick 'keep' and
then manually make any changes to things you do want to
install/upgrade.


That's what I've been doing.  When I leave "Keep" selected,
clicking on CLISP's entry in the "New" column cycles between
"Keep" (my current version is 2.39-2), "2.41-1", and
"Uninstall", whereas when I select "Curr", it cycles through
-- wait a minute -- the same three things!  When I did this
yesterday, the cycling on "Curr" (but not that on "Keep")
included the version I want (2.41-2), but now neither do.


Hmm, ok, I was misunderstanding the problem then. You are getting a new 
package list, right? (I.e. you are not trying to install locally?)



cygcheck -s -v -r output is attached.  Is there anything I
can try to debug this?


I want to say a setup log is more helpful but I'm not sure if it makes a 
new one each time or not. Time for one of the setup.exe gurus to step in...


--
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.

init: What truth?
child: There is no .sig.


--
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: [ANNOUNCEMENT] clisp-2.41-2 released

2007-05-07 Thread Brian Dessent
Matthew Woehlke wrote:

> Hmm, ok, I was misunderstanding the problem then. You are getting a new
> package list, right? (I.e. you are not trying to install locally?)
> 
> > cygcheck -s -v -r output is attached.  Is there anything I
> > can try to debug this?
> 
> I want to say a setup log is more helpful but I'm not sure if it makes a
> new one each time or not. Time for one of the setup.exe gurus to step in...

Pretty much the standard advice: try the latest
, look over the setup.log.full, etc.

Brian

--
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: [ANNOUNCEMENT] clisp-2.41-2 released

2007-05-07 Thread Aaron Brown

Matthew Woehlke wrote:


Hmm, ok, I was misunderstanding the problem then. You are
getting a new package list, right? (I.e. you are not
trying to install locally?)


Correct.

It's actually a bit different than the descriptions I gave
in my last couple messages:

If I leaved "Curr" selected, the cycle is:

 2.41-2 --> Keep --> 2.41-1 --> Uninstall --+
 ^  |
 +--+

That is, it starts on 2.41-2, but never goes back to that
version.

If I select "Keep", the cycle is the same but (of course)
starts on "Keep" so I can't get back to 2.41-2.

I have a suspicion that installing 2.41-1 and only then
trying to install 2.41-2 would solve this problem, but I'll
put that off a bit in case anyone wants me to try anything
else.

--
Aaron
http://arundelo.com


--
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: [ANNOUNCEMENT] clisp-2.41-2 released

2007-05-07 Thread Matthew Woehlke

Aaron Brown wrote:

Matthew Woehlke wrote:

Hmm, ok, I was misunderstanding the problem then. You are
getting a new package list, right? (I.e. you are not
trying to install locally?)


Correct.

It's actually a bit different than the descriptions I gave
in my last couple messages:

If I leaved "Curr" selected, the cycle is:

 2.41-2 --> Keep --> 2.41-1 --> Uninstall --+
 ^  |
 +--+

That is, it starts on 2.41-2, but never goes back to that
version.


Hmm, that /is/ odd. In fact, it sounds like it might be a weird setup 
bug i.e. an installed version that is no longer available messes up the 
cycle. I would definitely try a setup snapshot and checking the log as 
per Brian's advice (although I'm not sure if the log will help since 
setup does seem to know about the new version). If you're feeling 
adventurous you could download the setup source code and have a look 
around. :-)


Meanwhile I would guess that installing the 'prev' version first would work.

--
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.

init: What truth?
child: There is no .sig.


--
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: xemacs -nw problem

2007-05-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Dr. Volker Zell on 5/7/2007 8:43 AM:
>> Andrew Walrond writes:
> 
> > A minor problem (possible bug): If I try to run xemacs in the cygwin 
> terminal,  
> > without an X window, via the -nw option, its behaviour is a little 
> stange:
> 
> > Ctrl-x ctrl-c does not exit, merely prints "Quit" on the bottom 
> (command?) 
> > line.
> 
> Works for me.

Could it be a matter of your terminal settings?  If you use cmd.com
(instead of rxvt or bash), and have CYGWIN=notty (default) instead of
CYGWIN=tty, then ctrl-c is not captured properly by xemacs, making key
sequences such as ctrl-x ctrl-c impossible to type.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGP+jE84KuGfSFAYARAjTyAJ9Q0ZCu1ifnj+x55ufQ0KYaN5oaSACfQMfa
h4Ol81rncHh20I4B+7udJvs=
=CtIm
-END PGP SIGNATURE-

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



installing libncurses.a etc

2007-05-07 Thread Brian Salter-Duke
I have just installed cygwin on a new laptop, so it is a very recent
version. I want to try to compile an application that needs ncurses.
However, configure can not find ncurses, and indeed libcurses.a and its
friends are not in /usr/lib. I tried reinstalling. An old message
suggested installing ncurses first and then libncurses and terminfo. The
result is the same. There is nothing from ncurses in /usr/lib, but
/usr/bin has:-

$ ls *ncurse*
cygncurses++-8.dll*  cygncurses++6.dll*  cygncurses5.dll* cygncurses7.dll*
cygncurses++5.dll*   cygncurses-8.dll*   cygncurses6.dll* ncurses8-config*

This was exactly the situation after the first install.

I can find nothing in the archives and indeed most messages about
ncurses are quite old and I expect things have changed. 

I am probably missing something obvious, but I can not see it. I have
used cygwin for ages but have never needed ncurses before. Can anyone
offer a clue.

Regards, Brian.
-- 
   Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] 
   Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia
 Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm
Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ.


--
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: installing libncurses.a etc

2007-05-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Brian Salter-Duke on 5/7/2007 9:58 PM:
> I have just installed cygwin on a new laptop, so it is a very recent
> version. I want to try to compile an application that needs ncurses.
> However, configure can not find ncurses, and indeed libcurses.a and its
> friends are not in /usr/lib.

Not everything gets installed by default.
http://cygwin.com/faq/faq-nochunks.html#faq.setup.what-packages

Trying this:
  $ cygcheck -p libncurses.a
shows that you need to install:
  libncurses-devel

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGP/dI84KuGfSFAYARAvTQAKC/X3N88QrQZnYWO7WbinpKdHRFzwCeJaun
jpijSdp5qVod/8j+D6qeuQM=
=YPEL
-END PGP SIGNATURE-

--
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: installing libncurses.a etc

2007-05-07 Thread Brian Salter-Duke
On Mon, May 07, 2007 at 10:06:32PM -0600, Eric Blake wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> According to Brian Salter-Duke on 5/7/2007 9:58 PM:
> > I have just installed cygwin on a new laptop, so it is a very recent
> > version. I want to try to compile an application that needs ncurses.
> > However, configure can not find ncurses, and indeed libcurses.a and its
> > friends are not in /usr/lib.
> 
> Not everything gets installed by default.
> http://cygwin.com/faq/faq-nochunks.html#faq.setup.what-packages
> 
> Trying this:
>   $ cygcheck -p libncurses.a
> shows that you need to install:
>   libncurses-devel

Many thanks. I should have known and just downloaded everything with
'ncurses' in the name. That has put the stuff in /usr/lib.

Regards, Brian.
 
> - --
> Don't work too hard, make some time for fun as well!
> 
> Eric Blake [EMAIL PROTECTED]
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGP/dI84KuGfSFAYARAvTQAKC/X3N88QrQZnYWO7WbinpKdHRFzwCeJaun
> jpijSdp5qVod/8j+D6qeuQM=
> =YPEL
> -END PGP SIGNATURE-

-- 
   Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] 
   Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia
 Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm
Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ.


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