Re: file not working on executables?

2005-09-07 Thread Corinna Vinschen
On Sep 7 15:05, Luke Kendall wrote: > I installed the latest Cygwin a couple of days ago. "file" now > produces no information for binary executables. Anyone else seeing > this problem? (I checked that "file" is /usr/bin/file.) > > $ file /usr/bin/ls.exe > /usr/bin/ls.exe: > $ file /cygdrive/

[ANNOUNCEMENT] Updated: file-4.15-3

2005-09-07 Thread Corinna Vinschen
I've updated the version of file to 4.15-3. This release is supposed to solve problems examining binary files on textmode mounts. 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. Then, run setup and

Re: XEMACS and $HOME

2005-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Achim Schaefer on 9/6/2005 7:50 AM: > Hi, > > I have a problem with my $HOME setting. > Starting xemacs I get the following message: > > $ xemacs > Syntax error: "Bad format environment-variable substitution", > "//SV018182/luxcasch$"

Re: 1.5.18-1 Segfault on setup postinstall

2005-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andrew Comport on 9/6/2005 1:53 PM: > Hello, > > It has now been 2 weeks that I am trying to get my cywin setup working > again. After having problems with an update I have deleted everything > including registry values and tried a fresh

[ANNOUNCEMENT] Updated: OpenSSH-4.2p1-1

2005-09-07 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 4.2p1-1. This is an official new upstream release. The official release message: OpenSSH 4.2 has just been released. It will be available from the mirrors listed at http://www.openssh

Re: XEMACS and $HOME

2005-09-07 Thread Achim Schaefer
> According to Achim Schaefer on 9/6/2005 7:50 AM: > > Hi, > > > > I have a problem with my $HOME setting. > > Starting xemacs I get the following message: > > > > $ xemacs > > Syntax error: "Bad format environment-variable substitution", > > "//SV018182/luxcasch$" > > My only guess is that xem

Re: XEMACS and $HOME

2005-09-07 Thread Igor Pechtchanski
On Wed, 7 Sep 2005, Eric Blake wrote: > According to Achim Schaefer on 9/6/2005 7:50 AM: > > Hi, > > > > I have a problem with my $HOME setting. > > Starting xemacs I get the following message: > > > > $ xemacs > > Syntax error: "Bad format environment-variable substitution", > > "//SV018182/luxca

Re: XEMACS and $HOME

2005-09-07 Thread Achim Schaefer
> On Wed, 7 Sep 2005, Eric Blake wrote: > > > According to Achim Schaefer on 9/6/2005 7:50 AM: > > > Hi, > > > > > > I have a problem with my $HOME setting. > > > Starting xemacs I get the following message: > > > > > > $ xemacs > > > Syntax error: "Bad format environment-variable substitution", >

Re: Intermittent scp crash on completion, Win98 SE, snapshot

2005-09-07 Thread Aaron Humphrey
On 9/6/05, Aaron Humphrey wrote: > I tried a few times on the weekend, but no success yet. The first time, > strace crashed right away, leaving me with an unkillable error window, > which left me gunshy for a couple of days. When I tried it again this > morning, it did much the same thing, except

[ANNOUNCEMENT] New version of the Cygwin setup.exe program released

2005-09-07 Thread Brian Dessent
I have updated the Cygwin setup utility to version 2.510.2.1. This release contains a number of bugfixes and additional features, which are summarized below. The setup.exe file can be downloaded from or by clicking on "Install Cygwin Now" on the main cygwin.com page

sftp "connection closed"

2005-09-07 Thread Jack Offerman
When "ssh host" works but "sftp host" doesn't, where should I look? Both were working before. But I realized that I needed to fix /etc/passwd and /etc/group for another reason, so I did mkpasswd and mkgroup. Then did ssh-host-config again. With that done, now I am happy to see the ssh user fina

Re: [ANNOUNCEMENT] New version of the Cygwin setup.exe program released

2005-09-07 Thread Eric Blake
> > I have updated the Cygwin setup utility to version 2.510.2.1. This release > contains a number of bugfixes and additional features, which are summarized > below. Hooray! Much improved! Minor bugs I have noticed: On the file chooser page, all text has a white background rather than using th

happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there. I'm (trying to) writing a program to configure a GAG boot manager installation (gag.sf.net) from command line, while trying to create a program as portable as possible. I began the developement under FreeBSD, and there I learnt that /dev/ad0

Re: happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Corinna Vinschen
On Sep 7 19:42, Lapo Luchini wrote: > Is is normal that Cygwin's lseek doesn't work on /dev/sda? > What should I do? > My own personal work-around would be to read all those 44 sectors (and > discarding them), but I don't like that very much, is there some > better/cleaner alternative? > > If any

Re: Hang with snapshot 20050905

2005-09-07 Thread Volker Quetschke
I just discovered that after upgrading from snapshot 20050716 to 20050905 my OOo build hangs. Sorry, I didn't update/test the snapshots on this machine (Opteron 2.4GHz, cygcheck.log attached.) more frequently. ... Is the newest snapshot any better? I'll it try now. This will take a few hours.

Re: happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Corinna Vinschen
On Sep 7 19:48, Corinna Vinschen wrote: > On Sep 7 19:42, Lapo Luchini wrote: > > Is is normal that Cygwin's lseek doesn't work on /dev/sda? > > What should I do? > > My own personal work-around would be to read all those 44 sectors (and > > discarding them), but I don't like that very much, is t

Re: [ANNOUNCEMENT] New version of the Cygwin setup.exe program released

2005-09-07 Thread Sean McMahon
Any chance of getting accessability support in setup.exe? The list of packages should be setup as a standard listview with the graphic for each item as a multistate checkbox similar to what you have in the windows setup utility. - Original Message - From: "Eric Blake" <[EMAIL PROTECTED]>

Re: Hang with snapshot 20050905

2005-09-07 Thread Christopher Faylor
On Wed, Sep 07, 2005 at 02:01:31PM -0400, Volker Quetschke wrote: I just discovered that after upgrading from snapshot 20050716 to 20050905 my OOo build hangs. Sorry, I didn't update/test the snapshots on this machine (Opteron 2.4GHz, cygcheck.log attached.) more frequently. >>

Re: happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Corinna Vinschen wrote: > I really thought you know better. But you know that using a "user" mailing list you can't resist to do silly question ;-) Except jokes, what I really forgot to tell is that the program is still that small (119 lines) that wou

Re: happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Corinna Vinschen
Try this: On Sep 7 20:11, Lapo Luchini wrote: > At the bare minumum it all boils down to: > > % cat short.c > #include > #include > #include > #include #include > #define GAG_OFFSET 0x59BD > main() { > char sect[512]; > int dev, i; > dev = open("/dev/sdb", O_RDONLY | O_BINARY, 0);

Re: happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Corinna Vinschen wrote: > Try this: > #include It works. Silly me, I didn't think about checking headers, as it was good at compile-time (strange thing, tough, read did work, but lseek didn't). Oh well, thanks. - -- Lapo Luchini [EMAIL PROTECTED]

RE: [ANNOUNCEMENT] New version of the Cygwin setup.exe program released

2005-09-07 Thread Dave Korn
Original Message >From: Sean McMahon >Sent: 07 September 2005 19:06 > Any chance of getting accessability support in setup.exe? The list of > packages should be setup as a standard listview with the graphic for > each item as a multistate checkbox similar to what you have in the > window

RE: happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Dave Korn
Original Message >From: Lapo Luchini >Sent: 07 September 2005 19:32 > Corinna Vinschen wrote: >> Try this: >> #include > > It works. > Silly me, I didn't think about checking headers, as it was good at > compile-time No, it wasn't "good at compile-time". It was bad at compile-time

Re: happily messing up with raw devices (aka: lseek problems)

2005-09-07 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Korn wrote: > Each of those warnings represents incorrect code on your part. Your > coding techniques would have barely scraped by back in 1979. Since 1989, > they've just been completely invalid. Stop taking these crude shortcuts - I'm a bi

Simple find command does not work for * .html

2005-09-07 Thread Matthew Movafaghi
For some reason the following find command will not complete for *.html. It says: find: paths must precede expression however, all of the other ones work. I searched on google and all I came up with was this. http://blogs.warwick.ac.uk/hmjamieson/favs/my_favourites/?item=&display=full

Re: 1.5.18-1 Segfault on setup postinstall

2005-09-07 Thread Eric Blake
> I left the install running overnightstill no progress... Part of your problem is explained by this: > Not Found: sh /etc/postinstall/00ash.sh tries to set up a working /bin/sh. If that fails, then everything else is suspect. > Apparently its not cygcheck that crashes but id.exe: > >

Re: Simple find command does not work for * .html

2005-09-07 Thread Eric Blake
> > For some reason the following find command will not complete for *.html. > > It says: find: paths must precede expression User error. Remember that the shell does filename globbing before find ever sees its input (unless you have done set -f in a POSIX shell). If the current directory c

Re: sftp "connection closed"

2005-09-07 Thread Larry Hall
At 12:33 PM 9/7/2005, you wrote: >When "ssh host" works but "sftp host" doesn't, where should I look? > >Both were working before. But I realized that I needed to fix >/etc/passwd and /etc/group >for another reason, so I did mkpasswd and mkgroup. Then did >ssh-host-config again. > >With that done

Re: sftp "connection closed"

2005-09-07 Thread Jack Offerman
On 9/7/05, Larry Hall <[EMAIL PROTECTED]> wrote: > At 12:33 PM 9/7/2005, you wrote: > >When "ssh host" works but "sftp host" doesn't, where should I look? > > > >I appreciate your help. > > I guess you could try starting the server with debugging turned on and > see what you get from the logs ther

Re: sftp "connection closed"

2005-09-07 Thread Igor Pechtchanski
On Wed, 7 Sep 2005, Jack Offerman wrote: > On 9/7/05, Larry Hall <[EMAIL PROTECTED]> wrote: . Thanks. > > At 12:33 PM 9/7/2005, you wrote: > > >When "ssh host" works but "sftp host" doesn't, where should I look? > > > > > >I appreciate your help. > > >

Re: Hang with snapshot 20050905

2005-09-07 Thread Christopher Faylor
On Wed, Sep 07, 2005 at 02:07:57PM -0400, Christopher Faylor wrote: >On Wed, Sep 07, 2005 at 02:01:31PM -0400, Volker Quetschke wrote: >I just discovered that after upgrading from snapshot 20050716 to >20050905 my OOo build hangs. Sorry, I didn't update/test the snapshots >on this machi

Re: sftp "connection closed"

2005-09-07 Thread Jean-Sebastien Trottier
Hi Jack, On Wed, Sep 07, 2005 at 03:57:59PM -0700, Jack Offerman wrote: > On 9/7/05, Larry Hall <[EMAIL PROTECTED]> wrote: > > At 12:33 PM 9/7/2005, you wrote: > > >When "ssh host" works but "sftp host" doesn't, where should I look? > > > > > >I appreciate your help. > > > > I guess you could try

Re: file not working on executables?

2005-09-07 Thread Luke Kendall
On 7 Sep, Corinna Vinschen wrote: > Oh well, why are you still using textmode? We should drop this choice from > setup.exe entirely. The logic went: 1) Under Windows, most of the programs we use are native Windows ones, so we choose DOS style line endings during Cygwin install. 2) I ass

Setup 2.510.2.1 does nor work!

2005-09-07 Thread Angelo Graziosi
I have upgraded setup.exe to new 2.510.2.1 and tried to use it to install (Install from Local Directory) some upgrading package (file-4.15-3 etc.) : all in setup.ini 20050907 16:30 that requests this new version of setup.exe. But it fails when 'parsing ini file': a popup window appe

About Cygwin announcements

2005-09-07 Thread Luke Kendall
Despite reading all the Cygwin announcement emails assiduously, I'm occasionally surprised to learn of significant improvements that weren't mentioned in the announcements. No one has a perfect memory, so I can easily see how it'd be easy to overlook mentioning some great new feature, in an announ

UID not correct - not getting domain's UID

2005-09-07 Thread Andrew DeFaria
New contract, new employer, new problems. Now I know that I need to do mkpasswd -l -d > /etc/passwd and mkgroup -l -d > /etc/group, etc. However when I start a bash shell id returns: $ id uid=400(adefaria) gid=401(Domain Users) groups=544(Administrators),545(Users),38018(CTXSJCA),28526(dept-67

Re: UID not correct - not getting domain's UID

2005-09-07 Thread Igor Pechtchanski
On Wed, 7 Sep 2005, Andrew DeFaria wrote: New contract, new employer, new problems. Now I know that I need to do mkpasswd -l -d > /etc/passwd and mkgroup -l -d > /etc/group, etc. However when I start a bash shell id returns: $ id uid=400(adefaria) gid=401(Domain Users) groups=544(Administrators

Re: Setup 2.510.2.1 does nor work!

2005-09-07 Thread Brian Dessent
Bug reports for setup.exe should be sent to cygwin-apps@, not [EMAIL PROTECTED] Please direct replies to [EMAIL PROTECTED] Angelo Graziosi wrote: > But it fails when 'parsing ini file': a popup window appears saying: > > Application error: cygwin setup > > The instruction '0x009501bd'

Re: UID not correct - not getting domain's UID

2005-09-07 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Wed, 7 Sep 2005, Andrew DeFaria wrote: New contract, new employer, new problems. Now I know that I need to do mkpasswd -l -d > /etc/passwd and mkgroup -l -d > /etc/group, etc. However when I start a bash shell id returns: $ id uid=400(adefaria) gid=401(Domain Users

slogin and problems with network shares

2005-09-07 Thread Luke Kendall
When I slogin to WIndows now, and enter my password, the network shares seem to behave differently. Previously, I could do this to restore all the network connections: if [ ! -z "$SSH_CONNECTION" ] then echo "Logged in via ssh: now restoring any network connections" net use | \ se

Re: Setup 2.510.2.1 does nor work!

2005-09-07 Thread Jason FU
Angelo Graziosi roma1.infn.it> writes: > > > I have upgraded setup.exe to new 2.510.2.1 and tried to use it to install > (Install from Local Directory) some upgrading package (file-4.15-3 etc.) : > all in setup.ini 20050907 16:30 that requests this new version of > setup.e

Logout Terminal Services RDC ends ssh invoked by W2k3 service

2005-09-07 Thread Michael Brian Bentley
We run an application under Windows 2003 Server Standard Edition as a service using Firedaemon. That application invokes ssh connections using the command c:\cygwin\bin\ssh -T -l fill_in_the_username with the appropriate ssh keys setup well ahead of time. When a user logs onto the W2k3 Server