Re: Cygwin Here power toy

2002-10-20 Thread Sven Köhler
REGEDIT4
[...]
[HKEY_CLASSES_ROOT\Directory\shell\CygwinHere\command]
@="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash 
-rcfile ~/.bashrc\""

can you think of any better way to start bash?
the above creates two bash.exe in memory:
one executing /etc/profile and the cd-command
and one showing the prompt.

bash --login -c "command"
exits after executing the command.
is there any bash-internal command, that let's you show a prompt after 
the command is executed? or any switch that forces bash to not exit?




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



help on error when starting xWin

2002-10-20 Thread Pan
When I start xWindows in my laptop computer, this is the error message.

c:\cygwin\usr\x11r6\bin\XWin.exe: *** Couldn't reserve space for
cygwin's heap (0x289) in child
, cygheap, Win32 error 487
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X
server
xinit:  No such process (errno 3):  Server error.

but I did this quite well in another computer with the same
configuration, the only difference is that computer has 512M memory and
my laptop has 256M memory.

Is the xWindows very memory-consuming when starting?

Thanks.



--
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: Cygwin Here power toy

2002-10-20 Thread Andrew Ellerton
>> @="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile 
>~/.bashrc\""
>
>can you think of any better way to start bash?
>the above creates two bash.exe in memory:
>one executing /etc/profile and the cd-command
>and one showing the prompt.

The first shell executes a single line of shell commands, namely to change directory 
and run another shell.
The second shell runs as the "normal" interactive shell. 
Net effect - looks like the shell has started in a different directory. Admittedly a 
bit hacky, having two shells running for no good reason, but 
it does the job. I'm not sure if shells are very expensive in terms of memory. If not, 
then its a bit kludgey, but otherwise its ok.


>bash --login -c "command"
>exits after executing the command.
>is there any bash-internal command, that let's you show a prompt after 
>the command is executed? or any switch that forces bash to not exit?

There's bound to be... anyone got any idea?
I saw another posting to the list where the cd gets written to a file then the login 
script looks for the file and changes to that dir... that's an 
option.

Andrew




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




[ANNOUNCEMENT] Updated: expat-1.95.5-1

2002-10-20 Thread Gerrit P. Haase
expat-1.95.5-1 has been uploaded to the Cygwin net distribution.

Expat is an XML parser library written in C.

It is a stream-oriented parser in which an application registers 
handlers for things the parser might find in the XML document 
(like start tags). 


CHANGES (since expat-1.95.4-1):

- Added XML_UseForeignDTD() for improved SAX2 support.
- Added XML_GetFeatureList().
- Defined XML_Bool type and the values XML_TRUE and XML_FALSE.
- Use an incomplete struct instead of a void* for the parser.
- Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected.
- Finally fixed bug where default handler would report DTD events
  that were already handled by another handler. Initial patch
  contributed by Darryl Miles.
- Removed unnecessary DllMain() function that caused static
  linking into a DLL to be difficult.
- Added VC++ projects for building static libraries.
- Reduced line-length for all source code and headers to be no
  longer than 80 characters, to help with AS/400 support.
- Reduced memory copying during parsing (SF patch #600964).
- Fixed a variety of bugs: see SF issues 580793, 434664, 483514,
  580503, 581069, 584041, 584183, 584832, 585537, 596555, 596678,
  598352, 598944, 599715, 600479, 600971


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `expat' from the `Libs' category.

Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is updated fast.

In Denmark, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date,
packages are in the 'release' directory.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.

For a brief descripton of what this package is and what it contains,
see http://cygwin.com/packages/ .


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]
  

Ciao,

Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/


--
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: Cygwin Here power toy

2002-10-20 Thread Andrew Ellerton
Hi Gerrit

Many thanks for your response.

I didn't know about the CygwinPromptHere - I'd done a search before doing my 
quick-and-dirty solution but I didn't find anything. Thanks for 
letting me know about that.

I had been concerned about the lack of configurability of the tool, but thought for 
the time being it was probably enough for some users. I'll 
put a note up on the site about the lack of configurability.

There are quite a few options that come to mind, e.g. csh/bash/tcsh, rxvt/cmd, C: or 
other drives, etc.

Do you think that if it had a GUI for picking these options that it would be useful, 
or would you think most people would prefer/be happy 
with a command line version?

Any comments appreciated
Andrew

>The problem for me is that I cannot choose the PATH
>when using the installer, my bash.exe is in H:\bin and not
>in C:\cygwin\bin.  I can edit the .reg file though and
>don't use the installer (and have no uninstall).  To make
>use of it I still need to edit the registry :-(
>
>The version I use includes an installer and an uninstall.
>Well, you start it from a bash command line and the
>install script asks some questions, but the paths are
>ok and you may uninstall it using the control panels
>add/remove software tool.
>
>Have you tried it?
>http://koeln.convey.de/cywgin/CygwinPromptHere/
>
>Also I would like to choose which terminal to use,
>I prefer rxvt instead of cmd.
>
>
>Gerrit
>-- 
>=^..^=




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




Problems with most recent snapshot

2002-10-20 Thread Christopher Faylor
I've noticed a strange hanging problem with the most recent 2002-10-19
and 2002-10-20 snapshots.

Since I've been exhorting people to use snapshots, I thought I should
let everyone know.  I'll post another message when I've figured out
what's going on.

This is, of course, the standard hang where I can't use gdb (or even
MSVC) to debug the problem because it hangs.
--
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: vs and use of diff

2002-10-20 Thread Christopher Faylor
On Sun, Oct 20, 2002 at 06:39:23AM -0400, CBFalconer wrote:
>Peter S Tillier wrote:
>> [...]
>> > BTW attacking this has shown up a couple of Cygwin glitches. 
>> > bash won't run a MSDOS .com file, even though it is in the path.
>> 
>> You need to include the extensions for .com or .bat files to get
>> them to run under bash - .exe is OK.  See the User Guide section
>> on Special Names.
>
>Thanks.  I discovered that on re-reading the UG yesterday.  What
>is the philosophy of that decision?

Same philosophy as always.  We're very consistent.

cgf

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




Problem with stat.st_blksize

2002-10-20 Thread Guillaume Melquiond
Hi,

Some times ago, when I used the command 'du' to get the size of a directory,
I got a value that was in accordance with the value given by Windows.
However, it isn't the case anymore now; 'du' returns a size less than the
files space usage.

So I had a glance to the source code and I saw that the field 'st_blksize'
from the system call 'stat' was initialized with 'S_BLKSIZE' (which is a
macro set to 1024). But my filesystem uses 4096 bytes blocks. I looked at
the winsup cvs to see why it worked before; but unless I did a mistake, it
seems 'S_BLKSIZE' has always been here.

Why is this field not set to a proper value? One moment, I thought Windows
was returning a wrong value. But I tried with 'statfs' and the value was
correct. So maybe 'st_blksize' should be computed the same way than
'f_bsize'.

Regards,

Guillaume

PS: Since I'm not suscribed to this mailing-list, please cc me if you expect
an answer that cleanly inserts in a thread. Otherwise, I will follow the
discussion through the archive.

PPS: Here is an exemple to show the behavior difference between 'stat' and
'statfs'.

$ cat test.c
#include 
#include 
#include 
#include 

int main(int argc, char *argv[]) {
  struct stat buf1;
  struct statfs buf2;
  stat(argv[1], &buf1);
  statfs(argv[1],&buf2);
  printf("st_blksize:\t%d\nf_bsize:\t%d\n", buf1.st_blksize, buf2.f_bsize);
  return 0;
}

$ gcc test.c -o test

$ ./test test.c
st_blksize: 1024
f_bsize:4096

--
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: Cygwin Here power toy

2002-10-20 Thread Gerrit P. Haase
Hallo Andrew,

Am Samstag, 19. Oktober 2002 um 12:50 schriebst du:

> Hi All

> I've noted on the lists in May this year discussion about
> adding a Cygwin version of the "DosHere" power toy, and
> there's also a "BashHere" version which is good.

> I've done a simple version available in either a simple
> .reg file (for those happy to edit the registry to uninstall)
> and an executable installer for those who want to have an
> uninstall option. The reg version is tiny to download;
> the setup.exe one is 250k.

> Info is at: http://www.mic.com.au/software/free/CygwinHere/

> Its pretty simple at present, and any comments (or criticisms ;)
> are welcome

REGEDIT4
[...]
[HKEY_CLASSES_ROOT\Directory\shell\CygwinHere\command]
@="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\""

The problem for me is that I cannot choose the PATH
when using the installer, my bash.exe is in H:\bin and not
in C:\cygwin\bin.  I can edit the .reg file though and
don't use the installer (and have no uninstall).  To make
use of it I still need to edit the registry :-(

The version I use includes an installer and an uninstall.
Well, you start it from a bash command line and the
install script asks some questions, but the paths are
ok and you may uninstall it using the control panels
add/remove software tool.

Have you tried it?
http://koeln.convey.de/cywgin/CygwinPromptHere/

Also I would like to choose which terminal to use,
I prefer rxvt instead of cmd.


Gerrit
-- 
=^..^=


--
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" 2>&1' 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: Cygwin Here power toy

2002-10-20 Thread Randall R Schulz
Andrew,

At 06:58 2002-10-20, Andrew Ellerton wrote:

>> @="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash 
-rcfile ~/.bashrc\""
>
>can you think of any better way to start bash?
>the above creates two bash.exe in memory:
>one executing /etc/profile and the cd-command
>and one showing the prompt.

The first shell executes a single line of shell commands, namely to change 
directory and run another shell. The second shell runs as the "normal" 
interactive shell. Net effect - looks like the shell has started in a 
different directory. Admittedly a bit hacky, having two shells running for 
no good reason, but it does the job. I'm not sure if shells are very 
expensive in terms of memory. If not, then its a bit kludgey, but 
otherwise its ok.

There are not (ever) two shells running as a result of invoking this 
command string. The second one overlays the first in the same process. 
That's what the "exec" built-in of the shells does.

Note that the directory name expanded as "~" is $HOME. If $HOME is not set, 
"~" expands to the empty string. The "~userName" syntax consults the 
password file, so it still works even in the absence of a $HOME variable.


>bash --login -c "command"
>exits after executing the command.
>is there any bash-internal command, that let's you show a prompt after
>the command is executed? or any switch that forces bash to not exit?

There's bound to be... anyone got any idea? I saw another posting to the 
list where the cd gets written to a file then the login script looks for 
the file and changes to that dir... that's an option.

Avail yourself of environment variables.



Andrew



Randall Schulz
Mountain View, CA USA


--
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: cvs executes illegal instructions

2002-10-20 Thread Steve Kelem
CVSEDITOR is not set.
EDITOR is set to "vi".
which vi reports:
/usr/bin/vi
and invoking "vi" works.

Steve

Igor Pechtchanski wrote:


Steve,

When a 'cvs commit' is invoked without the -m option, an editor is started
to create the message.  Which editor is started is determined (in order of
priority) by the -e flag, the CVSEDITOR environment variable, the VISUAL
environment variable, and the EDITOR environment variable.  Please check
what the values of these varaibles are (if they are set).  In case none of
these variables are set, cvs invokes the system default editor (i.e.
'vi').  Please see whether you have a non-cygwin vi in your path (by
running 'which vi' or 'bash -c "type -a vi"').
	Igor

On Wed, 18 Sep 2002, Steve Kelem wrote:

 

I'm running cvs 1.11 on Windows 2000, and the latest cygwin inside tcsh
6.11.00.
If I run "cvs commit" from tcsh, it runs a bit, and then brings up a popup:

16 bit MS-DOS Subsystem
The NTVDM CPU has encountered an illegal instruction.
CS:00cf IP:0514 OP:ff ff 00 00 98 Choose 'Close' to terminate the
application.

If I click on "Ignore", I get two more popups (clicking on "Ignore" each
time),
then I get the message:
Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
Action: (continue)

So, cvs appears not to like not having a message specified ("-m" flag),
but it's a rather rude way of telling me.

Steve Kelem
   


 





--
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: cvs executes illegal instructions

2002-10-20 Thread Steve Kelem
Getting rid of C:\PalmDev\pilrc-2.8\cygwin1.dll seems to have done the 
trick!

Thanks for your help!
Steve

Michael A Chase wrote:

On Fri, 27 Sep 2002 13:29:08 -0700 Steve Kelem <[EMAIL PROTECTED]> wrote:

 

Here's the actual output:

Thanks for any help you can give.

Steve

% which -a cvs
-a: Command not found
/usr/bin/cvs
   


I don't use csh or tcsh routinely, so I forgot they have an internal
command which.  My intent was to find out if you have another cvs command
somewhere in your path.  Cygwin's cvs at least appears to be the first in
line.

 

% cvs commit
cvs commit: Examining .
cvs commit: Examining src
cvs commit: Examining src/com
cvs commit: Examining src/com/kelem
cvs commit: Examining src/com/kelem/database
cvs commit: Examining src/com/kelem/database/appl
cvs commit: Examining src/com/kelem/appl
cvs commit: Examining src/com/kelem/appl/palm
cvs commit: Examining src/com/kelem/utils
Cannot load VDM IPX/SPX support

Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining
dirs
Action: (continue)a
cvs [commit aborted]: aborted by user
   


I still don't see how the "16 bit MS-DOS Subsystem" is being engaged.  All
your path directories appear to be on the local drive, are there any
symlinks for executables to other drives?  What is in your initialization
files (e.g., ~/.cvsrc)?

You have an old cygwin1.dll in C:\PalmDev\pilrc-2.8\.  That sometimes
causes problems with odd symptoms.  Make absolutely sure it is not in use
when you are running cvs.  Renaming it and rebooting might be worthwhile. 
A newer set of Palm tools that uses a newer Cygwin (if available) would
also be a good idea.

Someone else will have to help you, I'm not any sort of CVS expert.

 

% cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Sep 27 13:20:58 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:c:\home\kelem\bin\i386
   c:\home\kelem\bin\sh
   C:\cygwin\usr\local\gnu\bin
   C:\Java\jdk1.4\bin
   C:\cygwin\usr\local\ant\jakarta-ant-1.5\bin
   C:\home\kelem\src\java\SableCC\sablecc-2.17.3\bin
   C:\cygwin\usr\jakarta-ant\jakarta-ant-1.4.1\bin
   C:\cygwin\usr\local\bin
   C:\cygwin\bin
   C:\cygwin\bin
   C:\cygwin\usr\local\gnu\emacs-20.7\bin
   C:\cygwin\usr\X11R6\bin
   C:\PalmDev\pilrc-2.8
   C:\PalmDev\ASDK\asdk1a1\bin
   C:\PalmDev\Waba\wabasdk.10\bin
   C:\cygwin\usr\etc

SysDir: G:\WINNT\System32
WinDir: G:\WINNT

HOME = `c:\home\kelem'
LD_LIBRARY_PATH =
`\usr\local\gnu\mh\lib:\usr\local\gnu\lib:\usr\local\gnu\lib\rvplayer5.0:
\usr\local\lib'
MAKE_MODE = `unix'
PWD = `/home/kelem/src/java/Real/rlpp'
USER = `kelem'
   


I don't think LD_LIBRARY_PATH is being used for anything, but it seems odd
to for it to have '\'s in the POSIX paths.

 

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  FAT32  17451Mb 100% CPUN   SCSI
d:  hd  FAT32  17507Mb   5% CPUN   D
e:  cd   N/AN/A
f:  cd   N/AN/A
g:  hd  FAT32   2192Mb  92% CPUN   IDE
h:  hd  FAT32  76297Mb  43% CPUN   
z:  fd  FAT  238Mb  46% CPUN   WORK2

C: /c userbinmode
G: /g usertextmode
.  /cygdrive  userbinmode,cygdrive
C:/cygwin  /  system  binmode
C: /c system  binmode
D: /d system  binmode
C:\Java/Java  system  binmode
C:/cygwin/bin  /usr/bin   system  binmode
C:/cygwin/lib  /usr/lib   system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.  /cygdrive  userbinmode,cygdrive

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\usr\local\bin\ls.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   


 

 883k 2002/07/06 C:\cygwin\bin\cygwin1.dll
   Cygwin DLL version info:
   DLL version: 1.3.12
   DLL epoch: 19
   DLL bad signal mask: 19005
   DLL old termios: 5
   DLL malloc env: 28
   API major: 0
   API minor: 54
   Shared data: 3
   DLL identifier: cygwin1
   Mount registry: 2
   Cygnus registry name: Cygnus Solutions
   Cygwin registry name: Cygwin
   Program options name: Program Options
   Cygwin mount registry name: mounts v2
   Cygdrive flags: cygdrive flags
   Cygdrive prefix: cygdrive prefix
   Cygdrive default prefix: 
   Build date: Sat Jul 6 02:16:58 EDT 2002
   

Green laser pointer to point out stars -- prices reduced

2002-10-20 Thread Beta Electronics, Inc.

   This GREEN laser pointer is twenty times brighter than the red laser pointer. 
You can see the laser beam in dark sky and use it to point out stars or collimate your 
telescope.

It is also an ideal gift award. The prices have been reduced. 

15-day satisfaction guarantee or full refund. 

We can engrave the pointers with names. They are  ideal gift awards for the star 
lovers and lecturers.


Visit our web site for prices and details:

http://www.betapointer.com

Too busy to visit now?  Save this e-mail for future visits.

If you wish to be removed from our list for future sales, please enter your email 
address at the following web page. Thank you.

http://www.greenpointer.com/php-bin/unsubscribe.php


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




cvs-1.11.0-1 fails to build

2002-10-20 Thread Igor Pechtchanski
Hi,

I'm having a problem building cvs-1.11.0-1.  GDBM_EXPORT is not picked up
as a macro (which I assume it is, as it's used to declare functions), and
this results in parse errors and gcc being generally unhappy.  I'm
attaching the exact error message.
This is probably because I have gdbm-1.8.0-4, and cvs lists gdbm-1.8.0-3
in its dependences, although Chuck Wilson apparently received no
complaints during the test period (
http://www.cygwin.com/ml/cygwin/2002-02/msg01333.html ).

This problem has apparently been reported back in March, but to the wrong
list: http://mail.gnu.org/pipermail/info-cvs/2002-March/026364.html
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

make[1]: Entering directory `/usr/src/cvs-1.11.0/build/src'
gcc  -I. -I.. -I/usr/src/cvs-1.11.0/src -I/usr/src/cvs-1.11.0/lib -DHAVE_CONFIG_H  -g 
-O2 -c /usr/src/cvs-1.11.0/src/add.c
In file included from /usr/src/cvs-1.11.0/src/cvs.h:93,
 from /usr/src/cvs-1.11.0/src/add.c:27:
/usr/src/cvs-1.11.0/src/mygdbm.h:16: parse error before `dbm_close'
/usr/src/cvs-1.11.0/src/mygdbm.h:16: `GDBM_EXPORT' declared as function returning a 
function
/usr/src/cvs-1.11.0/src/mygdbm.h:17: parse error before `dbm_fetch'
/usr/src/cvs-1.11.0/src/mygdbm.h:17: `GDBM_EXPORT' declared as function returning a 
function
/usr/src/cvs-1.11.0/src/mygdbm.h:18: parse error before `dbm_store'
/usr/src/cvs-1.11.0/src/mygdbm.h:18: `GDBM_EXPORT' declared as function returning a 
function
/usr/src/cvs-1.11.0/src/mygdbm.h:19: parse error before `dbm_delete'
/usr/src/cvs-1.11.0/src/mygdbm.h:19: `GDBM_EXPORT' declared as function returning a 
function
/usr/src/cvs-1.11.0/src/mygdbm.h:20: parse error before `dbm_firstkey'
/usr/src/cvs-1.11.0/src/mygdbm.h:20: `GDBM_EXPORT' declared as function returning a 
function
/usr/src/cvs-1.11.0/src/mygdbm.h:21: parse error before `dbm_nextkey'
/usr/src/cvs-1.11.0/src/mygdbm.h:21: `GDBM_EXPORT' declared as function returning a 
function
make[1]: *** [add.o] Error 1
make[1]: Leaving directory `/usr/src/cvs-1.11.0/build/src'
make: *** [all] Error 1

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


Openssh client under X

2002-10-20 Thread Jacob A
Hey there,

I have a real weird problem with running the openssh client under X. When
I connect to another machine via ssh, it prompts me for the password, and
then the session is terminated just after I am logged in.

unfortunately, I dont have root access on the machine I want to ssh to, so
I cant start sshd with -D there.

It works perfectly when I do it without starting X.

Anyone else come across this problem?

I'm not a subscriber to the list, so please reply to me as well as the
list if you have any input.

/jay.


"what we do in life echoes in eternity."
   - Maximus Decimus Meridus


--
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: vs and use of diff

2002-10-20 Thread Peter S Tillier
- Original Message -
From: "CBFalconer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 19, 2002 4:01 AM
Subject: Re:  vs  and use of diff


[...]
> BTW attacking this has shown up a couple of Cygwin glitches.  bash
> won't run a MSDOS .com file, even though it is in the path.

You need to include the extensions for .com or .bat files to get them to
run under bash - .exe is OK.  See the User Guide section on Special
Names.

[...]

HTH
Peter S Tillier[EMAIL PROTECTED]


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.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/




bash -c

2002-10-20 Thread g frances
Hi,
I'm new to cygwin and have a simple question.  Tried to find the answer on 
the mailing list search archive, but no luck.  I've just downloaded the 
lastest version of Cygwin on Windows 2000 Professional, SP2.  When trying to 
invoke a command at the NT command prompt like the following:
c:\cygwin\bin\bash -c "cp /testdir/test* /testdir2"

This error occurs--
cp: testdirtest*: The system cannot find the file specified.


But when invoking the same command by just typing within the cygwin shell, 
it works.
Thanks for your help.
gfrancess







_
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


--
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: vs and use of diff

2002-10-20 Thread CBFalconer
Peter S Tillier wrote:
> 
> - Original Message -
> From: "CBFalconer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, October 19, 2002 4:01 AM
> Subject: Re:  vs  and use of diff
> 
> [...]
> > BTW attacking this has shown up a couple of Cygwin glitches. 
> > bash won't run a MSDOS .com file, even though it is in the path.
> 
> You need to include the extensions for .com or .bat files to get
> them to run under bash - .exe is OK.  See the User Guide section
> on Special Names.

Thanks.  I discovered that on re-reading the UG yesterday.  What
is the philosophy of that decision?

-- 
Chuck F ([EMAIL PROTECTED]) ([EMAIL PROTECTED])
   Available for consulting/temporary embedded and systems.
     USE worldnet address!



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




Failures in binutils 20021020 cvs trunk under cygwin

2002-10-20 Thread christian
gcc 3.2-1   
gcc-mingw   3.2-20020817-1  
gdb 20010428-3  
gdbm1.8.0-4 
gettext 0.11.5-1
gettext-devel   0.11.5-1
gperf   0.0 
grep2.5-1   
groff   1.17.2-1
gzip1.3.3-4 
indent  2.2.8-1 
inetutils   1.3.2-19
jpeg6b-7
less374-1   
lesstif 0.93.18-3   
libbz2_01.0.2-1 
libbz2_11.0.2-2 
libcharset1 1.8-2   
libiconv1.8-2   
libiconv2   1.8-2   
libintl 0.10.38-3   
libintl10.10.40-1   
libintl20.11.5-1
libltdl320020705-2  
libncurses5 5.2-1   
libncurses6 5.2-8   
libpng121.2.4-2 
libpopt01.6.4-4 
libreadline44.1-2   
libreadline54.3-1   
libtool 20020705-1  
libtool-devel   20020705-2  
libtool-stable  1.4.2-2 
libxml2 2.4.23-1
libxslt 1.0.13-1
login   1.4-4   
lynx2.8.4-1 
m4  0.0 
make3.79.1-7
man 1.5g-2  
mingw-runtime   2.2-1   
mktemp  1.4-1   
more2.11o-1 
mutt1.4-1   
nano1.1.10-1
ncftp   3.1.4-1 
ncurses 5.2-8   
newlib-man  20020801
opengl  1.1.0-6 
openssh 3.4p1-5 
openssl 0.9.6g-1
openssl-devel   0.9.6g-1
patch   2.5-3   
pcre3.7-1   
perl5.8.0-1 
pine4.44-2  
pkgconfig   0.12.0-1
popt1.6.4-4 
rcs 5.7-3   
readline4.3-1   
regex   4.4-2   
rxvt2.7.2-14
sed 3.02-1  
sh-utils2.0-2   
sharutils   4.2.1-2 
ssmtp   2.38.7-3
tar 1.13.25-1   
tcltk   20001125-1  
termcap 20020930-1  
terminfo5.2-3   
texinfo 4.2-3   
textutils   2.0.21-1
tiff3.5.7-1 
time1.7-1   
unzip   5.50-1  
vim 6.1-2   
w32api  2.0-1   
wget1.8.2-1 
which   1.5-1   
whois   4.5.17-1
xpm-nox 4.2.0-1 
zip 2.3-2   
zlib1.1.4-1 

Use -h to see help about each section

here is the results of the binutils 20021020 testsuite:


This was on a Windows XP SP1/cygwin P4 system with these packages:

binutils  20020706-2
cygwin1.3.12-4
dejagnu   1.4.3   (cygwin ver. 20010117-1 with 1.4.3 on top)
gcc   3.2-1   

In-tree joined gcc and binutils cvs trunks.

LAST_UPDATED: Sun Oct 20 08:17:01  2002

Native configuration is i686-pc-cygwin

=== binutils tests ===


Running target unix

=== binutils Summary ===

# of expected passes51
# of untested testcases 4
=== gas tests ===


Running target unix
FAIL: i386 abs reloc
FAIL: i386 pcrel reloc

=== gas Summary ===

# of expected passes35
# of unexpected failures2
=== ld tests ===


Running target unix
FAIL: bootstrap
FAIL: bootstrap with strip
FAIL: bootstrap with --static
FAIL: bootstrap with --traditional-format
FAIL: bootstrap with --no-keep-memory
FAIL: bootstrap with --relax
FAIL: cdtest
FAIL: cdtest with -Ur
FAIL: MRI script
FAIL: selective1
FAIL: selective2
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc: 
compilation failed
UNRESOLVED: selective4
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc: 
compilation failed
UNRESOLVED: selective5
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/5.cc: 
compilation failed
UNRESOLVED: selective6

=== ld Summary ===

# of expected passes12
# of unexpected failures

Re: bash -c

2002-10-20 Thread Randall R Schulz
G,

At 08:37 2002-10-20, g frances wrote:

Hi,
I'm new to cygwin and have a simple question.  Tried to find the answer on 
the mailing list search archive, but no luck.  I've just downloaded the 
lastest version of Cygwin on Windows 2000 Professional, SP2.  When trying 
to invoke a command at the NT command prompt like the following:

c:\cygwin\bin\bash -c "cp /testdir/test* /testdir2"

This error occurs--
cp: testdirtest*: The system cannot find the file specified.

That diagnostic suggests that the command you really entered was this:

c:\cygwin\bin\bash -c "cp \testdir\test* \testdir2"

What you wrote above is (syntactically) correct. What I inferred you 
actually typed is not, since the backslashes are special in a POSIX 
environment and are not that realm's native file separator. Cygwin 
tolerates both Windows and POSIX file name syntaxes (including either 
forward or backward slashes), but that doesn't absolve you from quoting and 
escaping special characters such as backslash to keep them from having 
their special meaning to the Cygwin shell(s).

I recommend you drop the CMD.exe environment and use the power of Cygwin 
and its POSIX / GNU Tools environment alone. You can still invoke 
non-Cygwin programs from Cygwin, you know.

Likewise, you can also directly invoke Cygwin commands from CMD.exe, 
providing you have your local Cygwin bin directory in your Windows PATH. If 
you do that you can invoke Cygwin commands such as "cp" without the 
gyrations of using a shell with the "-c" option. (Be sure it's the Windows 
directory name: "C:\cygwin\bin" you add to the Windows PATH variable.) In 
this case, since BASH was able to execute "cp" without using an absolute 
name, I assume you've already done this.

I'm not completely well-versed on this detail, but I'm under the impression 
that the interpretation of "*" is different when a Cygwin command is 
invoked directly from a Windows CMD.exe. (In a fully Cygwin context, the 
shell itself handles wildcard expansion, but Cygwin programs have special 
startup code that's activated when they're launched from a non-Cygwin 
parent process. That special startup code detects the presence of the 
wild-card character in the arguments and expands them as CMD.exe would).


Chris F.: Please do write that book!


Randall Schulz
Mountain View, CA USA


But when invoking the same command by just typing within the cygwin shell, 
it works.

Thanks for your help.

gfrancess


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




sshd: no remote connect possible

2002-10-20 Thread Christian R Molls
Hi everybody,

I started using cygwin a couple of days ago, primarily to be able to
access my windows system from work via ssh/sftp. I installed it to a
FAT32 partiton, added openssh, configured the server as described in
the howto at tech.erdelynet.com and everything worked out-of-the-box. I
could log in to my cygwin system from localhost and from the linux box
at work.

As I liked cygwin a lot (in fact I was absolutely fascinated), I decided
to put it onto a larger NTFS drive to have more room to play with Xfree,
gcc, apache etc. I deleted my old cygwin installation and started from
scratch. Everything is working fine, however I can no longer access my
system via ssh from the outside.

When I try to connect from a remote linux box, all I get is "connecting
to port 22" and nothing happens (see below).

, [ trying to connect from a remote machine ]
| [~]$ ssh -v xxx.xxx
| OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL
| 0x0090603f
| debug1: Reading configuration data /home/chris/.ssh/config
| debug1: Reading configuration data /etc/ssh/ssh_config
| debug1: Rhosts Authentication disabled, originating port will not be
| trusted.
| debug1: ssh_connect: needpriv 0
| debug1: Connecting to xxx.xxx [xxx.xxx.xxx.xxx] port 22.
| [nothing happens]
`

It seems as if port 22 was only accessible locally, but not from the
outside. I am not behind a firewall. XPs built-in firewall is turned
off as well.

cygwin is installed on an NTFS drive with system variable CYGWIN set
to "ntsec tty". I have used "ssh-host-config -y" to configure sshd and
entered those values there as well.

The server seems to start up ok:

, [ windows event log ]
| sshd : Win32 Process Id = 0x8E0 : Cygwin Process Id = 0xCE0 : Server
| listening on 0.0.0.0 port 22..
|
| sshd : Win32 Process Id = 0xC80 : Cygwin Process Id = 0xC80 : `sshd'
| service started
`

A ssh session from a cygwin bash session on localhost (working fine):

, [ connecting from localhost ]
| [/etc]$ ssh -v cm@localhost
| OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
| debug1: Rhosts Authentication disabled, originating port will not be
| trusted.
| debug1: ssh_connect: needpriv 0
| debug1: Connecting to localhost [127.0.0.1] port 22.
| debug1: Connection established.
| debug1: identity file /home/cm/.ssh/identity type -1
| debug1: identity file /home/cm/.ssh/id_rsa type -1
| debug1: identity file /home/cm/.ssh/id_dsa type -1
| debug1: Remote protocol version 1.99, remote software version
| OpenSSH_3.4p1
| debug1: match: OpenSSH_3.4p1 pat OpenSSH*
| Enabling compatibility mode for protocol 2.0
| debug1: Local version string SSH-2.0-OpenSSH_3.4p1
|
| [...snip...]
|
| debug1: next auth method to try is password
| cm@localhost's password:
`

I have attached the file permissions relevant to sshd and a copy of my
sshd_config file:

, [ file permissions ]
| [/etc]$ ls -l ssh*
| -rw---1 SYSTEM   Kein 1049 20. Oct 12:22 ssh_config
| -rw---1 SYSTEM   SYSTEM668 20. Oct 01:10 ssh_host_dsa_key
| -rw---1 SYSTEM   SYSTEM599 20. Oct 01:10 ssh_host_dsa_key.pub
| -rw---1 SYSTEM   SYSTEM524 20. Oct 01:09 ssh_host_key
| -rw---1 SYSTEM   SYSTEM328 20. Oct 01:09 ssh_host_key.pub
| -rw---1 SYSTEM   SYSTEM887 20. Oct 01:09 ssh_host_rsa_key
| -rw---1 SYSTEM   SYSTEM219 20. Oct 01:09 ssh_host_rsa_key.pub
| -rw---1 SYSTEM   Kein 2039 20. Oct 12:38 sshd_config
`

, [ /etc/sshd_config ]
| Port 22
| Protocol 2,1
| ListenAddress 0.0.0.0
| StrictModes no
| UsePrivilegeSeparation yes
`

I also tried to run sshd stand-alone via "/usr/sbin/sshd -d", however
to no avail either. Any hints?

Best regards,
chris

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

2002-10-20 Thread Doug Whiting
Thanks. No offense taken, though I actually had searched through the
gcc/chmod stuff fairly carefully, and nothing suggested there had worked. I
finally just turned OFF the ntsec stuff (CYGWIN=nontsec), and that fixed the
problem!  It appears that there's a bug of some sort with either the new
default setting or the ntsec functionality itself. Anyway, now chmod and gcc
work fine, but I'm not sure how I should have guessed to go against the
grain by turning off the feature that is claimed by all the emails to fix
the bug :-(

The emacs C-X C-c worked after adding the tty element, but I had to take out
the space before and after '=' in the batch file.  That is
   set CYGWIN = tty
did not work, but
   set CYGWIN=tty
did work!  Anyway, thanks for that pointer, as it was not at all obvious
from the (too many) matches to my search queries. Kinda seems like tty
should be the default, but in any case I'm up and rolling now.

Thanks again.


-Original Message-
From: Igor Pechtchanski
To: Doug Whiting
Cc: [EMAIL PROTECTED]
Sent: 10/19/02 2:57 PM
Subject: Re: Problems

Doug,

On Sat, 19 Oct 2002, Doug Whiting wrote:

> I just installed Cygwin from the Internet, and things are very close
to
> working fine. I have run quite a few things successfully, but there
are
> three annoying problems, listed below, that I'm hoping have a simple
> solution. I looked in your email threads and couldn't find a solution
that
> works for me.  FYI, I'm running Win2K Professional on a Toshiba Tecra
8200,
> with 20GB disk (8GB free) and 256M RAM.
>
> 1) The exe files produced by gcc (e.g., even "hello world") are not
> executable. I added set CYGWIN=ntsec in the startup batch file, but
that
> made no difference. I'm an administrator on the system, so I have all
> rights.  When I use the Windows Explorer to set the security of the
file
> a.exe to executable, it runs fine, but that's hard to put in a
makefile
> :-(

Normally people are assumed to make a reasonable effort in searching the
archives, and it's understood that it's hard to phrase a query
correctly.
However, in this case, searching for "gcc exe not executable" (in the
October archives) produced multiple relevant messages.  I refer you to
those.
FYI, ntsec is on by default in Cygwin-1.3.13+.

> 2) In trying to fix the above, I found that chmod doesn't work.
> I get the following error message, no matter what switches I try to
give it
> (and I've tried a lot):
> $ chmod a+x a.exe
> chmod: changing permissions of `a.exe': Invalid argument
> Perhaps these two problems are related, but together they make life
> quite difficult. It seems almost like chmod is not complaining about
the
> syntax, not the inability to set the attribute, but of course that may
> be reading too much into the error message.

Same problem as above.  FWIW, you could have searched for "chmod doesn't
work".

> 3) An apparently unrelated problem with Emacs: when I type C-x C-c to
> kill (exit) Emacs, the computer just beeps at me and does nothing. I
> have to do "M-x Kill Emacs", which is a real pain.

Again, the proper search query is "emacs Ctrl-C"...  As there are quite
a
few unrelated messages in the results, I'll answer this one: you should
look into the 'tty' setting in your CYGWIN variable.

> Any ideas on these problems? It's probably just some simple
configuration
> stuff, but I've spent a few hours fiddling with it to no avail.

Archive search and Google are your friends. :-D
No offense,
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: bash -c

2002-10-20 Thread Christopher Faylor
On Sun, Oct 20, 2002 at 08:55:53AM -0700, Randall R Schulz wrote:
>I'm not completely well-versed on this detail, but I'm under the impression 
>that the interpretation of "*" is different when a Cygwin command is 
>invoked directly from a Windows CMD.exe. (In a fully Cygwin context, the 
>shell itself handles wildcard expansion, but Cygwin programs have special 
>startup code that's activated when they're launched from a non-Cygwin 
>parent process. That special startup code detects the presence of the 
>wild-card character in the arguments and expands them as CMD.exe would).

In this case, the shell should still be handling the wildcards since they
are quoted.

>Chris F.: Please do write that book!

I'm negotiating as fast as I can.  :-)

cgf

--
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: cvs-1.11.0-1 fails to build

2002-10-20 Thread Max Bowsher
Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>> I'm having a problem building cvs-1.11.0-1.  GDBM_EXPORT is not
>> picked up as a macro (which I assume it is, as it's used to declare
>> functions), and this results in parse errors and gcc being generally
>> unhappy.  I'm attaching the exact error message.
>> This is probably because I have gdbm-1.8.0-4, and cvs lists
>> gdbm-1.8.0-3 in its dependences, although Chuck Wilson apparently
>> received no complaints during the test period (
>> http://www.cygwin.com/ml/cygwin/2002-02/msg01333.html ).

I ran into this problem, and solved it by backing out Chuck's gdbm changes,
instead building cvs in its flat-file mode. I needed to do this so I had a
cvs which could act on repositories created using this method.

I don't know what you want to use it for, but unless you want to
specifically want to use gdbm, this may be acceptable. As the cvs docs say,
the performance gain is minimal unless you have a *huge* modules file.

Attatched is Chuck's patch as included in the Cygwin source package, spilt
into 2: cygupdate is general fixups, and gdbmify is the gdbm additions,
which I backed out to build a cvs_flatdbm.exe which I keep in ~/bin.

Max.



cvs-1.11.0-1-cygupdate.patch
Description: Binary data


cvs-1.11.0-1-gdbmify.patch
Description: Binary data
--
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: cvs-1.11.0-1 fails to build

2002-10-20 Thread Igor Pechtchanski
On Sun, 20 Oct 2002, Max Bowsher wrote:

> Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> >> I'm having a problem building cvs-1.11.0-1.  GDBM_EXPORT is not
> >> picked up as a macro (which I assume it is, as it's used to declare
> >> functions), and this results in parse errors and gcc being generally
> >> unhappy.  I'm attaching the exact error message.
> >> This is probably because I have gdbm-1.8.0-4, and cvs lists
> >> gdbm-1.8.0-3 in its dependences, although Chuck Wilson apparently
> >> received no complaints during the test period (
> >> http://www.cygwin.com/ml/cygwin/2002-02/msg01333.html ).
>
> I ran into this problem, and solved it by backing out Chuck's gdbm changes,
> instead building cvs in its flat-file mode. I needed to do this so I had a
> cvs which could act on repositories created using this method.
>
> I don't know what you want to use it for, but unless you want to
> specifically want to use gdbm, this may be acceptable. As the cvs docs say,
> the performance gain is minimal unless you have a *huge* modules file.
>
> Attatched is Chuck's patch as included in the Cygwin source package, spilt
> into 2: cygupdate is general fixups, and gdbmify is the gdbm additions,
> which I backed out to build a cvs_flatdbm.exe which I keep in ~/bin.
>
> Max.

Thanks, Max, this looks like exactly what I need -- I just needed to build
a debuggable cvs for tracking down another problem (not in the gdbm
module).

When I have some time, I'll look into patching cvs to build with the new
gdbm...
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: Cygwin Here power toy

2002-10-20 Thread Pierre A. Humblet
On Sun, Oct 20, 2002 at 06:54:07PM +0200, Gerrit P. Haase wrote:

> But I get to see two bash processes with different PID's in the
> Taskmanager.  However, 'ps -e' shows only one...

See http://sources.redhat.com/ml/cygwin/2002-03/msg00791.html

Pierre

--
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: Cygwin Here power toy

2002-10-20 Thread Gerrit P. Haase
Hallo Randall,

Am Sonntag, 20. Oktober 2002 um 17:13 schriebst du:

> Andrew,

> At 06:58 2002-10-20, Andrew Ellerton wrote:
>> >> @="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash 
>> -rcfile ~/.bashrc\""
>> >
>> >can you think of any better way to start bash?
>> >the above creates two bash.exe in memory:
>> >one executing /etc/profile and the cd-command
>> >and one showing the prompt.
>>
>>The first shell executes a single line of shell commands, namely to change 
>>directory and run another shell. The second shell runs as the "normal" 
>>interactive shell. Net effect - looks like the shell has started in a 
>>different directory. Admittedly a bit hacky, having two shells running for 
>>no good reason, but it does the job. I'm not sure if shells are very 
>>expensive in terms of memory. If not, then its a bit kludgey, but 
>>otherwise its ok.

> There are not (ever) two shells running as a result of invoking this 
> command string. The second one overlays the first in the same process. 
> That's what the "exec" built-in of the shells does.

But I get to see two bash processes with different PID's in the
Taskmanager.  However, 'ps -e' shows only one...


Gerrit
-- 
=^..^=


--
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: Openssh client under X

2002-10-20 Thread Igor Pechtchanski
Umm, how embarrassing...  I got confused between OpenSSH and SSH Secure
Shell.  Apologies to all.

Jay,

ssh has a special mode where it forwards X requests over the ssh
connection.  It's called X forwarding, and is enabled by either the -X
command line option or a special entry in ~/.ssh/config (I forget exactly
which, it's easily found out from the man page).  If the special entry is
present, ssh will attempt to set up X forwarding, *but only if DISPLAY is
set*.  That was the reason I asked about the DISPLAY setting.

You can try running ssh as 'ssh -x', which disables X forwarding
regardless of the config file.  If all you need is to run tty mode
programs on the server, or if your machine is reachable and open to X
packets from the server, that should be sufficient.  If 'ssh -x' works,
you could then edit the config file and comment out the EnableXForwarding
(or smth like that) line.

If you do need to tunnel X packets through ssh when running X, you'll need
to debug this further.  The message I mentioned might be of help then.
Igor

On Sun, 20 Oct 2002, Jacob A wrote:

> ok.
>
> maybe my last post was somewhat unclear.
>
> What I want is to be able to run is:
>
> $ ssh user@host
>
> ...from an xterm window under cygwin/XFree86. Whenever I try that, it
> connects, and then disconnects right after I get connected. If I run ssh
> from cygwin without running X, it works like a charm. Correct me if I am
> wrong, but the DISPLAY variable should have nothing to do with this.
> All I want is to login on the other machine.
>
> ssh -v -v -v tells me "channel 0 is dead" _after_ I type in the password.
> My .profile runs on the remote machine, and then I get disconnected. Very
> frustrating.
>
> Why does it work if I dont run X?
>
> I would like to test connecting to an ssh server with ssh -D. But I can't
> where I am running this.
>
> Noone else has come across this problem?
>
> uh, again - I am not a subscriber to the list, so please mail me if you
> think you know whats going on here.
>
> /jay.
>
> 
> "what we do in life echoes in eternity."
>- Maximus Decimus Meridus
>
> On Sun, 20 Oct 2002, Igor Pechtchanski wrote:
>
> > On Sun, 20 Oct 2002, Jacob A wrote:
> >
> > > Hey there,
> > >
> > > I have a real weird problem with running the openssh client under X. When
> > > I connect to another machine via ssh, it prompts me for the password, and
> > > then the session is terminated just after I am logged in.
> > >
> > > unfortunately, I dont have root access on the machine I want to ssh to, so
> > > I cant start sshd with -D there.
> > >
> > > It works perfectly when I do it without starting X.
> > >
> > > Anyone else come across this problem?
> > >
> > > I'm not a subscriber to the list, so please reply to me as well as the
> > > list if you have any input.
> > >
> > > /jay.
> >
> > Jay,
> >
> > I assume you want X forwarding when you're running X.  If not, just
> > turning it off might do the trick.
> >
> > Does OpenSSH work if you don't run X but set DISPLAY in your system
> > control panel?
> > Does OpenSSH have a -v flag or a verbose option?  If so, it might help.
> > If not, does cygwin's 'ssh -X' work (with and without DISPLAY set)?
> > If you can reproduce the problem with cygwin's ssh, use the -v option for
> > some additional debug info.
> >
> > The following might also be an instructive read:
> > http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html
> >   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/




Initializing and cygwin.bat

2002-10-20 Thread CBFalconer
As a new user I wanted to customize cygwin.bat to my system, which
uses 4dos as the shell and only maintains command.com as an
antique.  W98 BTW.

I found that various commands wouldn't work!  The reason was that
command.com was being called in the .pif file.  I simply changed
the .pif to specify "%comspec%" in place of
"c:\windows\command.com".

Is there any reason setup shouldn't do this in the initial
creation?  Since the .pif files are of some peculiar structure I
had to use explorer and the fursluginner mouse to make this
change.

-- 
Chuck F ([EMAIL PROTECTED]) ([EMAIL PROTECTED])
   Available for consulting/temporary embedded and systems.
     USE worldnet address!



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




aclocal wrapper fails because -x check fails (something to do with ntsec ?)

2002-10-20 Thread amores perros
Report of additional test:

I logged in as Administrator, and still have the same problem
 aclocal: Can't open aclocal: No such file or directory

$whoami
Administrator

$grep Administrator /etc/passwd
Administrators:*:544:544:...
Administrator:unused_by_nt/2000/xp:500:513:...

$ls -l /usr/autotools/devel/bin/
lwrxwrxwrx 1 Administ None ... aclocal -> aclocal-1.6
-rwx-- 1 Administ None ... aclocal-1.6


I'm a bit surprised by this, but then again, I don't
know why I was able to execute this file as my non-Administrator
user either.

And again, I can execute it directly, eg,
$/usr/autotool/devel/bin/aclocal

so I assume this is the -x check in the /usr/bin/aclocal wrapper
failing.


Cordially,

Perry

(PS: Apparently a fix for the "gcc not executable" problem is
to run, eg, mkpasswd -du myusername, which adds an entry to
/etc/passwd for the username specified; in case anyone hits this
searching for that answer.)



_
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


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

2002-10-20 Thread Igor Pechtchanski
On Sun, 20 Oct 2002, Doug Whiting wrote:

> Thanks. No offense taken, though I actually had searched through the
> gcc/chmod stuff fairly carefully, and nothing suggested there had worked. I
> finally just turned OFF the ntsec stuff (CYGWIN=nontsec), and that fixed the
> problem!  It appears that there's a bug of some sort with either the new
> default setting or the ntsec functionality itself. Anyway, now chmod and gcc
> work fine, but I'm not sure how I should have guessed to go against the
> grain by turning off the feature that is claimed by all the emails to fix
> the bug :-(

Doug,

If you read all the relevant messages, you'll see that your /etc/passwd is
probably not up to date.  Try re-generating it with 'mkpasswd >
/etc/passwd' (having made a backup first, of course, and with all the
appropriate flags for a domain user).

> The emacs C-X C-c worked after adding the tty element, but I had to take out
> the space before and after '=' in the batch file.  That is
>set CYGWIN = tty
> did not work, but
>set CYGWIN=tty
> did work!  Anyway, thanks for that pointer, as it was not at all obvious
> from the (too many) matches to my search queries. Kinda seems like tty
> should be the default, but in any case I'm up and rolling now.

There are some problems with the 'tty' setting (I, in particular, don't
use it), but if it works for you, all the better.

> Thanks again.

Glad I could help,
Igor

> -Original Message-
> From: Igor Pechtchanski
> To: Doug Whiting
> Cc: [EMAIL PROTECTED]
> Sent: 10/19/02 2:57 PM
> Subject: Re: Problems
>
> Doug,
>
> On Sat, 19 Oct 2002, Doug Whiting wrote:
>
> > I just installed Cygwin from the Internet, and things are very close
> to
> > working fine. I have run quite a few things successfully, but there
> are
> > three annoying problems, listed below, that I'm hoping have a simple
> > solution. I looked in your email threads and couldn't find a solution
> that
> > works for me.  FYI, I'm running Win2K Professional on a Toshiba Tecra
> 8200,
> > with 20GB disk (8GB free) and 256M RAM.
> >
> > 1) The exe files produced by gcc (e.g., even "hello world") are not
> > executable. I added set CYGWIN=ntsec in the startup batch file, but
> that
> > made no difference. I'm an administrator on the system, so I have all
> > rights.  When I use the Windows Explorer to set the security of the
> file
> > a.exe to executable, it runs fine, but that's hard to put in a
> makefile
> > :-(
>
> Normally people are assumed to make a reasonable effort in searching the
> archives, and it's understood that it's hard to phrase a query
> correctly.
> However, in this case, searching for "gcc exe not executable" (in the
> October archives) produced multiple relevant messages.  I refer you to
> those.
> FYI, ntsec is on by default in Cygwin-1.3.13+.
>
> > 2) In trying to fix the above, I found that chmod doesn't work.
> > I get the following error message, no matter what switches I try to
> give it
> > (and I've tried a lot):
> > $ chmod a+x a.exe
> > chmod: changing permissions of `a.exe': Invalid argument
> > Perhaps these two problems are related, but together they make life
> > quite difficult. It seems almost like chmod is not complaining about
> the
> > syntax, not the inability to set the attribute, but of course that may
> > be reading too much into the error message.
>
> Same problem as above.  FWIW, you could have searched for "chmod doesn't
> work".
>
> > 3) An apparently unrelated problem with Emacs: when I type C-x C-c to
> > kill (exit) Emacs, the computer just beeps at me and does nothing. I
> > have to do "M-x Kill Emacs", which is a real pain.
>
> Again, the proper search query is "emacs Ctrl-C"...  As there are quite
> a
> few unrelated messages in the results, I'll answer this one: you should
> look into the 'tty' setting in your CYGWIN variable.
>
> > Any ideas on these problems? It's probably just some simple
> configuration
> > stuff, but I've spent a few hours fiddling with it to no avail.
>
> Archive search and Google are your friends. :-D
> No offense,
>   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: Cygwin Here power toy

2002-10-20 Thread Sven Köhler
But I get to see two bash processes with different PID's in the
Taskmanager.  However, 'ps -e' shows only one...


perhaps it's some kind of "forked"

but you should test this:

open two win32-consoles
my first console looks like this:
C:\>mkdir t
C:\>cygwin\bin\bash --login -c "cd /cygdrive/c/t; exec bash"
Sven@ERNI /cygdrive/c/t
$ cd /
Sven@ERNI /
$

my second lokks like this:
C:\>rmdir t

this will fail! because the directory "t" is "in use", what means, that 
the first bash-process (which is covered by the "exec bash" uses c:\t as 
it's working dir.




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



YA in the "try a snapshot" series (was Re: latest cvs fork problems)

2002-10-20 Thread Christopher Faylor
I was able to duplicate Jason's mmap problem with his version of exim
and, so, I think I was also able to fix it.

The latest snapshot should solve this problem.  The hanging problem that
I mentioned previously seems to be gone, too...  or, more likely, it
will manifest itself 10 seconds after I send this email.

So, try a snapshot.  Collect them all.  Win valuable prizes.

cgf

--
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: Openssh client under X

2002-10-20 Thread Igor Pechtchanski
On Sun, 20 Oct 2002, Jacob A wrote:

> Hey there,
>
> I have a real weird problem with running the openssh client under X. When
> I connect to another machine via ssh, it prompts me for the password, and
> then the session is terminated just after I am logged in.
>
> unfortunately, I dont have root access on the machine I want to ssh to, so
> I cant start sshd with -D there.
>
> It works perfectly when I do it without starting X.
>
> Anyone else come across this problem?
>
> I'm not a subscriber to the list, so please reply to me as well as the
> list if you have any input.
>
> /jay.

Jay,

I assume you want X forwarding when you're running X.  If not, just
turning it off might do the trick.

Does OpenSSH work if you don't run X but set DISPLAY in your system
control panel?
Does OpenSSH have a -v flag or a verbose option?  If so, it might help.
If not, does cygwin's 'ssh -X' work (with and without DISPLAY set)?
If you can reproduce the problem with cygwin's ssh, use the -v option for
some additional debug info.

The following might also be an instructive read:
http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html
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: Openssh client under X

2002-10-20 Thread Jacob A
Thanx for the input!

I believe "ssh -x" is the default behaviour, but even when I say -x I get
the same symptoms.

What really confuses me is that it all works like a charm if I run:

$ ssh 

...without starting X. (i.e click on the "cygwin icon"
(C:\cygwin\cygwin.bat) -- and start an interactive shell (bash) in the
cygwin environment.

But, if I start X, (which I do with 'startx') -- and then open up an xterm
and fire away the same command ($ ssh ), I get connected but
thrown out right away. I mean, I'm running the same binary -- what could
be different? This leads me to believe that the problem could NOT be on
the server side, it must be my cygwin that does _something_ differently
when I run the Xserver.

Does this work for you? Can you use ssh to login to a remote host from an
xterm running in cygwin/XFree

Again - I am not primarly interested in "tunneling X" -- I know how that
works -- the problem is connecting with ssh at all.

Any more thoughts?

(again, I'm not subscribing to the list... please email me).

/Jay


"what we do in life echoes in eternity."
   - Maximus Decimus Meridus

On Sun, 20 Oct 2002, Igor Pechtchanski wrote:

> Umm, how embarrassing...  I got confused between OpenSSH and SSH Secure
> Shell.  Apologies to all.
>
> Jay,
>
> ssh has a special mode where it forwards X requests over the ssh
> connection.  It's called X forwarding, and is enabled by either the -X
> command line option or a special entry in ~/.ssh/config (I forget exactly
> which, it's easily found out from the man page).  If the special entry is
> present, ssh will attempt to set up X forwarding, *but only if DISPLAY is
> set*.  That was the reason I asked about the DISPLAY setting.
>
> You can try running ssh as 'ssh -x', which disables X forwarding
> regardless of the config file.  If all you need is to run tty mode
> programs on the server, or if your machine is reachable and open to X
> packets from the server, that should be sufficient.  If 'ssh -x' works,
> you could then edit the config file and comment out the EnableXForwarding
> (or smth like that) line.
>
> If you do need to tunnel X packets through ssh when running X, you'll need
> to debug this further.  The message I mentioned might be of help then.
>   Igor
>
> On Sun, 20 Oct 2002, Jacob A wrote:
>
> > ok.
> >
> > maybe my last post was somewhat unclear.
> >
> > What I want is to be able to run is:
> >
> > $ ssh user@host
> >
> > ...from an xterm window under cygwin/XFree86. Whenever I try that, it
> > connects, and then disconnects right after I get connected. If I run ssh
> > from cygwin without running X, it works like a charm. Correct me if I am
> > wrong, but the DISPLAY variable should have nothing to do with this.
> > All I want is to login on the other machine.
> >
> > ssh -v -v -v tells me "channel 0 is dead" _after_ I type in the password.
> > My .profile runs on the remote machine, and then I get disconnected. Very
> > frustrating.
> >
> > Why does it work if I dont run X?
> >
> > I would like to test connecting to an ssh server with ssh -D. But I can't
> > where I am running this.
> >
> > Noone else has come across this problem?
> >
> > uh, again - I am not a subscriber to the list, so please mail me if you
> > think you know whats going on here.
> >
> > /jay.
> >
> > 
> > "what we do in life echoes in eternity."
> >- Maximus Decimus Meridus
> >
> > On Sun, 20 Oct 2002, Igor Pechtchanski wrote:
> >
> > > On Sun, 20 Oct 2002, Jacob A wrote:
> > >
> > > > Hey there,
> > > >
> > > > I have a real weird problem with running the openssh client under X. When
> > > > I connect to another machine via ssh, it prompts me for the password, and
> > > > then the session is terminated just after I am logged in.
> > > >
> > > > unfortunately, I dont have root access on the machine I want to ssh to, so
> > > > I cant start sshd with -D there.
> > > >
> > > > It works perfectly when I do it without starting X.
> > > >
> > > > Anyone else come across this problem?
> > > >
> > > > I'm not a subscriber to the list, so please reply to me as well as the
> > > > list if you have any input.
> > > >
> > > > /jay.
> > >
> > > Jay,
> > >
> > > I assume you want X forwarding when you're running X.  If not, just
> > > turning it off might do the trick.
> > >
> > > Does OpenSSH work if you don't run X but set DISPLAY in your system
> > > control panel?
> > > Does OpenSSH have a -v flag or a verbose option?  If so, it might help.
> > > If not, does cygwin's 'ssh -X' work (with and without DISPLAY set)?
> > > If you can reproduce the problem with cygwin's ssh, use the -v option for
> > > some additional debug info.
> > >
> > > The following might also be an instructive read:
> > > http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html
> > >   Igor
>
> --
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  

Where to send corrections for user's manual ?

2002-10-20 Thread amores perros
I made a list of some (trivial) fixes to the file
   http://www.cygwin.com/cygwin-ug-net/ntsec.html
but I'm not sure to whom to send them (I tried following
the up link to the top, but I'm not spotting a link for
where to send corrections).

If anyone would like them, I'd be happy to send them
somewhere ?

Cordially,

Perry

(Whereas on an XP box, my build fails because the
aclocal wrapper fails, I find now on a 2000 box
my build fails because of the gcc executable not being
executable problem, so I'm trying to find what the
answer for that is. If anyone who has found it feels
kind, perhaps you might email me a link to the answer.)



_
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


--
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: Openssh client under X

2002-10-20 Thread Gen Zhang
Try 'ssh -X'. With all capitalisations.

Hope that helps.

Genneth.

-Original Message-
From: Jacob A [mailto:jacob@;minpost.nu] 
Sent: 20 October 2002 21:06
To: [EMAIL PROTECTED]
Subject: Re: Openssh client under X

Thanx for the input!

I believe "ssh -x" is the default behaviour, but even when I say -x I
get
the same symptoms.

What really confuses me is that it all works like a charm if I run:

$ ssh 

...without starting X. (i.e click on the "cygwin icon"
(C:\cygwin\cygwin.bat) -- and start an interactive shell (bash) in the
cygwin environment.

But, if I start X, (which I do with 'startx') -- and then open up an
xterm
and fire away the same command ($ ssh ), I get connected but
thrown out right away. I mean, I'm running the same binary -- what could
be different? This leads me to believe that the problem could NOT be on
the server side, it must be my cygwin that does _something_ differently
when I run the Xserver.

Does this work for you? Can you use ssh to login to a remote host from
an
xterm running in cygwin/XFree

Again - I am not primarly interested in "tunneling X" -- I know how that
works -- the problem is connecting with ssh at all.

Any more thoughts?

(again, I'm not subscribing to the list... please email me).

/Jay


"what we do in life echoes in eternity."
   - Maximus Decimus Meridus

On Sun, 20 Oct 2002, Igor Pechtchanski wrote:

> Umm, how embarrassing...  I got confused between OpenSSH and SSH
Secure
> Shell.  Apologies to all.
>
> Jay,
>
> ssh has a special mode where it forwards X requests over the ssh
> connection.  It's called X forwarding, and is enabled by either the -X
> command line option or a special entry in ~/.ssh/config (I forget
exactly
> which, it's easily found out from the man page).  If the special entry
is
> present, ssh will attempt to set up X forwarding, *but only if DISPLAY
is
> set*.  That was the reason I asked about the DISPLAY setting.
>
> You can try running ssh as 'ssh -x', which disables X forwarding
> regardless of the config file.  If all you need is to run tty mode
> programs on the server, or if your machine is reachable and open to X
> packets from the server, that should be sufficient.  If 'ssh -x'
works,
> you could then edit the config file and comment out the
EnableXForwarding
> (or smth like that) line.
>
> If you do need to tunnel X packets through ssh when running X, you'll
need
> to debug this further.  The message I mentioned might be of help then.
>   Igor
>
> On Sun, 20 Oct 2002, Jacob A wrote:
>
> > ok.
> >
> > maybe my last post was somewhat unclear.
> >
> > What I want is to be able to run is:
> >
> > $ ssh user@host
> >
> > ...from an xterm window under cygwin/XFree86. Whenever I try that,
it
> > connects, and then disconnects right after I get connected. If I run
ssh
> > from cygwin without running X, it works like a charm. Correct me if
I am
> > wrong, but the DISPLAY variable should have nothing to do with this.
> > All I want is to login on the other machine.
> >
> > ssh -v -v -v tells me "channel 0 is dead" _after_ I type in the
password.
> > My .profile runs on the remote machine, and then I get disconnected.
Very
> > frustrating.
> >
> > Why does it work if I dont run X?
> >
> > I would like to test connecting to an ssh server with ssh -D. But I
can't
> > where I am running this.
> >
> > Noone else has come across this problem?
> >
> > uh, again - I am not a subscriber to the list, so please mail me if
you
> > think you know whats going on here.
> >
> > /jay.
> >
> > 
> > "what we do in life echoes in eternity."
> >- Maximus Decimus Meridus
> >
> > On Sun, 20 Oct 2002, Igor Pechtchanski wrote:
> >
> > > On Sun, 20 Oct 2002, Jacob A wrote:
> > >
> > > > Hey there,
> > > >
> > > > I have a real weird problem with running the openssh client
under X. When
> > > > I connect to another machine via ssh, it prompts me for the
password, and
> > > > then the session is terminated just after I am logged in.
> > > >
> > > > unfortunately, I dont have root access on the machine I want to
ssh to, so
> > > > I cant start sshd with -D there.
> > > >
> > > > It works perfectly when I do it without starting X.
> > > >
> > > > Anyone else come across this problem?
> > > >
> > > > I'm not a subscriber to the list, so please reply to me as well
as the
> > > > list if you have any input.
> > > >
> > > > /jay.
> > >
> > > Jay,
> > >
> > > I assume you want X forwarding when you're running X.  If not,
just
> > > turning it off might do the trick.
> > >
> > > Does OpenSSH work if you don't run X but set DISPLAY in your
system
> > > control panel?
> > > Does OpenSSH have a -v flag or a verbose option?  If so, it might
help.
> > > If not, does cygwin's 'ssh -X' work (with and without DISPLAY
set)?
> > > If you can reproduce the problem with cygwin's ssh, use the -v
option for
> > > some additional debug info.
> > >
> > > The followi

RE: Openssh client under X

2002-10-20 Thread Gareth Pearce






from the ssh manpage:



-X  Enables X11 forwarding.  This can also be specified on a per-host
	basis in a configuration file.



"Enables X11 forwarding". This is NOT what I want to do. I simply want to
get a login session on the remote machine.

This problem is really getting to me now...

I'm really curious to hear if anyone else on the list has got this
working?

please throw me an email if you do. thanks.

/jay.



heres a few suggestions -
try unsetting DISPLAY first
try setting TERM to cygwin
try x fowarding and see if it works (despite the fact its not what you want)
modify the login scripts of the remove server so they dont do things 
dependent on either a) DISPLAY or b) TERM

because if it works from cygwin bash - and not from an xterm in xwin - the 
two differences which spring to mind are the fact you have your display 
variable set - and the term variable will be xterm instead of cygwin.

I think the first is more likely

Gareth


_
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


--
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: Openssh client under X

2002-10-20 Thread Igor Pechtchanski
Jay,

I use ssh with X forwarding every day.  I also use it without X forwarding
when my DISPLAY is not set, and it works fine.  Here's what you should
try:

>From a bash prompt in an xterm,
$ unset DISPLAY
$ ssh -v -x @
(notice the lowercase 'x').

If this doesn't work, please report the results to the list.  If this does
work, you have ssh X forwarding enabled in one of the ssh config files --
consult the manpage to find out where to look and disable it.
Igor

On Sun, 20 Oct 2002, Jacob A wrote:

> from the ssh manpage:
>
> 
>
> -X  Enables X11 forwarding.  This can also be specified on a per-host
> basis in a configuration file.
>
> 
>
> "Enables X11 forwarding". This is NOT what I want to do. I simply want to
> get a login session on the remote machine.
>
> This problem is really getting to me now...
>
> I'm really curious to hear if anyone else on the list has got this
> working?
>
> please throw me an email if you do. thanks.
>
> /jay.
>
> On Sun, 20 Oct 2002, Gen Zhang wrote:
>
> > Try 'ssh -X'. With all capitalisations.
> >
> > Hope that helps.
> >
> > Genneth.
> >
> > -Original Message-
> > From: Jacob A [mailto:jacob@;minpost.nu]
> > Sent: 20 October 2002 21:06
> > To: [EMAIL PROTECTED]
> > Subject: Re: Openssh client under X
> >
> > Thanx for the input!
> >
> > I believe "ssh -x" is the default behaviour, but even when I say -x I
> > get the same symptoms.
> >
> > What really confuses me is that it all works like a charm if I run:
> >
> > $ ssh 
> >
> > ...without starting X. (i.e click on the "cygwin icon"
> > (C:\cygwin\cygwin.bat) -- and start an interactive shell (bash) in the
> > cygwin environment.
> >
> > But, if I start X, (which I do with 'startx') -- and then open up an
> > xterm
> > and fire away the same command ($ ssh ), I get connected but
> > thrown out right away. I mean, I'm running the same binary -- what could
> > be different? This leads me to believe that the problem could NOT be on
> > the server side, it must be my cygwin that does _something_ differently
> > when I run the Xserver.
> >
> > Does this work for you? Can you use ssh to login to a remote host from
> > an xterm running in cygwin/XFree
> >
> > Again - I am not primarly interested in "tunneling X" -- I know how that
> > works -- the problem is connecting with ssh at all.
> >
> > Any more thoughts?
> >
> > (again, I'm not subscribing to the list... please email me).
> >
> > /Jay
> >
> > On Sun, 20 Oct 2002, Igor Pechtchanski wrote:
> >
> > > Umm, how embarrassing...  I got confused between OpenSSH and SSH
> > > Secure Shell.  Apologies to all.
> > >
> > > Jay,
> > >
> > > ssh has a special mode where it forwards X requests over the ssh
> > > connection.  It's called X forwarding, and is enabled by either the -X
> > > command line option or a special entry in ~/.ssh/config (I forget
> > > exactly which, it's easily found out from the man page).  If the special
> > > entry is present, ssh will attempt to set up X forwarding, *but only if
> > > DISPLAY is set*.  That was the reason I asked about the DISPLAY setting.
> > >
> > > You can try running ssh as 'ssh -x', which disables X forwarding
> > > regardless of the config file.  If all you need is to run tty mode
> > > programs on the server, or if your machine is reachable and open to X
> > > packets from the server, that should be sufficient.  If 'ssh -x'
> > > works, you could then edit the config file and comment out the
> > > EnableXForwarding (or smth like that) line.
> > >
> > > If you do need to tunnel X packets through ssh when running X, you'll
> > > need to debug this further.  The message I mentioned might be of help
> > > then.
> > > Igor
> > >
> > > On Sun, 20 Oct 2002, Jacob A wrote:
> > >
> > > > ok.
> > > >
> > > > maybe my last post was somewhat unclear.
> > > >
> > > > What I want is to be able to run is:
> > > >
> > > > $ ssh user@host
> > > >
> > > > ...from an xterm window under cygwin/XFree86. Whenever I try that,
> > > > it connects, and then disconnects right after I get connected. If I
> > > > run ssh from cygwin without running X, it works like a charm. Correct
> > > > me if I am wrong, but the DISPLAY variable should have nothing to do
> > > > with this.  All I want is to login on the other machine.
> > > >
> > > > ssh -v -v -v tells me "channel 0 is dead" _after_ I type in the
> > > > password.  My .profile runs on the remote machine, and then I get
> > > > disconnected.  Very frustrating.
> > > >
> > > > Why does it work if I dont run X?
> > > >
> > > > I would like to test connecting to an ssh server with ssh -D. But
> > > > I can't where I am running this.
> > > >
> > > > Noone else has come across this problem?
> > > >
> > > > uh, again - I am not a subscriber to the list, so please mail me
> > > > if you think you know whats going on here.
> > > >
> > > > /jay.
> > > >
> > > > On Sun, 20 Oct 2002, Igor Pechtchanski wrote:
> > > >
> > > > > On Sun, 20 Oct 2002, Jacob A wrote:
> > > >

Re: Where to send corrections for user's manual ?

2002-10-20 Thread Igor Pechtchanski
Perry,

Run 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login', type the
password ("anoncvs"), then 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin
checkout webpages'.  This will give you the current set of cygwin webpages
(including the one you want to fix).  Make all the changes you want, then
make a patch using 'cvs -q diff -up', and send it to this list.  Don't
forget the ChangeLog entry (see http://cygwin.com/contrib.html for
details), and thanks for contributing.
Igor

On Sun, 20 Oct 2002, amores perros wrote:

> I made a list of some (trivial) fixes to the file
> http://www.cygwin.com/cygwin-ug-net/ntsec.html
> but I'm not sure to whom to send them (I tried following
> the up link to the top, but I'm not spotting a link for
> where to send corrections).
>
> If anyone would like them, I'd be happy to send them
> somewhere ?
>
> Cordially,
>
> Perry
>
> (Whereas on an XP box, my build fails because the
> aclocal wrapper fails, I find now on a 2000 box
> my build fails because of the gcc executable not being
> executable problem, so I'm trying to find what the
> answer for that is. If anyone who has found it feels
> kind, perhaps you might email me a link to the answer.)

-- 
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: Openssh client under X

2002-10-20 Thread Jacob A
ok.

maybe my last post was somewhat unclear.

What I want is to be able to run is:

$ ssh user@host

...from an xterm window under cygwin/XFree86. Whenever I try that, it
connects, and then disconnects right after I get connected. If I run ssh
from cygwin without running X, it works like a charm. Correct me if I am
wrong, but the DISPLAY variable should have nothing to do with this.
All I want is to login on the other machine.

ssh -v -v -v tells me "channel 0 is dead" _after_ I type in the password.
My .profile runs on the remote machine, and then I get disconnected. Very
frustrating.

Why does it work if I dont run X?

I would like to test connecting to an ssh server with ssh -D. But I can't
where I am running this.

Noone else has come across this problem?

uh, again - I am not a subscriber to the list, so please mail me if you
think you know whats going on here.

/jay.


"what we do in life echoes in eternity."
   - Maximus Decimus Meridus

On Sun, 20 Oct 2002, Igor Pechtchanski wrote:

> On Sun, 20 Oct 2002, Jacob A wrote:
>
> > Hey there,
> >
> > I have a real weird problem with running the openssh client under X. When
> > I connect to another machine via ssh, it prompts me for the password, and
> > then the session is terminated just after I am logged in.
> >
> > unfortunately, I dont have root access on the machine I want to ssh to, so
> > I cant start sshd with -D there.
> >
> > It works perfectly when I do it without starting X.
> >
> > Anyone else come across this problem?
> >
> > I'm not a subscriber to the list, so please reply to me as well as the
> > list if you have any input.
> >
> > /jay.
>
> Jay,
>
> I assume you want X forwarding when you're running X.  If not, just
> turning it off might do the trick.
>
> Does OpenSSH work if you don't run X but set DISPLAY in your system
> control panel?
> Does OpenSSH have a -v flag or a verbose option?  If so, it might help.
> If not, does cygwin's 'ssh -X' work (with and without DISPLAY set)?
> If you can reproduce the problem with cygwin's ssh, use the -v option for
> some additional debug info.
>
> The following might also be an instructive read:
> http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html
>   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: bash -c

2002-10-20 Thread Christopher Faylor
On Sun, Oct 20, 2002 at 03:10:45PM -0400, Scott Prive wrote:
>> >Chris F.: Please do write that book!
>>I'm negotiating as fast as I can.  :-)
>
>Would it help if everyone politely asked the potential publisher "when"
>they'll ever have a Cygwin book?

:-) So far, I think everyone is convinced.

I just have to convince myself that I have the time to do this.

cgf

--
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: Openssh client under X

2002-10-20 Thread Jacob A
from the ssh manpage:



-X  Enables X11 forwarding.  This can also be specified on a per-host
basis in a configuration file.



"Enables X11 forwarding". This is NOT what I want to do. I simply want to
get a login session on the remote machine.

This problem is really getting to me now...

I'm really curious to hear if anyone else on the list has got this
working?

please throw me an email if you do. thanks.

/jay.


"what we do in life echoes in eternity."
   - Maximus Decimus Meridus

On Sun, 20 Oct 2002, Gen Zhang wrote:

> Try 'ssh -X'. With all capitalisations.
>
> Hope that helps.
>
> Genneth.
>
> -Original Message-
> From: Jacob A [mailto:jacob@;minpost.nu]
> Sent: 20 October 2002 21:06
> To: [EMAIL PROTECTED]
> Subject: Re: Openssh client under X
>
> Thanx for the input!
>
> I believe "ssh -x" is the default behaviour, but even when I say -x I
> get
> the same symptoms.
>
> What really confuses me is that it all works like a charm if I run:
>
> $ ssh 
>
> ...without starting X. (i.e click on the "cygwin icon"
> (C:\cygwin\cygwin.bat) -- and start an interactive shell (bash) in the
> cygwin environment.
>
> But, if I start X, (which I do with 'startx') -- and then open up an
> xterm
> and fire away the same command ($ ssh ), I get connected but
> thrown out right away. I mean, I'm running the same binary -- what could
> be different? This leads me to believe that the problem could NOT be on
> the server side, it must be my cygwin that does _something_ differently
> when I run the Xserver.
>
> Does this work for you? Can you use ssh to login to a remote host from
> an
> xterm running in cygwin/XFree
>
> Again - I am not primarly interested in "tunneling X" -- I know how that
> works -- the problem is connecting with ssh at all.
>
> Any more thoughts?
>
> (again, I'm not subscribing to the list... please email me).
>
> /Jay
>
> 
> "what we do in life echoes in eternity."
>- Maximus Decimus Meridus
>
> On Sun, 20 Oct 2002, Igor Pechtchanski wrote:
>
> > Umm, how embarrassing...  I got confused between OpenSSH and SSH
> Secure
> > Shell.  Apologies to all.
> >
> > Jay,
> >
> > ssh has a special mode where it forwards X requests over the ssh
> > connection.  It's called X forwarding, and is enabled by either the -X
> > command line option or a special entry in ~/.ssh/config (I forget
> exactly
> > which, it's easily found out from the man page).  If the special entry
> is
> > present, ssh will attempt to set up X forwarding, *but only if DISPLAY
> is
> > set*.  That was the reason I asked about the DISPLAY setting.
> >
> > You can try running ssh as 'ssh -x', which disables X forwarding
> > regardless of the config file.  If all you need is to run tty mode
> > programs on the server, or if your machine is reachable and open to X
> > packets from the server, that should be sufficient.  If 'ssh -x'
> works,
> > you could then edit the config file and comment out the
> EnableXForwarding
> > (or smth like that) line.
> >
> > If you do need to tunnel X packets through ssh when running X, you'll
> need
> > to debug this further.  The message I mentioned might be of help then.
> > Igor
> >
> > On Sun, 20 Oct 2002, Jacob A wrote:
> >
> > > ok.
> > >
> > > maybe my last post was somewhat unclear.
> > >
> > > What I want is to be able to run is:
> > >
> > > $ ssh user@host
> > >
> > > ...from an xterm window under cygwin/XFree86. Whenever I try that,
> it
> > > connects, and then disconnects right after I get connected. If I run
> ssh
> > > from cygwin without running X, it works like a charm. Correct me if
> I am
> > > wrong, but the DISPLAY variable should have nothing to do with this.
> > > All I want is to login on the other machine.
> > >
> > > ssh -v -v -v tells me "channel 0 is dead" _after_ I type in the
> password.
> > > My .profile runs on the remote machine, and then I get disconnected.
> Very
> > > frustrating.
> > >
> > > Why does it work if I dont run X?
> > >
> > > I would like to test connecting to an ssh server with ssh -D. But I
> can't
> > > where I am running this.
> > >
> > > Noone else has come across this problem?
> > >
> > > uh, again - I am not a subscriber to the list, so please mail me if
> you
> > > think you know whats going on here.
> > >
> > > /jay.
> > >
> > > 
> > > "what we do in life echoes in eternity."
> > >- Maximus Decimus Meridus
> > >
> > > On Sun, 20 Oct 2002, Igor Pechtchanski wrote:
> > >
> > > > On Sun, 20 Oct 2002, Jacob A wrote:
> > > >
> > > > > Hey there,
> > > > >
> > > > > I have a real weird problem with running the openssh client
> under X. When
> > > > > I connect to another machine via ssh, it prompts me for the
> password, and
> > > > > then the session is terminated just after I am logged in.
> > > > >
> > > > > unfortunately, I dont have root access on the machine I w

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/




Re: Problems with most recent snapshot

2002-10-20 Thread Pierre A. Humblet
At 11:01 AM 10/20/2002 -0400, Christopher Faylor wrote:
>I've noticed a strange hanging problem with the most recent 2002-10-19
>and 2002-10-20 snapshots.

Chris,

On WinME I didn't noticed anything special yesterday (from cvs).
Motivated by your e-mail I just updated cvs and rebuilt. 
Things seem to run normal, except sometimes under gdb, see below.

Pierre

~: gdb -nw id
GNU gdb 5.0 (20010428-3)

(gdb) run
Starting program: /usr/bin/id.exe 
170 [unknown (0xF087FF37)] ID 35649333 cygthread::stub: errnoneous
thread activation
C:\PROGRAM FILES\CYGWIN\BIN\ID.EXE: *** WFSO failed, Win32 error 6


Program exited normally.
(gdb) 
(gdb) 
(gdb) 
(gdb) run
Starting program: /usr/bin/id.exe 
uid=510(pierre) gid=544(unknown) groups=544(unknown),544(unknown)

Program exited normally.
(gdb) quit

Subsequent uses of gdb run OK 
~: gdb -nw id
GNU gdb 5.0 (20010428-3)

(gdb) run
Starting program: /usr/bin/id.exe 
uid=510(pierre) gid=544(unknown) groups=544(unknown),544(unknown)

Program exited normally.
(gdb) 

P.S.: my spelling checker noticed "errnoneous".


--
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: bash -c

2002-10-20 Thread Scott Prive
> >Chris F.: Please do write that book!
> 
> I'm negotiating as fast as I can.  :-)
> 
> cgf

Would it help if everyone politely asked the potential publisher "when" they'll ever 
have a Cygwin book?
;-)

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




[PATCH] Re: cvs-1.11.0-1 fails to build

2002-10-20 Thread Igor Pechtchanski
On Sun, 20 Oct 2002, Igor Pechtchanski wrote:

> On Sun, 20 Oct 2002, Max Bowsher wrote:
>
> > Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> > >> I'm having a problem building cvs-1.11.0-1.  GDBM_EXPORT is not
> > >> picked up as a macro (which I assume it is, as it's used to declare
> > >> functions), and this results in parse errors and gcc being generally
> > >> unhappy.  I'm attaching the exact error message.
> > >> This is probably because I have gdbm-1.8.0-4, and cvs lists
> > >> gdbm-1.8.0-3 in its dependences, although Chuck Wilson apparently
> > >> received no complaints during the test period (
> > >> http://www.cygwin.com/ml/cygwin/2002-02/msg01333.html ).
> >
> > I ran into this problem, and solved it by backing out Chuck's gdbm changes,
> > instead building cvs in its flat-file mode. I needed to do this so I had a
> > cvs which could act on repositories created using this method.
> >
> > [snip]
> >
> > Attatched is Chuck's patch as included in the Cygwin source package, spilt
> > into 2: cygupdate is general fixups, and gdbmify is the gdbm additions,
> > which I backed out to build a cvs_flatdbm.exe which I keep in ~/bin.
> > Max.
>
> [snip]
>
> When I have some time, I'll look into patching cvs to build with the new
> gdbm...

Attached is a patch to cvs that lets it build with the current version of
gdbm.
Igor

ChangeLog:
2002-10-20  Igor Pechtchanski <[EMAIL PROTECTED]>

* mygdbm.h: Remove macro from declarations of dbm_close, dbm_fetch,
dbm_store, dbm_delete, dbm_firstkey, dbm_nextkey.

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

--- ./src/mygdbm.h  2002-10-20 14:44:40.0 -0400
+++ ./src/mygdbm.h-orig 2002-10-20 14:44:35.0 -0400
@@ -13,12 +13,12 @@
 
 /* definitions copied from ndbm.h */
 typedef struct {int dummy[10];} DBM;
-extern void __cdecl dbm_close();
-extern datum __cdecl dbm_fetch();
-extern int __cdecl dbm_store();
-extern int __cdecl dbm_delete();
-extern datum __cdecl dbm_firstkey();
-extern datum __cdecl dbm_nextkey();
+extern GDBM_EXPORT(void,dbm_close) ();
+extern GDBM_EXPORT(datum,   dbm_fetch) ();
+extern GDBM_EXPORT(int, dbm_store) ();
+extern GDBM_EXPORT(int, dbm_delete) ();
+extern GDBM_EXPORT(datum,   dbm_firstkey) ();
+extern GDBM_EXPORT(datum,   dbm_nextkey) ();
 
 DBM * my_gdbm_open PROTO((char *file, int flags, int mode));
 #endif /* USE_GDBM && !MY_NDBM */

--
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: drive letter translation under cygwin

2002-10-20 Thread Christopher Faylor
Please check out the project web page for links to available information
and ports:  http://cygwin.com/ .

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

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

On Mon, Oct 21, 2002 at 09:39:51AM +0800, Nicholas Yue wrote:
>Hi Chris,
>
>   You posted the following reply about path names but I could not
>follow the recommended URL anymore.
>
>   I am having similar problem on different machines.
>
>>On Fri, Jun 09, 2000 at 05:16:59PM -0400, Reynolds, John wrote:
>>>I've been installing Cygwin on several machines and have found that at
>>>times it mounts additional drives at /cygdrive/"drive letter" (e.g.
>>>/cygdrive/e) instead of just /"drive letter" (e.g.  /e).  I can't find
>>>any documentation that addresses this.
>>
>>The project web page is:  http://sourceware.cygnus.com/cygwin/
>>
>>Follow the links for documentation and search for the term "path
>>names".
>>
>>cgf
>>
>>--
>>Want to unsubscribe from this list?
>>Send a message to [EMAIL PROTECTED]
>
>Cheers
>--
>Tan Meng YUE (Nicholas)
>Software Engineer
>Immersive Technologies Pty Ltd
>21 King Edward Road
>Osborne Park WA  6017
> 
>Ph:  +61 8 9204 2944
>Fx:  +61 8 9204 2955
> 
> 
> 
>www.ImmersiveTechnologies.com
> 
>This message is intended only for the named recipient. If you are not
>the intended recipient you are notified that disclosing, copying,
>distributing or taking any action in reliance on the contents of this
>information is strictly prohibited.

--
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: Where to send corrections for user's manual ?

2002-10-20 Thread Christopher Faylor
On Sun, Oct 20, 2002 at 09:57:09PM -0400, Igor Pechtchanski wrote:
>Perry,
>
>Run 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login', type the
>password ("anoncvs"), then 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin
>checkout webpages'.  This will give you the current set of cygwin webpages
>(including the one you want to fix).  Make all the changes you want, then
>make a patch using 'cvs -q diff -up', and send it to this list.  Don't
>forget the ChangeLog entry (see http://cygwin.com/contrib.html for
>details), and thanks for contributing.

This is the URL for the web pages.

The documentation is part of the cygwin repository.  The "Source in CVS"
link at http://cygwin.com/ has the link to tips for retriving the cygwin
cvs repository.  It's in the winsup/doc directory.

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: Where to send corrections for user's manual ?

2002-10-20 Thread Igor Pechtchanski
On Sun, 20 Oct 2002, Christopher Faylor wrote:

> On Sun, Oct 20, 2002 at 09:57:09PM -0400, Igor Pechtchanski wrote:
> >Perry,
> >
> >Run 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login', type the
> >password ("anoncvs"), then 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin
> >checkout webpages'.  This will give you the current set of cygwin webpages
> >(including the one you want to fix).  Make all the changes you want, then
> >make a patch using 'cvs -q diff -up', and send it to this list.  Don't
> >forget the ChangeLog entry (see http://cygwin.com/contrib.html for
> >details), and thanks for contributing.
>
> This is the URL for the web pages.
>
> The documentation is part of the cygwin repository.  The "Source in CVS"
> link at http://cygwin.com/ has the link to tips for retriving the cygwin
> cvs repository.  It's in the winsup/doc directory.
> cgf

Ugh, I confused User Guide and User Manual...  That's 2 mixups in as many
days...  Perhaps I should refrain from answering e-mails after 11 p.m.
Sorry,
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: Where to send corrections for user's manual ?

2002-10-20 Thread Igor Pechtchanski
Well, it's after 11 p.m., but...  *bows*
Igor

On Mon, 21 Oct 2002, Gregg C Levine wrote:

> Hello from Gregg C Levine
> Not quite, Igor take a bow. You win. I have been keeping count, and
> Christopher you win second prize.
> Gregg C Levine [EMAIL PROTECTED]
> "Oh my!" The Second Doctor's nearly favorite phrase.
> - Original Message -
> From: "Christopher Faylor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, October 20, 2002 11:58 PM
> Subject: Re: Where to send corrections for user's manual ?
>
>
> > On Sun, Oct 20, 2002 at 11:55:10PM -0400, Igor Pechtchanski wrote:
> > >On Sun, 20 Oct 2002, Christopher Faylor wrote:
> > >
> > >> On Sun, Oct 20, 2002 at 09:57:09PM -0400, Igor Pechtchanski wrote:
> > >> >Perry,
> > >> >
> > >> >Run 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login', type the
> > >> >password ("anoncvs"), then 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin
> > >> >checkout webpages'.  This will give you the current set of cygwin webpages
> > >> >(including the one you want to fix).  Make all the changes you want, then
> > >> >make a patch using 'cvs -q diff -up', and send it to this list.  Don't
> > >> >forget the ChangeLog entry (see http://cygwin.com/contrib.html for
> > >> >details), and thanks for contributing.
> > >>
> > >> This is the URL for the web pages.
> > >>
> > >> The documentation is part of the cygwin repository.  The "Source in CVS"
> > >> link at http://cygwin.com/ has the link to tips for retriving the cygwin
> > >> cvs repository.  It's in the winsup/doc directory.
> > >> cgf
> > >
> > >Ugh, I confused User Guide and User Manual...  That's 2 mixups in as many
> > >days...  Perhaps I should refrain from answering e-mails after 11 p.m.
> > >Sorry,
> >
> > Don't worry.  Nobody's keeping count.  If they were, I'm sure I'd be miles
> > ahead of you, if only for the way I've screwed up the cygwin DLL in the
> > last couple of weeks.
> >
> > cgf

-- 
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: Where to send corrections for user's manual ?

2002-10-20 Thread Gregg C Levine
Hello from Gregg C Levine
Not quite, Igor take a bow. You win. I have been keeping count, and
Christopher you win second prize.
Gregg C Levine [EMAIL PROTECTED]
"Oh my!" The Second Doctor's nearly favorite phrase.
- Original Message -
From: "Christopher Faylor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 20, 2002 11:58 PM
Subject: Re: Where to send corrections for user's manual ?


> On Sun, Oct 20, 2002 at 11:55:10PM -0400, Igor Pechtchanski wrote:
> >On Sun, 20 Oct 2002, Christopher Faylor wrote:
> >
> >> On Sun, Oct 20, 2002 at 09:57:09PM -0400, Igor Pechtchanski wrote:
> >> >Perry,
> >> >
> >> >Run 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login', type the
> >> >password ("anoncvs"), then 'cvs -d
:pserver:[EMAIL PROTECTED]:/cvs/cygwin
> >> >checkout webpages'.  This will give you the current set of cygwin
webpages
> >> >(including the one you want to fix).  Make all the changes you want,
then
> >> >make a patch using 'cvs -q diff -up', and send it to this list.  Don't
> >> >forget the ChangeLog entry (see http://cygwin.com/contrib.html for
> >> >details), and thanks for contributing.
> >>
> >> This is the URL for the web pages.
> >>
> >> The documentation is part of the cygwin repository.  The "Source in
CVS"
> >> link at http://cygwin.com/ has the link to tips for retriving the
cygwin
> >> cvs repository.  It's in the winsup/doc directory.
> >> cgf
> >
> >Ugh, I confused User Guide and User Manual...  That's 2 mixups in as many
> >days...  Perhaps I should refrain from answering e-mails after 11 p.m.
> >Sorry,
>
> Don't worry.  Nobody's keeping count.  If they were, I'm sure I'd be miles
> ahead of you, if only for the way I've screwed up the cygwin DLL in the
> last couple of weeks.
>
> cgf
>
> --
> 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/
>
>


--
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: Where to send corrections for user's manual ?

2002-10-20 Thread Christopher Faylor
On Sun, Oct 20, 2002 at 11:55:10PM -0400, Igor Pechtchanski wrote:
>On Sun, 20 Oct 2002, Christopher Faylor wrote:
>
>> On Sun, Oct 20, 2002 at 09:57:09PM -0400, Igor Pechtchanski wrote:
>> >Perry,
>> >
>> >Run 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login', type the
>> >password ("anoncvs"), then 'cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin
>> >checkout webpages'.  This will give you the current set of cygwin webpages
>> >(including the one you want to fix).  Make all the changes you want, then
>> >make a patch using 'cvs -q diff -up', and send it to this list.  Don't
>> >forget the ChangeLog entry (see http://cygwin.com/contrib.html for
>> >details), and thanks for contributing.
>>
>> This is the URL for the web pages.
>>
>> The documentation is part of the cygwin repository.  The "Source in CVS"
>> link at http://cygwin.com/ has the link to tips for retriving the cygwin
>> cvs repository.  It's in the winsup/doc directory.
>> cgf
>
>Ugh, I confused User Guide and User Manual...  That's 2 mixups in as many
>days...  Perhaps I should refrain from answering e-mails after 11 p.m.
>Sorry,

Don't worry.  Nobody's keeping count.  If they were, I'm sure I'd be miles
ahead of you, if only for the way I've screwed up the cygwin DLL in the
last couple of weeks.

cgf

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




urgent

2002-10-20 Thread DR:EDDY JOHNSON
ATTN:
 
I PRESUME THIS MAIL WILL NOT BE A SURPRISE TO YOU. 
I AM AN ACCOUNTANT WITH THE MINISTRY OF MINERAL 
RESOURCES AND ENERGY IN SOUTH AFRICA AND ALSO A MEMBER
OF CONTRACTS AWARDING COMMITTEE OF THIS MINISTRY UNDER
SOUTH AFRICA GOVERNMENT. 
 
MANY YEARS AGO, SOUTH AFRICA GOVERNMENT ASKED THIS
COMMITTEE TO AWARDS CONTRACTS TO FOREIGN FIRMS, WHICH
I AND 2 OF MY PARTNERS ARE THE LEADER OF THIS
COMMITTEE, WITH OUR GOOD POSITION , THIS CONTRACRS 
WAS OVER INVOICED TO THE TUNE OF US$21,500,000:00 AS A

DEAL TO BE BENEFIT BY THE THREE TOP MEMBER OF THIS 
COMMITTEE. 
NOW THE CONTRACTS VALUE HAS BEEN PAID OFF TO THE 
ACTUAL CONTRACTORS THAT EXECUTED THIS JOBS, ALL WE 
WANT NOW IS A TRUSTED FOREIGN PARTNER LIKE YOU THAT WE

SHALL FRONT WITH HIS BANKING ACCOUNT NUMBER TO CLAIM 
THE OVER INFLATED SUM. 
UPON OUR AGREEMEENT TO CARRY ON THIS TRANSACTION WITH 
YOU, THE SAID FUND WILL BE SHARE AS FOLLOWS. 
75% WILL BE FOR US IN SOUTH AFRICA. 
20% FOR USING YOUR ACCOUNT AND OTHER CONTRIBUTION 
THAT MIGHT REQIURED FROM YOU. 
5% IS SET ASIDE FOR THE UP FRONT EXPENCES THAT 
WILL BE ENCOUNTER BY BOTH PARTY TO GET ALL NECESSARY 
DOCUMENTS AND FORMARLITIES THAT WILL JUSTIFY YOU AS 
THE RIGHTFUL OWNER OF THIS FUND. 
IF YOU ARE INTERESTED IN THIS TRANSACTION, KINDLY 
REPLY THIS MASSEGE WITH ALL YOUR PHONE AND FAX
NUMBERS, OR MAIL ME THROUGH([EMAIL PROTECTED])
TO ENABLE US FURNISH YOU WITH DETAILS AND
PROCEDURES OF THIS TRANSACTION. 
 
YOURS FAITHFULLY. 

DR:EDDY JOHNSON.

 





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