Re: dash incompatibility in /etc/profile

2011-08-24 Thread David Sastre
2011/8/21, Charles Wilson wrote: > Running 'dash -l' flags an error in /etc/profile: > > if [[ -n ${BASH_VERSION} ]]; then > HOSTNAME=$(/usr/bin/hostname) > profile_d sh > [[ -f "/etc/bash.bashrc" ]] && . "/etc/bash.bashrc" > elif [[ -n ${KSH_VERSION} ]]; then > typeset -l HOSTNAME=$(/usr/b

Re: dash incompatibility in /etc/profile

2011-08-24 Thread Charles Wilson
On 8/24/2011 7:40 AM, David Sastre wrote: > Can you please check which version of base-files here you using? > In 4.0-6 I have: 4.0-6. > Change Log > -- > 4.0-6 > * Dropped non-POSIX tests in /etc/profile - Eric Blake > cygwin.com/ml/cygwin/2011-03/msg00510.html > > Maybe you mo

Re: Cygwin shells closing when launched by a telnet server client in Windows 7

2011-08-24 Thread Corinna Vinschen
On Aug 22 13:46, Clayton Evans wrote: > I am in the process of upgrading to a new machine. This machine is > used as a compute server, where users telnet to the machine, start up > a Korn shell and run compute intensive programs from the Korn shell. > The current machine is running Cygwin 1.5 and

Does not work well: rlwrap + rxvt + cmd

2011-08-24 Thread Ronald Fischer
I would like to run cmd.exe within a rxvt terminal on Windows 7. Problem is that calling the cmd.exe command history does not work (it seems that the cursor keys are not passed properly to cmd.exe). In one thread in this mailing list, it was recommended to wrap the rxvt call by rlwrap: rlwrap

Re: Does not work well: rlwrap + rxvt + cmd

2011-08-24 Thread Eliot Moss
Just a quick thought, but I think you may want to run rlwrap within rxvt, something like: rxvt rlwrap cmd.exe but maybe with some flags, etc. Regards -- ELiot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: htt

Re: Does not work well: rlwrap + rxvt + cmd

2011-08-24 Thread Charles Wilson
On 8/24/2011 11:07 AM, Ronald Fischer wrote: > I would like to run cmd.exe within a rxvt terminal rlwrap is not the problem. Running 'cmd.exe' within rxvt is not possible; cmd.exe expects direct access to the console host (csrss on WinVista-; conhost.exe on Win7+). That is, it expects that funct

Re: Does not work well: rlwrap + rxvt + cmd

2011-08-24 Thread Andrew DeFaria
On 08/24/11 08:07, Ronald Fischer wrote: I would like to run cmd.exe within a rxvt terminal on Windows 7. My question is why? Why do you want to run cmd.exe? Problem is that calling the cmd.exe command history does not work (it seems that the cursor keys are not passed properly to cmd.exe). I

Re: Does not work well: rlwrap + rxvt + cmd

2011-08-24 Thread Ronald of Steiermark
On Wed, 24 Aug 2011 08:39 -0700, "Andrew DeFaria" wrote: > > I would like to run cmd.exe within a rxvt terminal on Windows 7. > My question is why? Why do you want to run cmd.exe? For instance, to test the cruel BAT files which we are going to deliver. > I also find the cmd shell and command lan

Re: Does not work well: rlwrap + rxvt + cmd

2011-08-24 Thread Eliot Moss
On 8/24/2011 11:52 AM, Ronald of Steiermark wrote: On Wed, 24 Aug 2011 08:39 -0700, "Andrew DeFaria" wrote: For instance, to test the cruel BAT files which we are going to deliver. You can run .bat files from bash and other Cygwin shells. You can also invoke DOS / Windows programs directly.

Re: Does not work well: rlwrap + rxvt + cmd

2011-08-24 Thread Andrew DeFaria
On 08/24/11 08:52, Ronald of Steiermark wrote: On Wed, 24 Aug 2011 08:39 -0700, "Andrew DeFaria" wrote: I would like to run cmd.exe within a rxvt terminal on Windows 7. My question is why? Why do you want to run cmd.exe? For instance, to test the cruel BAT files which we are going to deliver.

Re: cron

2011-08-24 Thread Larry Hall (Cygwin)
On 8/24/2011 12:08 PM, mramakish...@gmail.com wrote: HI, I am sucessed to run the Perl script which uses Net::SSH::Expect package from the cygwin command prompt. but i am scheduled the same script through crontab but script is breaking in middle. can you help me as early as possible.. Firs

TinyXML problem

2011-08-24 Thread Gery .
Dear users, I'm trying to install the GEOS (http://trac.osgeo.org/geos/) application in my cygwin, but I'm getting a problem apparently with the tinyxml.cpp, this is the error message: === ... ... ... Making check in swig make[1]: Entering directory `/usr/local/geos-3.

Re: TinyXML problem

2011-08-24 Thread Larry Hall (Cygwin)
On 8/24/2011 1:59 PM, Gery . wrote: Dear users, I'm trying to install the GEOS (http://trac.osgeo.org/geos/) application in my cygwin, but I'm getting a problem apparently with the tinyxml.cpp, this is the error message: I have: CYGWIN_NT-5.1 gery 1.5.25(0.156/4/2) 2008-06-12 19:34 i686

Re: TinyXML problem

2011-08-24 Thread Christopher Faylor
On Wed, Aug 24, 2011 at 05:59:43PM +, Gery . wrote: >So, please, is there a way to solve this problem without uninstalling >my current cygwin version and upgrading to the current 1.7 version of >Cygwin? We really don't support 1.5 anymore please don't expect support for it here. Cygwin 1.7.x

Re: TinyXML problem

2011-08-24 Thread jojelino
On 2011-08-25 AM 2:59, Gery . wrote: g++ -DHAVE_CONFIG_H -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -I../../source/io/tinyxml -DTIXML_USE_STL-g -O2 -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -MT tinyxml.o -MD -MP -MF .deps/tinyxml.