Re: src/winsup/cygwin ChangeLog dcrt0.cc

2012-01-27 Thread Chris January
On 27.01.2012 10:46, Václav Zeman wrote: +#define is_dos_path(s) (isdrive(s) \ + || ((s)[0] == '\\' \ + && (s)[1] == '\\' \ + && isalpha ((s)[2]) \ + && strchr ((s) + 3, '\\'))) Is it safe to acce

Re: procps aborts on Cygwin 1.7.5

2010-04-15 Thread Chris January
Please try the suggestions you've already received and if the problem persists send the gzip'ed output of: strace procps Regards, Chris January (procps maintainer) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docume

Incorrect permissions on mount point when user does not have permission to access mounted directory

2009-12-23 Thread Chris January
Hello, I have drive I: mounted at /backup but the ACLs deny access to anyone not in the Administrators group. I am in the Administrators group, but running Windows 7 so I can only access the drive if I am running with elevated privileges. If I run Cygwin without elevated privileges and type

Re: Did I missing the official announcement that 1.7 went official?

2009-12-22 Thread Chris January
On Mon, 21 Dec 2009 22:42:39 -0500, "Larry Hall (Cygwin)" wrote: > On 12/21/2009 10:41 PM, Paul McFerrin wrote: >> Doing my bi-weekly update of my 1.7 installation, I noticed that it >> download my whole installation again and took at least an hour to >> perform at RR speeds. I was in the ho

Re: CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?

2009-11-18 Thread Chris January
On Wed, 18 Nov 2009 04:00:21 -0800 (PST), "Larry W. Virden" wrote: > A developer has asked me to see if there is a way in Cygwin to get output > more similar to Solaris or other Unix system ps commands. > > He specifically needs to get information about a process, its pid, and the > argume

Re: graphics programming - beginner

2009-02-25 Thread Chris January
Hello, On Wed, Feb 25, 2009 at 1:39 AM, H Le wrote: > Hi, > > The previous message I asked was "the path to graphics.h library" but it > seems to get more confusion. > After searching for awhile, it seems that the graphics.h library is obsoleted. > > I try to compile some simple graphics program

Re: dd in cygwin vs dd in linux - number of records is always different

2009-02-09 Thread Chris January
On Mon, Feb 9, 2009 at 5:18 PM, Corinna Vinschen wrote: > I guess I'll ask on one of the Microsoft newsgroups if this is a known > effect and especially what I'm doing wrong or what I have to do to > get the desired behaviour. > > Btw., if anybody has an idea what's going wrong, please speak up :}

Re: Signal handling in Win32 GUI programs

2009-01-13 Thread Chris January
On Tue, Jan 13, 2009 at 7:29 AM, Andy Koppe wrote: > Actually I still can't quite get signal handling in MinTTY to work right. > SIGINT is fine, but SIGTERM, SIGHUP, and SIGKILL don't seem to get to > sigwait(), instead still invoking the default handler, i.e. terminating > MinTTY without SIGHUP be

Re: Kill cygwin process form task manager

2008-11-14 Thread Chris January
On Nov 14, 2008 10:20am, Michael Wiedmann wrote: > I need hints how to act if someone kills my Cygwin (parent) process using > Windows task manager and I want to kill all forked child processes. > > I already keep a list of all childs pids and can kill them successfully in an > SIGINT handler (if

Re: Rsync and NTFS -> FAT32 problem

2008-09-14 Thread Chris January
On Sat, Sep 13, 2008 at 8:01 PM, Richard Ivarson wrote: > Hello, > > I use Rsync successully to sync, for example, a NTFS formatted WinXP PC > (where Cygwin's Rsync runs) with a Linux PC, and to sync the Win-PC with > a GByte USB memory stick. > > When the memory stick is formatted to NTFS all wor

Re: /proc/loadavg

2008-02-27 Thread Chris January
On 27/02/2008, Jeff Fulmer wrote: > I installed procps in the hopes of getting 1,5,15 minute load averages. I > have them, but the values to meet my expectations. No matter how much load > the system is under, the values are always 0.0 0.0 0.0 Are load averages > supported? Is there something I

Re: ps executable does not appear to match source

2008-01-23 Thread Chris January
On 23/01/2008, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Jan 23 09:34, Chris January wrote: > > I would rather see a patch that added Windows pids to /proc than only > > to procps. Then the functionality would be available to other > > programs, like top. >

Re: ps executable does not appear to match source

2008-01-23 Thread Chris January
On 23/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >That said, however, the other way of dealing with this is to modify > >procps to deal with Windows pids. Then we wouldn't need the cygwin ps. > >If you want to provide a patch to do that, then it's likely that the > >procps maintainer

Re: Installation with root privilage: can't download Intel Fortran F90 compiler

2007-01-18 Thread Chris January
It won't work because Cygwin is not a Linux emulator. There are no recent Linux emulators/translation layers for Windows and even if you did use one the compiler would not generate Windows binaries. You need a Windows version of the Intel Fortran compiler or you could use a virtual machine (e.g. V

Re: Error in 'cat /proc/uptime' output

2006-11-22 Thread Chris January
Could you include full cygcheck information please. On 21/11/06, Rajesh Tiwari <[EMAIL PROTECTED]> wrote: Hi All, I'm using cygwin 1.5.9(0.112/4/2). I'm facing this issue: 'cat /proc/uptime' gives output as- $ cat /proc/uptime 380224.81 0.00 and this output leads to 100% CPU usage. I searc

Re: Reboot vs. Restart Windows

2006-10-30 Thread Chris January
On 30/10/06, Andrew DeFaria <[EMAIL PROTECTED]> wrote: Mike Maxwell wrote: > That's not what I said, go back and re-read. Wait, I'll save you the > trouble: I said that 99% of the words we know--not 99% of the people > who know words--are our definitions that we infer from usage, rather > than f

Re: Top reports wrong memoryuse

2006-07-24 Thread Chris January
It would be possible to change /proc/*/stat{m} to use the page size of 64K, but this would make the values in those files imprecise. It might be better just to change top. I'll see if I can patch top to get these right. IIRC there is a constant defined somewhere with the correct page size. Chr

Re: chown & chown on /proc/registry/HKEY_PERFORMANCE_DATA

2006-06-01 Thread Chris January
On 01/06/06, Lester Ingber <[EMAIL PROTECTED]> wrote: I was looking over my /proc directory @lester:/% ls -ld proc dr-xr-xr-x 11 ingber None 0 May 31 2006 proc/ and found @lester:/proc/registry% ls -la total 0 dr-xr-xr-x9 ingber None 0 May 31 22:30 ./ dr-xr-xr-x 11 ingber

Re: Windows 95 support ?

2006-04-21 Thread Chris January
On 21/04/06, Samuel Thibault wrote: > Chris January, le Fri 21 Apr 2006 08:51:07 +0100, a écrit : > > On 20/04/06, Christopher Faylor > > wrote: > > > On Thu, Apr 20, 2006 at 10:42:14PM +0200, Samuel Thibault wrote: > > > >I tried to install cygwin on win95

Re: Windows 95 support ?

2006-04-21 Thread Chris January
On 20/04/06, Christopher Faylor wrote: > On Thu, Apr 20, 2006 at 10:42:14PM +0200, Samuel Thibault wrote: > >I tried to install cygwin on win95 this afternoon, but setup.exe can't > >start, because it is linked with MSVCRT.DLL, which is not available > >under windows 95. > > MSVCRT.DLL or its vari

Re: nice under tcsh does not register under top? [Attn top maintainer]

2006-04-04 Thread Chris January
> According to Lester Ingber on 4/4/2006 7:36 AM: > > I have a tcsh script that runs some processes, e.g., `nice +19 gmake run`. > > I monitor the NI and %CPU columns under `top`. This works fine under > > FreeBSD and Solaris/SPARC, but under Cygwin the NI column always reads 0? > > > > Is it not

Re: 1.5.19(0.150/4/2): missing device in /proc/partition after removing USB disk

2006-03-08 Thread Chris January
On 08/03/06, Loh, Joe wrote: > Then we proceed to removing the first USB disk, i.e. /dev/sdb, using the > the "Safe Removal" method from Windows. Once that operation completes > we "cat" the /proc/partitions again. This time, the only disk shown is > /dev/sda, which is the system disk. The secon

Re: suggestions for cygwin developers

2005-07-28 Thread Chris January
Alex Goldman wrote: When Cygwin gets set up, it would be more user-friendly if it placed two icons on the desktop: one should start maximized Rxvt; another should start X with a couple of xterms or whatever. First-time users might think that the MS-DOS terminal is as good as it gets, and this is

Re: Possible Bug in /proc/partitions ??

2005-06-21 Thread Chris January
Bengt-Arne Fjellner wrote: > either /proc/prtitions has something wrong or i have. > This is how it looks. > $ cat /proc/partitions > major minor #blocks name > > 8 0 19535040 sdaOK > 816 78124095 sdbOK > 817 56196 sdb1 OK > 818 61978770 sdb2 O

Re: Unicode in filenames support?

2005-06-08 Thread Chris January
Jaeho Shin wrote: I'm having problem with accessing files that have Unicode in their filenames. 1. I use Windows XP Korean version (so the codepage must be 949?). 2. I use iTunes to listen to my music. 3. Files in iTunes Library have filenames in the following format: "{Artist}/{Album}/{Track

Re: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Chris January
[EMAIL PROTECTED] wrote: Hi all, I've noticed a minor issue while typing at the bash prompt in cmd.exe. It seems that when I try to type a £ sign, a hash character and newline is entered instead. I'm aware of the issues surrounding these two characters, but as far as I can tell all of my lang

Re: new setup for testing

2005-05-23 Thread Chris January
Brian Dessent wrote: "Gerrit P. Haase" wrote: The column headers disappear partially when switching back from full screen view to normal view, see attached screenshot. It works at first, breaks after using the radio buttons one time, e.g. switch from 'curr' to 'exp' then toggle back from ful

Re: [ANNOUNCEMENT] New package: stow

2005-05-17 Thread Chris January
[EMAIL PROTECTED] wrote: The stow package is now available in the Cygwin distribution. Stow is an installation manager for local software packages. It creates sets of symlinks from the installed location (e.g. /usr/local) to a stow directory (e.g. /usr/local/stow/emacs) where the real files li

Re: Hippo icon!

2005-05-03 Thread Chris January
Ashwin N wrote: Hi, I noticed that the icon for Cygwin on the website has changed from the green-n-black C to a roaring hippo. http://www.cygwin.com/hippo.jpg It's to shake off the impression that Cygwin is bloated and slow. No, wait Chris -- Unsubscribe info: http://cygwin.com/ml/#unsub

Re: /proc/self/exename -> exe ? (Re: Retrieving name of executable)

2005-03-29 Thread Chris January
Corinna Vinschen wrote: On Mar 28 23:36, Anthony Heading wrote: On Fri, Jan 14, 2005 at 02:35:28PM -0500, Christopher Faylor wrote: On Fri, Jan 14, 2005 at 10:39:23AM -0800, Earl Chew wrote: I think the name of the current executable is stored in myself->progname within cygwin1.dll. The more easily

Re: 1.5.13-1 : can't cd anywhere with non-admin account

2005-03-04 Thread Chris January
François-David Collin wrote: Corinna, thanks you very much! the "notraverse" keyword did the trick. I don't really understand what do you mean by "it checks the permissions of the parent directory"... As long as I can "traverse" with windows acls in the windows world (and it is presently the case)

RE: [ANNOUNCEMENT] Updated (in test): coreutils-5.3.0-2

2005-02-02 Thread Chris January
> Dates can be entered via integer counts of seconds since 1970 when > prefixed by `@'. For example, [EMAIL PROTECTED]' > represents > 1970-01-01 > 00:05:21 UTC. I think that example might be wrong... :) Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

RE: Multiple installations and 3PPs

2005-01-21 Thread Chris January
> Well, it was proposed once already, but nobody did the work: > > Get rid of the registry entries completly. Cygwin could use > something similar to /etc/fstab to manage its mount modes. And how do you know where / is mounted? Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

RE: EFS encrypted files & ssh

2005-01-07 Thread Chris January
> Is it normal that during an SSH connection EFS-encrypted > files are not > accessible? > Is it for the way the SSH token autentication is made? Yes, it probably is. I belive the user's private EFS is encrypted using their password hash. If the SSH token was generated without using a password (

RE: why is -L/usr/local/lib necessary?

2004-12-14 Thread Chris January
> why doesn't "gcc -lfoo" (ld) find /usr/local/lib/foo.dll? > what do I do to avoid this? Edit /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http

RE: [Bug Cygwin Applications/575] Unknown HZ value! message from procps commands

2004-12-13 Thread Chris January
> >>>>> Volker Zell writes: > > >>>>> Chris January writes: > >> In both cases what is the actual value of HZ you are seeing? > > > 01:02 AM [555]> w > > Unknown HZ value! (483) Assume 100. > > 08:34:05

RE: ioctls.h not found

2004-12-09 Thread Chris January
> When I am compiling ZSNES in cygwin. > > asm/ioctls.h: No such file or directory > > Error. Please Help Me Did you sacrifice the goat? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwi

RE: ls taking too long

2004-12-08 Thread Chris January
> If a directory contains a large number of files (I have > >4) where most of them are named such that the first > character is a "1" and you do an "ls x*" where only one of > the files begin with x, the ls takes an inordinate amount of > time, but going to a plain dos window and "dir e*" i

RE: [Bug Cygwin Applications/575] Unknown HZ value! message from procps commands

2004-12-05 Thread Chris January
> [please, let's keep the discussion on the list] > > dr dot volker dot zell at oracle dot com schrieb: > > --- Additional Comments From dr dot volker dot zell at > oracle dot > > com 2004-12-04 16:40 --- (In reply to comment #3) > > > >>This is known problem with multiple processors.

RE: FDISK support

2004-12-01 Thread Chris January
> According to this post: > http://sources.redhat.com/ml/cygwin/2002-11/msg01300.html , > you can now use > fdisk. Can someone please tell me how to get fdisk onto > cygwin? I couldn't > find the package with the cygwin setup file. Thanks everyone. There is no package available under setup bec

RE: ls /dev/*

2004-11-03 Thread Chris January
> On Wed, Nov 03, 2004 at 09:08:44AM -0000, Chris January wrote: > >> > * Christopher Faylor > >> <[EMAIL PROTECTED]> [2004-11-02 > 15:01:13 -0500]: > >> > > >> > On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: > >>

RE: ls /dev/*

2004-11-03 Thread Chris January
> > * Chris January <[EMAIL PROTECTED]> [2004-11-03 09:08:44 +]: > > > >> > * Christopher Faylor > >> <[EMAIL PROTECTED]> [2004-11-02 > 15:01:13 -0500]: > >> > > >> > On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingo

RE: ls /dev/*

2004-11-03 Thread Chris January
> > * Christopher Faylor > <[EMAIL PROTECTED]> [2004-11-02 15:01:13 -0500]: > > > > On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: > >>why isn't /dev a more "usual" directory? > >>cd /dev, ls /dev all fail, while > >>cat /dev/clipboard works. > > > > No one has implemented the spec

RE: cat /proc/registry/HKEY_PERFOMANCE_DATA/@ hangs

2004-07-26 Thread Chris January
> > > Yes, I'm still seeing the segfault in the latest > snapshot, but only > > > when run under gdb or strace. Here are some sample tests: > > > > > > $ cat /proc/registry/HKEY_PERFORMANCE_DATA/\@ > e.out > > > cat: /proc/registry/HKEY_PERFORMANCE_DATA/@: No such file or > > > directory $ # no

RE: cat /proc/registry/HKEY_PERFOMANCE_DATA/@ hangs

2004-07-26 Thread Chris January
> Yes, I'm still seeing the segfault in the latest snapshot, > but only when run under gdb or strace. Here are some sample tests: > > $ cat /proc/registry/HKEY_PERFORMANCE_DATA/\@ > e.out > cat: /proc/registry/HKEY_PERFORMANCE_DATA/@: No such file or > directory $ # no segfault $ strace -o cat_

Wanted: Cygwin TWiki maintainer

2004-07-26 Thread Chris January
A while ago I set up a Cygwin wiki here: www.doc.ic.ac.uk/~ccj00/cygwin Unfortunately I've now graduated form Imperial and my account will be closed at the end of this month. I'm looking for someone willing to host and maintain the wiki. Regards, Chris January -- http://www.a

RE: cat /proc/registry/HKEY_PERFOMANCE_DATA/@ hangs

2004-07-19 Thread Chris January
nt of 1000. I'm going to investigate some > more, but I'd say that with the above bug, this key was never > tested, so I have no idea what's going on. Hopefully Chris > (January) can use this to help him track down the problem. I'm back from my honeymoon (!) and I&

RE: Bug fix to /proc/cpuinfo implementation

2004-06-23 Thread Chris January
> Hi > > I hope I email to correct mailing list... > > It seems that '/proc/cpuinfo' doesn't report 3dnow and > 3dnowext support correctly. > > Because I had been using it for recognizing processor > features I looked briefly into fhandler_proc.cc (taken > freshly from cvs) and I think I fixe

RE: Cygwin's chmod +X

2004-05-19 Thread Chris January
> I noticed while creating a bash script to backup my parents outlook & > mydocuments folers, that WindowsXP does not recognize a "superuser" as > being allowed access to a users folders! You can only access a folder if you have been given permission (in the ACL) unless you open it in backup mode.

RE: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Chris January
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Dave Korn > Sent: 15 April 2004 14:03 > To: [EMAIL PROTECTED] > Subject: RE: Quick hack to implement gethostbyname_r() through > gethostbyname()+mutex lock > > > > -Original Message- > > From: cygwi

RE: co-linux

2004-04-15 Thread Chris January
> On Wed, Apr 14, 2004 at 02:50:42PM +0200, Pinhas Krengel wrote: > >I have just read about beta release of co-linux (linux on > windows). Is this > >product going to kill cygwin. > > No. > > >What will be the benefits of using cygwin in that case. > > Having a nicely integrated UNIX environment.

RE: procps returns \"Unknown HZ value\"

2004-03-24 Thread Chris January
Redirecting to the cygwin mailing list. You probably need to upgrade your version of the Cygwin DLL. > The /proc filesystem doesn't exist? Does something need to be > installed using cygrunsrv? > > -richard > > > -Original Message- > From: Chris Jan

RE: Is the command "top" in cygwin?

2004-03-03 Thread Chris January
> I got two packages. Which one shall I use? What does 010801-1 mean? > procps/procps-010801-1 Utilities for monitoring your system and > processes on your system. > procps/procps-010801-2 Utilities for monitoring your system and > processes on your system. > year month day 01 0801

RE: cygwin rebooting computer

2004-02-11 Thread Chris January
> I am a big fan of cygwin and has just learned the TAB completion thing. > > Now, my harddisk is partitioned in 2 so sometimes (not always) > when doing cd /cygdrive/d TAB, teh computer goes black = softboot = reset > > Am I doing anything wrong or what Try looking in the System event log ('Contr

RE: Output of 'top' lacking load average output

2004-02-02 Thread Chris January
> I am wondering why the output of top does not produce any output for > the load averages, I only get this... > > 13:44:32 up 2 days, 3:03, 2 users, load average: 0.00, 0.00, 0.00 Windows doesn't record load averages. In the absence of a process to collect load average data these values are n

RE: MS offers "Services For Unix" free of charge

2004-01-14 Thread Chris January
> On Wed, Jan 14, 2004 at 04:26:03PM -0500, Robb, Sam wrote: > >> But beyond curiosity, there's not many reasons to install and > >> use both, at least concurrently. Cygwin and SFU both address > >> the same needs and Cygwin covers a wider range of tools. We'll > >> see what happens though. > > >

RE: Unable to replicate Win2000 accounts

2004-01-13 Thread Chris January
> I have recently installed Cygwin on a Win2000 Pro system. While > trying to replicate the accounts from windows to Cygwin, I used > the commands: > > mkgroup -l > /etc/group > mkpasswd -l > /etc/passwd > > the output of my group and passwd files are, respectively: > $ /etc/group try cat /etc

RE: Any current plans for an SDL package?

2003-11-25 Thread Chris January
> Frédéric L. W. Meunier wrote: > > > On Sun, 23 Nov 2003 [EMAIL PROTECTED] wrote: > > > > > >>The only thing I found missing really are the libraries' header files. > >> > >>One such library is libjpeg, which has no development package, and i > >>believe there was some compression lib also. > > >

RE: system() refuses to work!!! HELP

2003-10-15 Thread Chris January
> It did not work. Will it be that I found a bug??? How much luck I > have.. :-) > It follows the source. that program does not do anything of > important! It is > alone a test. > > what we most can do? > > I changed the command for "DIR" who list the directories of the > windows just > to facilita

RE: Bash extremely slow when started via task scheduler

2003-10-09 Thread Chris January
> >Why not use cron instead? > > > >Jason > > Thank you for suggestion but it's an application server managed by > non-UNIX 'mouse users' which may manually start the task, so it should > be simple for them. > > It seems that not having an output window slows down the script > dramatically on each

RE: #! not a recognized internal or external command

2003-10-03 Thread Chris January
Did you check the line endings? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Neil Messmer > Sent: 02 October 2003 23:30 > To: [EMAIL PROTECTED] > Subject: Re: #! not a recognized internal or external command > > > I should also mention that the scrip

RE: 1.5.5s: procps error

2003-09-16 Thread Chris January
I'll look into this in due time. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of David Rothenberger > Sent: 16 September 2003 17:45 > To: [EMAIL PROTECTED] > Subject: Re: 1.5.5s: procps error > > > David Rothenberger writes: > > FWIW, the latest snap

RE: Skipping the /proc filesystem

2003-07-24 Thread Chris January
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Randall R Schulz > At 13:59 2003-07-23, Chris January wrote: > > > Randall R Schulz wrote: > > > > At 18:15 2003-07-22, David A. Cobb wrote: > > > >>I would wish to tell find not to get in

RE: Skipping the /proc filesystem

2003-07-23 Thread Chris January
> Randall R Schulz wrote: > > At 18:15 2003-07-22, David A. Cobb wrote: > >>I would wish to tell find not to get involved with the /proc filesystem > >>at all. Can that easily be done? > > > > Very easily: > > % find / -path '/proc' -prune -o -print > > Would it make sense to identify the inodes un

RE: problem with history

2003-07-22 Thread Chris January
> Hi, > my cygwin bash does not write anything in .bash_history . I think it was > working fine before and some changes done by me has caused it to stop > updating this file. > rxvt does not have this problem. > any pointers where could be the problem. Close bash by typing exit rather than clickin

RE: Read access to all keys in /proc/registry

2003-07-10 Thread Chris January
> find /proc/registry/HKEY_LOCAL_MACHINE/ > > does not go down the /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE > directory(key) > because there is no read access for people outside of the SYSTEM group: > > $ ls -la /proc/registry/HKEY_LOCAL_MACHINE/ > total 0 > dr-xr-xr--5 Administ SYSTEM

RE: mmap() and gcc precompiled headers

2003-07-03 Thread Chris January
> On Thu, Jul 03, 2003 at 10:19:42AM -0400, Christopher Faylor wrote: > > On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: > > >Do you mean something like this: > > > > > > If addr is given, check if it's 64K aligned. If not, align and > > > raise the memory requirement accordin

RE: Weird top bug?

2003-06-07 Thread Chris January
> I've stumbled across some peculiar behaviour for top. I've got > the following > script (vping) that I use to keep a VPN connection alive: > #!/bin/sh > while true; > do > ping -n 1 remoteMachine >/dev/null > sleep 60

RE: win32api_NtQuerySystemInformation compiling problem

2003-06-06 Thread Chris January
> Hi, I've just try to use native w32api function NtQuerySystemInformation, > but linker fail with following. Is this something trivial I am missing? You forgot -lntdll Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.ht

RE: Weird top bug?

2003-06-06 Thread Chris January
> I've stumbled across some peculiar behaviour for top. I've got > the following > script (vping) that I use to keep a VPN connection alive: > #!/bin/sh > while true; > do > ping -n 1 remoteMachine >/dev/null > sleep 60

RE: Mozilla 1.3 built on cygwin?

2003-04-05 Thread Chris January
> > If you have such great insight into this type of thing, it won't take > > you any time at all to duplicate. You've been complaining about this > > and other cygwin performance issues for months. Why don't *you* do > > something? I figured fork/exec/signals out from scratch. Certainly the >

RE: RPM-4.1 port to cygwin available

2003-03-29 Thread Chris January
> Peter Ring wrote: > > There's substantial evidence that RPM based distribution of Cygwin is > > feasible: > > > > http://www.holonlinux.com/product/xonwin/index.html > > > > Just in case you don't read Japanese, go directly to the FTP site: > > > > ftp://xow.holonlinux.com/pub/XonWindows/ > >

RE: Mozilla 1.3 built on cygwin?

2003-03-29 Thread Chris January
> On Sat, Mar 29, 2003 at 12:04:01AM -0000, Chris January wrote: > >> On Thu, Mar 27, 2003 at 11:58:50PM +0100, Ralf Habacker wrote: > >>>I can't prove a fact, that forking is the most anonying problem and > >>>there were some initial work from some pe

RE: Mozilla 1.3 built on cygwin?

2003-03-28 Thread Chris January
> On Thu, Mar 27, 2003 at 11:58:50PM +0100, Ralf Habacker wrote: > >I can't prove a fact, that forking is the most anonying problem > and there were > >some initial work from some people (I remember Chris Faylor, > Chris January and > >other) to identify the proble

RE: tar and gzip

2003-03-27 Thread Chris January
> > Hi all! > > > > I wrote a small script in Python, but it requires two programs to run > > correctly: tar.exe and gzip.exe. Both are in CygWin package. > And that's my > > question: can I bundle both programs and cygwin1.dll with my script? > Script > > is free, but the program that the script c

RE: procps and top output

2003-03-26 Thread Chris January
> Randall R Schulz wrote: > > > What options to procps are you using to get that output format? > I cannot > > reproduce it. > > It's the output of "top", and yes, I see the problem too. The "size" > column is always around 400 (+/-) MB, however large or small the process. > > The RSS size is corre

RE: Cannot fork: Resource temporarily unavailable

2003-03-23 Thread Chris January
> I am trying to rebuild the Cygwin tools under W98 and keep getting this > error message when running make: > > Cannot fork: Resource temporarily unavailable. > Despite rebooting the machine and ensuring that sufficient swap space is > available this continues to recur. > > This is the extract fro

RE: Cygwin installation choke

2003-03-16 Thread Chris January
> Chris, > > On Thu, Mar 13, 2003 at 11:57:43PM -0000, Chris January wrote: > > Corinna, the cpuid results are still valid if the user doesn't > have NT. Only > > in the worst case scenario (i.e. a user running Windows 95/98 > on a 486) will > > it be nece

RE: 1.3.21-1 broken on Win9x - IsProcessorFeaturePresent not autoloaded (was: Cygwin installation choke)

2003-03-13 Thread Chris January
> Chris Hardie wrote: > > Hey, > > > > I can't seem to find any details about this error, so I'm tossing it > > out there. > > > > After installing the newest version of Cygwin, it chokes when it > > tries to launch. > > > > "The CYGWIN1.DLL is linked to missing export > > KERNEL32.DLL:IsProcessorF

RE: Cygwin installation choke

2003-03-13 Thread Chris January
> On Thu, Mar 13, 2003 at 05:09:21PM +, Chris Hardie wrote: > > "The CYGWIN1.DLL is linked to missing export > > KERNEL32.DLL:IsProcessorFeaturePresent" > > > > I'm running Windows '95 on a P300 Celeron. Anyone have any idea what's > > going on? > > Fixed in CVS. Thanks for the report. Corinna

RE: sudo and runas

2003-03-11 Thread Chris January
> On Mon, Mar 10, 2003 at 10:56:11AM -0000, Chris January wrote: > > The su binary on my webpage seems to need more privileges than > I remember. > > Try assigning yourself the "Replace a Process Level Token" right. I am > > You're opening up the security hol

RE: sudo and runas

2003-03-10 Thread Chris January
> > > > Is this any use? > > > > > > > > http://www.doc.ic.ac.uk/~ccj00/twiki/bin/view/Cygwin/CygwinSu > > > > > > > > Chris > > > > > > [EMAIL PROTECTED] (.../jon/tmp) % su root > > > Password: > > > su: cannot run /bin/bash: Permission denied > > > > Make sure /bin/bash is world executable. > > -

RE: sudo and runas

2003-03-09 Thread Chris January
> > > Hello, > > > > > > Under XP (and maybe other Windows?) there's a command, runas, which > > > when used from cmd.exe or the Run dialog, can run applications as > > > another > > > user: > > > > > > C:\Cygwin>runas /user:Administrator C:\Cygwin\setup.exe > > > Enter the password for Administrat

RE: sudo and runas

2003-03-05 Thread Chris January
> Hello, > > Under XP (and maybe other Windows?) there's a command, runas, which when > used from cmd.exe or the Run dialog, can run applications as another > user: > > C:\Cygwin>runas /user:Administrator C:\Cygwin\setup.exe > Enter the password for Administrator: > > allows me to run Cygwin's s

RE: cpu and partition info

2003-02-26 Thread Chris January
> Hello all, > > Is there a /proc/partitions or a /proc/cpuinfo in newer versions > of Cygwin? > I'm looking for a way to determine cpu info and drive info from the > command line. I'm using v1.3.14. I'll code some up for you, how about that? Chris -- Unsubscribe info: http://cygwin.com

RE: Distributed Compilation

2003-02-26 Thread Chris January
> Have you folks seen/tried this... > > > > "distcc is a program to distribute compilation of > C or C++ code across several machines on a network. > distcc should always generate the same results as a > local compile, is simple to install and use, and is > often two

RE: loopback devise (was Re: mknod implementation? ... )

2003-02-26 Thread Chris January
> At 08:37 PM 2/24/2003 -0500, Christopher Faylor wrote: > >On Mon, Feb 24, 2003 at 01:52:15PM -0800, Randall R Schulz wrote: > >>Does Cygwin have a loopback block device? > > > >No. > > > >As Randall correctly points out, the existence of the mknod command has > >no bearing on the existence of fun

RE: Process states in cygwin ?

2003-02-26 Thread Chris January
> Probably > > else >status = 'R'; //running > > would be a good idea then? Try using procps (from the procsps package) if need process states reported more accurately. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com

RE: Is modem dial-in access to Cygwin possible?

2003-02-18 Thread Chris January
> Is modem dial-in access to Cygwin possible? Is there a version > of mgetty that > works with Cygwin? If not, could it work or are there > limitations in Cygwin > that would prevent this. Use Dial-up Server and sshd? Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

RE: Problems compiling trivial C program.

2003-02-09 Thread Chris January
> >I'm having trouble compiling this test program: > > > >void f(){} > > > >using the command line: > >gcc test.c -c -o test.o > > > >using 1.3.19 or latest Cygwin snapshot (2003-Feb-07) (same error with > >both) and gcc-3.2-3. > > > >The error I see is: > > > >16 bit MS-DOS Subsystem > >/usr/src/c

RE: Why won't my files link?

2003-02-05 Thread Chris January
> Okay everyone... thank you for your help and for your feedback. Allow me > to attempt to clarify a little bit more... > > 1) I am new to GCC. I am new to C. I had worked until Java until > recently. > > 2) I used the SAME io_functions.o file in both Cygwin and Linux. This > file was generated

RE: manuals for newbies?

2003-02-02 Thread Chris January
> Since I'm totally new to cygwin, (I just installed it > a couple of days ago) it turns out that I had a lot of > questions while getting familiar with it. I hate > asking them here cause I believe they are very simple > questions and probably lots of people had the same > questions before. But th

RE: su command ?

2003-01-29 Thread Chris January
> > I have just tried this on Windows XP as Administrator. I tried to su to > > a normal user but got: > > > > su: cannot run /bin/bash: Permission denied > Try chmod 644 /bin/bash. You probably installed Cygwin for "Just Obviously this is stupid as it would make it unexecutable... Permissions on

RE: su command ?

2003-01-29 Thread Chris January
> On Tue, Dec 24, 2002 at 01:54:23AM -0000, Chris January wrote: > > > > > > 'su' is not implemented in cygwin (yet). The closest you > can get now is > > > > setting up sshd and using 'ssh user@localhost'. There was > some talk of >

RE: Bug in rm -r with locked files

2003-01-23 Thread Chris January
> >When Busy File Encountered" on April 6, 2002 and "REPOST: unlink > semantics" > >from April 10, 2002. > > > >I'm not an expert, but this has come up more than once (I initiated the > >April 6 round of discussions) and the upshot is that giv

RE: javac on cygwin

2003-01-15 Thread Chris January
> On Mon, Jan 13, 2003 at 11:26:28AM -0800, Shankar Unni wrote: > >Christopher Faylor wrote: > >>I remember speculating at one point about creating wrappers to the > >>win32 functions like CreateFile, MoveFile, etc. which would understand > >>cygwin paths. You could theoretically modify an .exe t

RE: Bug in g++: Testcase exits with segmentation fault

2003-01-14 Thread Chris January
> The testcase attached to this mail compiled with g++ 2.95.3-10 or g++ 3.2 > 20020927 under Cygwin 1.3.18 exits with segmentation fault. It seems to be > an error in g++ as the testcase doesn't work under Linux either. > Can anyone > help or do I have to report this error to the GCC website? > >

RE: su command ?

2002-12-23 Thread Chris January
> > 'su' is not implemented in cygwin (yet). The closest you can get now is > > setting up sshd and using 'ssh user@localhost'. There was some talk of > > one of the new packages having that functionality, but you'd > have to read > > the mailing list archives to verify that. > > Igor > > We

RE: permission denied for NTFS network shares

2002-12-22 Thread Chris January
> Unix/Linux systems are much more secure then NT but they do allow RSH > without password (using .rhosts). > > Are you saying that there is no way whatsoever to have RSH without > passwords? I need it for running scripts/programs on different NT > machines. Interactive behaviour (login/password) w

RE: permission denied for NTFS network shares

2002-12-22 Thread Chris January
> I have some problem using rsh under cygwin. > It works fine for local disks and local disks of remote computers > (both UNIX and NT/2000). > > But if I am trying to access NTFS network share (that is on file > server), I receive "permission denied". > > Here is an example: > > From unix machine:

  1   2   3   >