Re: Cygwin 1.7 on a FLASH Drive

2008-08-21 Thread Thorsten Kampe
* Ralph Hempel (Wed, 20 Aug 2008 14:31:10 -0400) > Larry Hall (Cygwin) wrote: > > Ralph Hempel wrote: > >> I'd like to have a complete Cygwin environment on a FLASH > >> drive, but of course using that drive to compile stuff in > >> my HOME directory will be awfully slow. > > > > Why is that? > >

Re: Cygwin 1.7 on a FLASH Drive

2008-08-21 Thread Thorsten Kampe
* Larry Hall (Cygwin) (Wed, 20 Aug 2008 14:39:11 -0400) > Ralph Hempel wrote: > > Larry Hall (Cygwin) wrote: > >> Ralph Hempel wrote: > >>> Yes, I've read the FAQ on making Cygwin portable :-) > >>> > >>> I'd like to have a complete Cygwin environment on a FLASH > >>> drive, but of course using tha

Re: ./configure : no such file or directory

2008-08-21 Thread Corinna Vinschen
On Aug 20 22:03, Tim Prince wrote: > noPartition wrote: >> hi everyone , I'm new to the forum , please don't rank me out :) >> I'm having trouble with part of the GNU toolchain , specifically >> 'configure' . I've installed the relevant packages , ie diffutils , but I >> still get the error titlin

Re: Cygwin 1.7 on a FLASH Drive

2008-08-21 Thread Albrecht Schlosser
Ralph Hempel wrote: Yes, I've read the FAQ on making Cygwin portable :-) I'd like to have a complete Cygwin environment on a FLASH drive, but of course using that drive to compile stuff in my HOME directory will be awfully slow. Is there a way to create a symlink of a directory on a local hard

Re: [ANNOUNCEMENT] Updated: csih-0.1.8-1

2008-08-21 Thread Corinna Vinschen
Hi Chuck, On Aug 20 15:07, [EMAIL PROTECTED] wrote: > Changes (since 0.1.7-1) > == > * explicitly set permissions on /var/[log|run|empty] > and /etc. This simplifies code in most callers. > * Better support for (pre-existing) domain accounts > as privileged and unprivileged

Building kernel modules

2008-08-21 Thread Bosko Radivojevic
Hi all! I'm trying to build some kernel modules for ARM platform on Cygwin. I have working cross-compiler (gcc 4.1.1, from GNUARM project), but I'm unable to build kernel scripts that are needed for building modules (scripts/mod/...). It looks that all problems are .h related. I have resolved prob

Re: Cygwin 1.7 on a FLASH Drive

2008-08-21 Thread Ralph Hempel
Albrecht Schlosser wrote: Ralph Hempel wrote: mount -f -s -b "d:\my_home" "/home/username" and umount after you are done with it ? That sounds more like what I want. I really do know how to do all of this under Linux. The main reason I'm asking the question here is that some of you will ha

Re: Building kernel modules

2008-08-21 Thread Larry Hall (Cygwin)
Bosko Radivojevic wrote: Hi all! I'm trying to build some kernel modules for ARM platform on Cygwin. I have working cross-compiler (gcc 4.1.1, from GNUARM project), but I'm unable to build kernel scripts that are needed for building modules (scripts/mod/...). It looks that all problems are .h re

Re: Building kernel modules

2008-08-21 Thread Bosko Radivojevic
Larry, thank you for your answer. I'll ask there too. Besides this good advice, do you have any other related to problem I'm trying to solve? On Thu, Aug 21, 2008 at 4:40 PM, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: > While this is certainly a valid location to make such an inquiry, perhap

Re: Building kernel modules

2008-08-21 Thread Larry Hall (Cygwin)
Bosko Radivojevic wrote: Larry, thank you for your answer. I'll ask there too. Besides this good advice, do you have any other related to problem I'm trying to solve? Sorry no. I'm no cross-compile expert and I don't use the GNU ARM tool-chain. To me, it sounds like there's a problem with th

Re: Building kernel modules

2008-08-21 Thread Bosko Radivojevic
On Thu, Aug 21, 2008 at 5:13 PM, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: > To me, it sounds like there's a problem with the installation > of the tool-chain, a step was missed in the process, or there's a problem > in the environment that's misdirecting the tool-chain. Well, except a few Ne

Bug: 1.7 sshd-config-host "mount -t"

2008-08-21 Thread Charlie Page
Using cygwin 1.7. ssh-host-config contains "mount -t -f"... on line 79. Changing to "mount -f"... fixes the problem and the script executes without any syntax errors. (There might also be a problem with assigning the correct user to the /var/empty directory when privilege separation is used)

Re: Bug: 1.7 sshd-config-host "mount -t"

2008-08-21 Thread Charles Wilson
Charlie Page wrote: > Using cygwin 1.7. ssh-host-config contains "mount -t -f"... on line > 79. Changing to "mount -f"... fixes the problem and the script executes > without any syntax errors. (There might also be a problem with > assigning the correct user to the /var/empty directory when privi

Re: [ANNOUNCEMENT] Updated: csih-0.1.7-1

2008-08-21 Thread Charles Wilson
Corinna Vinschen wrote: > I'm about to create a new openssh package for 1.7 with fixes along the > lines of what you sent in your OP. > > While I'm at it, I see that there's a bit of dual work in the > csih-0.1.7 script and the ssh-host-config script: So I was also trying to update my iu-config s

Re: [ANNOUNCEMENT] Updated: csih-0.1.7-1

2008-08-21 Thread Corinna Vinschen
On Aug 21 13:14, Charles Wilson wrote: > Corinna Vinschen wrote: > > I'm about to create a new openssh package for 1.7 with fixes along the > > lines of what you sent in your OP. > > > > While I'm at it, I see that there's a bit of dual work in the > > csih-0.1.7 script and the ssh-host-config scr

Re: Bug: 1.7 sshd-config-host "mount -t"

2008-08-21 Thread Corinna Vinschen
On Aug 21 13:06, Charles Wilson wrote: > Charlie Page wrote: > > Using cygwin 1.7. ssh-host-config contains "mount -t -f"... on line > > 79. Changing to "mount -f"... fixes the problem and the script executes > > without any syntax errors. > > [...] > > As I am new to Cygwin there could also ea

[ANNOUNCEMENT] Updated: python-paramiko 1.7.4-1 -- SSH2 connection library for Python (library)

2008-08-21 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://www.lag.net/paramiko License : GPL This is a library for making SSH2 connections (client or server). Emphasis is on using SSH2 as an alternative to SSL for making secure connections between python scripts. All major ciphers and hash methods

Re: Bug: 1.7 sshd-config-host "mount -t"

2008-08-21 Thread Christopher Faylor
On Thu, Aug 21, 2008 at 07:38:51PM +0200, Corinna Vinschen wrote: >On Aug 21 13:06, Charles Wilson wrote: >> Charlie Page wrote: >> > Using cygwin 1.7. ssh-host-config contains "mount -t -f"... on line >> > 79. Changing to "mount -f"... fixes the problem and the script executes >> > without any s

Re: cygwin 1.7 message queues can't open more than 1 queue?

2008-08-21 Thread Linh Phan
I just downloaded http://www.cygwin.com/setup-1.7.exe and re-run it and now the message queues work. Thanks alot Corinna, Linh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/do

Re: screen not reattaching properly?

2008-08-21 Thread Andrew Schulman
> [EMAIL PROTECTED] ~ $ screen -r > There is no screen to be resumed. > [EMAIL PROTECTED] ~ $ screen cmd > [detached] > [EMAIL PROTECTED] ~ $ screen -r > [EMAIL PROTECTED] ~ $ screen -mS irc irssi > [detached] > [EMAIL PROTECTED] ~ $ screen -r > There are several suitable screens on: > 2628

Re: SSH and reattaching screen

2008-08-21 Thread Andrew Schulman
> Is there a known problem with Cygwin's SSH and trying to reattach to > screen sessions? This seems to be a random occurrence but while > trying to reattach to a screen session screen will hang indefinitely. > I'm using ssh on a Mac OS X 10.5.4 system to ssh into a Windows 2003 > Cygwin installat

Re: Building kernel modules

2008-08-21 Thread Bosko Radivojevic
Hi all, again. I've installed proper toolchain (arm-linux, from CodeSourcery). Along with this, I also (re)moved /usr/include/asm, and created following sym links: /usr/include/asm -> kernel_dir/include/asm-arm /usr/include/linux -> kernel_dir/include/linux As soon as I start kernel build (make A

Re: SSH and reattaching screen

2008-08-21 Thread Derek Schrock
alias sshhs='ssh -t domain.com '\''screen -DRR session || screen -S session bash '\''' -DRR seemed to fix the problem I don't like using -DRR because I don't really know what it means "Do whatever it takes." Is it creating some kinda memory leak that -Dr wasn't? We'll see how long DRR works On T

Re: No bash.exe in bin after "successful" installation

2008-08-21 Thread Monwhea Jeng
Larry Hall wrote: > Monwhea Jeng wrote: >> I'm installing cygwin from downloaded files on my >> work computers (one running a fresh installation >> of Windows >> Vista, and the other running Windows Server 2003). >> I've downloaded all files for installing everything >> (not just the defaults).

awk -v BINMODE=rw

2008-08-21 Thread Tom Rodman
Hello: awk is removing the \r below: ~ $ date;uname -sr Thu Aug 21 18:26:08 CDT 2008 CYGWIN_NT-5.0 1.5.25(0.156/4/2) ~ $ printf "HI\r\n"| awk -v BINMODE=rw '{print}'|/bin/od -Ad -c -toC 000 H I \n 110 111 012 003 ~ $ cygcheck -f /bin/gawk gawk-3.1.6-1 -- th

Re: No bash.exe in bin after "successful" installation

2008-08-21 Thread Larry Hall (Cygwin)
Monwhea Jeng wrote: I for some reason didn't think to try the other settings until you mentioned them (partially due to stupidity, but also because I just thought that I'd do it from downloaded files). I've tried with the IE5 Settings several times now. I do get a list of download sites. Most

Re: Building kernel modules

2008-08-21 Thread Brian Dessent
Bosko Radivojevic wrote: > /usr/include/linux/types.h:21: error: conflicting types for '_types_fd_set' > /usr/include/sys/types.h:235: error: previous declaration of > '_types_fd_set' was here Okay, that's truly and hideously broken. You should have no /usr/include/linux at all. This is not Lin

Re: Building kernel modules

2008-08-21 Thread Christopher Faylor
On Thu, Aug 21, 2008 at 11:20:29PM +0200, Bosko Radivojevic wrote: >From my perspective it looks like a cygwin "problem". Sorry if I'm not righ. > >Probably sys/types.h in cygwin and Linux are not the same, something >that is defined in linux/types.h in linux is also defined in >cygwin/types.h, etc

Re: [ANNOUNCEMENT] Updated: csih-0.1.7-1

2008-08-21 Thread Charles Wilson
Corinna Vinschen wrote: >> There are actually two questions: (a) should csih_check_access be >> checking that the Administrators group has the desired access?, and (b) >> are extended ACLs *actually* masked by the "other" bits? > > a) Actually, since all file access is using backup privileges, >

Having trouble with syslog-ng using lots of CPU

2008-08-21 Thread Grav Yam
Hi - Even when nothing else is happening, and nothing is being logged, the syslog-ng service is consistently using up 50% of my cpu under a win2k host. I've looked though the mailing list archives and also googled around a lot looking for a solution, but no one else seems to really have this pr

Re: Having trouble with syslog-ng using lots of CPU

2008-08-21 Thread René Berber
Grav Yam wrote: > Even when nothing else is happening, and nothing is being logged, the > syslog-ng service is consistently using up 50% of my cpu under a > win2k host. > > I've looked though the mailing list archives and also googled around > a lot looking for a solution, but no one else seems t

Re: [ANNOUNCEMENT] Updated: csih-0.1.7-1

2008-08-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Charles Wilson on 8/21/2008 9:11 PM: > > if [ shell_fun_call -a $var -eq "foo" ] > > doesn't work. It should be > > if ( shell_fun_call && [ $var -eq "foo" ]) You don't necessarily need the extra subshells. if shell_fun_call && [ $va

Re: [ANNOUNCEMENT] Updated: csih-0.1.7-1

2008-08-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 8/21/2008 10:41 PM: > You don't necessarily need the extra subshells. > > if shell_fun_call && [ $var -eq "foo" ] > > is valid shell, provided $var is guaranteed to be non-empty, doesn't start > with any character that migh

Re: Having trouble with syslog-ng using lots of CPU

2008-08-21 Thread Grav Yam
> You didn't look at this list archive, where I reported this problem long > ago, and to the syslog-ng list, where somebody reported it on Linux, > also long ago. By long ago I mean 3 or 4 versions back, but the problem > is still there. Woah - simmer down cowboy. To be fair René, as I said, I d