Re: Easy question

2008-03-12 Thread NightStrike
On Wed, Mar 12, 2008 at 2:05 PM, Phil Betts <[EMAIL PROTECTED]> wrote: > Troy Bull wrote on Wednesday, March 12, 2008 5:45 PM:: > > > > Greetings > > > > I use rxvt and I use the -fg and -bg to set colors. Where can i find > > a list of the colors that I can put in there. I know I can do the

How to capture error in Cygwin, $? is not working

2008-03-12 Thread nlian
Hi, I want to write a simple script to start and stop windows service remotely. Here is the script: #!/usr/bin/bash sc servername start "MyService" echo $? === The above script return the following messages: [SC] StartService: OpenService FAILED 1060: The specified service does not ex

Re: Problem with bash completion

2008-03-12 Thread David Rothenberger
On 3/12/2008 7:21 PM, Eric Blake wrote: According to David Rothenberger on 3/12/2008 7:04 PM: | Once the shell starts doing this, it keeps doing it. Restarting bash | solves the problem. | | I first noticed this with cygwin-1.5.25-11, but it happens with -7, too. Those are old. But it still hap

Re: Problem with bash completion

2008-03-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to David Rothenberger on 3/12/2008 7:04 PM: | Once the shell starts doing this, it keeps doing it. Restarting bash | solves the problem. | | I first noticed this with cygwin-1.5.25-11, but it happens with -7, too. Those are old. But it sti

Re: performance issue with sshd and cygrunsrv

2008-03-12 Thread Larry Hall (Cygwin)
Stephen David wrote: Alfred, Thanks for your response. With regard to this performance problem, I've discovered that this is not just an sshd problem -- scripts/commands I run through cron also exhibit the same behavior. (ie. find, curl, date, etc). Is there something about the user co

Re: performance issue with sshd and cygrunsrv

2008-03-12 Thread Stephen David
Alfred, Thanks for your response. >>With regard to this performance problem, I've discovered that this >>is not just an sshd problem -- scripts/commands I run through cron >>also exhibit the same behavior. (ie. find, curl, date, etc). Is >>there something about the user context under whi

Re: performance issue with sshd and cygrunsrv

2008-03-12 Thread Larry Hall (Cygwin)
Stephen David wrote: Hello again, Hello, I recently installed cygwin on a new windows 2003 server box, and am experiencing 100% CPU utilization for several seconds (approx 7) when running many commands via ssh connection *to* that box -- even simple commands like "ls -l", "find", that usually

Re: performance issue with sshd and cygrunsrv

2008-03-12 Thread Alfred von Campe
With regard to this performance problem, I've discovered that this is not just an sshd problem -- scripts/commands I run through cron also exhibit the same behavior. (ie. find, curl, date, etc). Is there something about the user context under which these services run that could be causing

RE: performance issue with sshd and cygrunsrv

2008-03-12 Thread Stephen David
Hello again, >> Hello, >> >> I recently installed cygwin on a new windows 2003 server box, and am >> experiencing 100% CPU utilization for several seconds (approx 7) when >> running many commands via ssh connection *to* that box -- even simple >> commands like "ls -l", "find", that usually ret

RE: emacs 21.3 does work while 22.1 works: Why 21.3 is default in cygwin setup

2008-03-12 Thread Tatsuro MATSUOKA
Hello Thank you DaveK. Your information will be helpful when I will be trobling with the setup process. The cygwin community is a hartwaring one. I strongly appreciate for all to reply to my hesteric question. Regards Tatsuro --- Dave Korn <[EMAIL PROTECTED]> wrote: > Tatsuro wrote on 12 Mar

RE: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Dave Korn
Brian Dessent wrote on 12 March 2008 17:25: > a) figure out which module of the process is the main one > b) look up its ImageBase > c) compute which page in that processes' VM corresponds to that > ImageBase plus some magic offset (which also implicitly means that all > subsystems must use exactl

RE: Easy question

2008-03-12 Thread Phil Betts
Troy Bull wrote on Wednesday, March 12, 2008 5:45 PM:: > Greetings > > I use rxvt and I use the -fg and -bg to set colors. Where can i find > a list of the colors that I can put in there. I know I can do the > obvious ones, Black, White, Blue, etc but I also found "Wheat" and > some other ones

Easy question

2008-03-12 Thread Troy Bull
Greetings I use rxvt and I use the -fg and -bg to set colors. Where can i find a list of the colors that I can put in there. I know I can do the obvious ones, Black, White, Blue, etc but I also found "Wheat" and some other ones work. I would like to know if there is a list in a file anywhere th

Re: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Brian Dessent
Dave Korn wrote: > Given that, it's therefore going to have been done as quickly and cheaply > as possible, so why should we assume they wouldn't they just check the value > in the PE header at the start of NtSetInformationProcess? I know it's MS and everything, and if the subject was Outlook o

RE: installing openssh package does not appear to install sshd

2008-03-12 Thread Dave Korn
Robert Amodeo wrote on 12 March 2008 16:43: > I installed CYGWIN from home site (onto a machine, Win XP), and added the > appropriate packages (openssh, tcp_wrappers, zlib). Cygwin appeared to > install fine, and I started up a Cygwin screen. > > I then ran > net start sshd, and found the follow

RE: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Dave Korn
Corinna Vinschen wrote on 12 March 2008 16:23: > On Mar 12 16:13, Dave Korn wrote: > > Brian Dessent wrote on 12 March 2008 15:59: > > > Dave Korn wrote: > > > > Now, who supposes you could work around the restriction by writing > > > > > > > > * (WORD *) 0x004000dc = POSIX_CUI; > > > > > >

installing openssh package does not appear to install sshd

2008-03-12 Thread Robert Amodeo
I installed CYGWIN from home site (onto a machine, Win XP), and added the appropriate packages (openssh, tcp_wrappers, zlib). Cygwin appeared to install fine, and I started up a Cygwin screen. I then ran > net start sshd, and found the following error: --- $ net start sshd

Re: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Corinna Vinschen
On Mar 12 16:13, Dave Korn wrote: > Brian Dessent wrote on 12 March 2008 15:59: > > Dave Korn wrote: > > > Now, who supposes you could work around the restriction by writing > > > > > > * (WORD *) 0x004000dc = POSIX_CUI; > > > > > > just before calling NtSetInformation? > > > > How are you g

RE: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Dave Korn
Brian Dessent wrote on 12 March 2008 15:59: > Dave Korn wrote: > > > Now, who supposes you could work around the restriction by writing > > > > * (WORD *) 0x004000dc = POSIX_CUI; > > > > just before calling NtSetInformation? > > How are you going to fool the executive by poking around in t

Re: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Brian Dessent
Dave Korn wrote: > Now, who supposes you could work around the restriction by writing > > * (WORD *) 0x004000dc = POSIX_CUI; > > just before calling NtSetInformation? How are you going to fool the executive by poking around in the PE header from userspace long after the process has initiali

Re: Konsole or similar in cygwin

2008-03-12 Thread Danilo Turina
horacioemilio wrote: Hi, is it some way to have Konsole in cygwin ? I like its features like tabs, etc Thanks in advance I use mrxvt, you can find it on SourceForge ( http://sourceforge.net/projects/materm/ ). Now I must add other text (I think) because the previous e-mail, only composed

RE: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Dave Korn
Brian Dessent wrote on 12 March 2008 15:00: > Dave Korn wrote: > > > The native API, to the very best of my knowledge, exports exactly the > > same set of interfaces to every subsystem. Can you explain exactly > > what you're talking about here? > > Microsoft Windows Internals, 4th. Ed (Russi

Re: Konsole or similar in cygwin

2008-03-12 Thread Andrew Schulman
> You could use Poderosa: http://en.poderosa.org/. > > For a text-style tabbed window manager within your Cygwin console, try screen. > It's available in the Cygwin installer. I just also ran across Console, another tabbed console app that looks to be simpler than Poderosa: http://sourceforge.ne

Re: Konsole or similar in cygwin

2008-03-12 Thread Andrew Schulman
You could use Poderosa: http://en.poderosa.org/. For a text-style tabbed window manager within your Cygwin console, try screen. It's available in the Cygwin installer. Andrew. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.h

Re: Rebuilding gnu gcc or gnu as for the SPARC assembler

2008-03-12 Thread Brian Dessent
IB wrote: > So my questions are: > (1) Do I just change some options at the command-line to compile my > assembly file (written in SPARC)? If so, in gcc or via as and how do I > do this? I've tried: > $ as -Av6 printHello.s > as: unrecognized option '-Av6' While gcc and binutils do support many d

Konsole or similar in cygwin

2008-03-12 Thread horacioemilio
Hi, is it some way to have Konsole in cygwin ? I like its features like tabs, etc Thanks in advance -- View this message in context: http://www.nabble.com/Konsole-or-similar-in-cygwin-tp16002938p16002938.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info

Re: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Brian Dessent
Dave Korn wrote: > The native API, to the very best of my knowledge, exports exactly the same > set of interfaces to every subsystem. Can you explain exactly what you're > talking about here? Microsoft Windows Internals, 4th. Ed (Russinovich & Solomon), p. 60: > Because POSIX.1 compliance was

Re: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Corinna Vinschen
On Mar 12 12:16, Dave Korn wrote: > Brian Dessent wrote on 11 March 2008 04:56: > > > - When the testcase's binary is located anywhere but %windir% or > > %windir%\system32, then everything is fine. > > - Otherwise you get: > > Ah. So the error only arises when the binary is located in windows

RE: Bug: C-prog from Win dies in fork; gdb.exe also won't run

2008-03-12 Thread Dave Korn
Brian Dessent wrote on 11 March 2008 04:56: > - When the testcase's binary is located anywhere but %windir% or > %windir%\system32, then everything is fine. > - Otherwise you get: Ah. So the error only arises when the binary is located in windows system dir. Right alongside all those thousand

RE: emacs 21.3 does work while 22.1 works: Why 21.3 is default in cygwin setup

2008-03-12 Thread Dave Korn
Tatsuro wrote on 12 March 2008 08:34: > Thank you Marc > > I have tried installing emacs for sometimes by oridinally way > by cygwin setup. > Unintall and reinstall of emacs were done at least four times. > However I could not get successful. > At that time I found that emacs 22.1 (perhaps experi

Re: Regarding using .so file in gcc

2008-03-12 Thread Corinna Vinschen
On Mar 12 02:47, Magesh K wrote: > Hi, if you do this haphazard cross posting again, you'll be blocked from sending to any cygwin mailing list. Please stick to cygwin AT cygwin DOT com for queries like this. Repliers, please keep replies to cygwin AT cygwin DOT com. Thank you. > 1. How t

Regarding using .so file in gcc

2008-03-12 Thread Magesh K
Hi, #sorry if the mail received again as i am trying to post from mailer utility I am porting an linux based application to Windows. My application uses a third party library (having an dynamic library .so file). When I compile my code in cygwin using g++, I am not able to link the .so file using

Regarding using .so file in gcc

2008-03-12 Thread Magesh K
Hi, I am porting an linux based application to Windows. My application uses a third party library (having an dynamic library .so file). When I compile my code in cygwin using g++, I am not able to link the .so file using –l, -L, -shared or –static option. When I read through the user manu

Regarding using .so file in gcc

2008-03-12 Thread Magesh K
Hi, I am porting an linux based application to Windows. My application uses a third party library (having an dynamic library .so file). When I compile my code in cygwin using g++, I am not able to link the .so file using –l, -L, -shared or –static option. When I read through the user manu

Rebuilding gnu gcc or gnu as for the SPARC assembler

2008-03-12 Thread IB
Hello, I've installed cygwin fine on my machine. I am having trouble compiling an assembly file, which is written in the SPARC assembly architecture. When I type: as --version GNU assembler 2.17.50 20060817 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may red

Re: Cygwin and Vista symlinks using mklink problem

2008-03-12 Thread Corinna Vinschen
On Mar 11 22:12, Paul Carew wrote: > Beware!! > I have noticed that Cygwin and the new Vista command 'mklink' do not > co-exist very happily. > If you create a Vista symlink using mklink and then try to delete/remove > it using 'rm', the target is deleted and not the symlink! Cygwin 1.5.25 does

[ANNOUNCEMENT] Updated: smartmontools-5.38-1

2008-03-12 Thread Christian Franke
Version 5.38-1 of smartmontools has been uploaded. http://smartmontools.sourceforge.net/ Changes include: Cygwin release: - Alternative IOCTL routes to access SMART data - Allow to run smartctl without admin rights - Improved device scanning and drive type recognition - Added drive letters 'X:'

Re: emacs 21.3 does work while 22.1 works: Why 21.3 is default in cygwin setup

2008-03-12 Thread Tatsuro MATSUOKA
Thank you Marc I have tried installing emacs for sometimes by oridinally way by cygwin setup. Unintall and reinstall of emacs were done at least four times. However I could not get successful. At that time I found that emacs 22.1 (perhaps experimental), I tried to install them. They were successf

Re: emacs 21.3 does work while 22.1 works: Why 21.3 is default in cygwin setup

2008-03-12 Thread Marc Girod
Hello, On Wed, Mar 12, 2008 at 12:20 AM, Tatsuro MATSUOKA <[EMAIL PROTECTED]> wrote: > I have downdloded emacs-X11-21.2-13.tar.bz2 from > ftp://mirror.nyi.net/cygwin/release/emacs/emacs-X11/ Indeed. Why not installing the standard way? > There are two folders under usr > usr/bin > usr/shar