Can't start XFS

2007-04-16 Thread Dell'Anna Michele \(TERNA\)
I've an X application working on a PC with Windows 2000 and Cygwin installed. I connect via ssh to this machine from come clients with ssh and Xming. I'd like to use Cygwin server also as a Font Server. I added the fonts path to /etc/X11/fs/config but when I try to start xfs service I receive the f

Re: 1.5.24 Odd ProFTPD Permission Listing Problem

2007-04-16 Thread Carlo Florendo
Ronald Reed wrote: I have searched all over google and the mailing list archives and haven't found anyone having a problem like this. The problem: I have Cygwin setup with ssh and proftpd. There are two users, one is the Administrator the other is a Power User. If I ftp in, using the Power User

Re: Emacs ignores signals

2007-04-16 Thread Vin Shelton
Christopher Faylor wrote: On Mon, Apr 16, 2007 at 01:48:56PM -0400, Vin Shelton wrote: I've attached it to this message. PLEASE DON'T DO THAT! You've sent a massive attachment to thousands of people, most of whom, are uninterested in said attachment. Please think before doing something like

Re: crontab not sending output to me?

2007-04-16 Thread Pierre A. Humblet
- Original Message - From: "Kevin Markle" <> To: Sent: Monday, April 16, 2007 4:02 PM Subject: Re: crontab not sending output to me? | Pierre A. Humblet wrote on 4/13/2007 : | > - Original Message - | > From: "Kevin Markle" <> | > To: <> | > Sent: Friday, April 13, 2007 3:55 P

Re: crontab not sending output to me?

2007-04-16 Thread Kevin Markle
Pierre A. Humblet wrote on 4/13/2007 : - Original Message - From: "Kevin Markle" <> To: <> Sent: Friday, April 13, 2007 3:55 PM Subject: crontab not sending output to me? Hello, I'm running this crontab. When I run /cygdrive/e/wsus/run_all_groups.sh from a command line it works but w

Re: Emacs ignores signals

2007-04-16 Thread Christopher Faylor
On Mon, Apr 16, 2007 at 01:48:56PM -0400, Vin Shelton wrote: >Edwin Goei wrote: >>Karr, David wrote: >>>I'm guessing you weren't using the Cygwin-built xemacs. I use Xemacs >>>built for Cygwin, and I haven't been able to send signals to >>>subprocesses for a long time. >>> >>No, I am using the x

1.5.24 Odd ProFTPD Permission Listing Problem

2007-04-16 Thread Ronald Reed
I have searched all over google and the mailing list archives and haven't found anyone having a problem like this. The problem: I have Cygwin setup with ssh and proftpd. There are two users, one is the Administrator the other is a Power User. If I ftp in, using the Power User and try to use the "n

/cygdrive can't see share z:

2007-04-16 Thread dsula
Hi, In windows, I have "z:" mapped to a network share that requires authentication. However the drive is not visible in /cygdrive. I also tried to mount it but no success. Can please somebody help me? I'm running vista and the share is also on vista. Many thanks daniel -- View this message in con

Re: tab completion and symlink

2007-04-16 Thread Eric Lilja
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Lilja on 4/15/2007 11:48 AM: Is there a way to make completion add the trailing / so I don't have to type it? I usually want to enter a subdirectory to coding and not just coding. echo 'set mark-symlinked-direct

Re: Emacs ignores signals

2007-04-16 Thread Edwin Goei
Karr, David wrote: I'm guessing you weren't using the Cygwin-built xemacs. I use Xemacs built for Cygwin, and I haven't been able to send signals to subprocesses for a long time. No, I am using the xemacs installed from the cygwin installer. The precise version is: "XEmacs 21.4 (patch 20) \"

Re: Need to use Exim as a mail relay

2007-04-16 Thread Matthew Woehlke
Tek Bahadur Limbu wrote: Matthew Woehlke wrote: ...oh, and www.cygwin.com/acronyms#PCYMTNQREAIYR, thanks! Tek Bahadur Limbu wrote: I get the error: router send_to_gateway: cannot find router driver "manaulroute". Can you shed some light on this? Well "manaulroute" seems to be a typo, did

Re: C++ name with leading underscore character not Compiling

2007-04-16 Thread Greg Chicares
On 2007-04-16 13:47Z, Adye, TJ (Tim) wrote: > [warning about reserved names in non-system headers, distinguished in whatever way '-Wsystem-headers' uses] > > An alternative might be to distinguish between <> and "" includes. A few years ago, boost was trying to figure out what that distinction m

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Dave Korn
On 16 April 2007 15:14, Chelton Evans wrote: > Pre fixing the underscore character is a technique that was around > before the language evolved. > The compilers that I had used I had not encountered this before. :-) Welcome to the post K'n'R world. Things have changed a lot since pre-1989; t

Re: C++ name with leading underscore character not Compiling

2007-04-16 Thread Chelton Evans
And since you think this is important (and I agree), why on earth are you trying to use >reservered names that will not benefit this portability which you seek? :P Pre fixing the underscore character is a technique that was around before the language evolved. Generally I use lowercase variables

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Adye, TJ \(Tim\)
Hi Dave, Dave Korn wrote 16 April 2007 14:28:- > > On 16 April 2007 13:14, Adye, TJ (Tim) wrote: > > > I'm a bit surprised this isn't flagged by the compiler (it > > warns you about lots of other non-standard usages), though I guess it > > would be a bit ugly to implement (the compiler would h

RE: Emacs ignores signals

2007-04-16 Thread Karr, David
I'm guessing you weren't using the Cygwin-built xemacs. I use Xemacs built for Cygwin, and I haven't been able to send signals to subprocesses for a long time. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Goei > Sent: Saturday, April 14, 2

Cant start XFS font server

2007-04-16 Thread Dell'Anna Michele \(TERNA\)
I'd like to use a PC with Windows 2000 and Cygwin installed as a Font Server. I added the fonts path to /etc/X11/fs/config but when I try to start xfs service I receive the following message: "FontTransmkdir: Owner of /tmp/.font-unix should be set to root I searched in mailing list but I didn't fin

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Dave Korn
On 16 April 2007 13:14, Adye, TJ (Tim) wrote: > I'm a bit surprised this isn't flagged by the compiler (it warns you > about lots of other non-standard usages), though I guess it would be a > bit ugly to implement (the compiler would have to distinguish between > usage in a standard header and oth

Re: C++ name with leading underscore character not Compiling

2007-04-16 Thread Eric Lilja
Chelton Evans skrev: Thanks for the language correction. However the compiler is braking. Here is some of the code and the error messages reported in compilation. I have tested this on two different computers and the same error messages were reported. When I changed the _N to N or something e

[ANNOUNCEMENT] Updated: tcsh-6.15.00-2

2007-04-16 Thread Corinna Vinschen
I've updated the version of tcsh to 6.15.00-2. This version fixes two problems in the system files /etc/csh.cshrc and /etc/csh.login: - When running /etc/csh.cshrc, $PATH is set to contain /bin temporarily to find the commands called from /etc/profile.d/complete.tcsh. - Set $SHELL to /bin/tcsh

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Adye, TJ \(Tim\)
> > So, the case here ("_name" as an argument name) should be fine. > > Except that that was just an example, and in fact a > misleading one, because what Chelton's code was /actually/ > using was "_N"... hence the problem. Ah yes, I didn't see that (I thought his second case was the example

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Dave Korn
On 16 April 2007 12:50, Adye, TJ (Tim) wrote: > This means that a single leading underscore is fine in local scope, as > long as it is not followed by an uppercase letter (I am only aware of > conflicts with a single upper-case character (eg. _L), but I think the > standard would also prevent _Lo

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Adye, TJ \(Tim\)
Hi, Dave Korn wrote on 16 April 2007 12:29: > > Thanks for the correction. I'm referring to the C > standard; I think C++ follows basically the same rules but > don't have a spec handy to refer to. The C++ standard is a little different, but the result in this case is the same:- "17.4.3.1.2/

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Dave Korn
On 16 April 2007 12:08, Václav Haisman wrote: > Dave Korn wrote: >> On 16 April 2007 10:34, Chelton Evans wrote: >> >>> I believe it is legal to have a C++ variable name with a leading >>> underscore. >> >> No. All names beginning with an underscore are reserved for the >> implementation. >

Re: tcsh-6.15.00-1 can't find cat, cut, sed

2007-04-16 Thread Corinna Vinschen
On Apr 16 11:55, Dave Korn wrote: > On 16 April 2007 11:34, Corinna Vinschen wrote: > > > On Apr 13 16:23, Keith Thompson wrote: > >> I just upgraded to tcsh 6.15.00-1. When I start a login shell, > >> I get the following error messages: > >> > >> cat: Command not found. > >> cut: Command not fo

Re: C++ name with leading underscore character not Compiling

2007-04-16 Thread Václav Haisman
Dave Korn wrote: > On 16 April 2007 10:34, Chelton Evans wrote: > >> I believe it is legal to have a C++ variable name with a leading >> underscore. > > No. All names beginning with an underscore are reserved for the > implementation. > Nit pick, IIRC only names that start with underscore an

RE: tcsh-6.15.00-1 can't find cat, cut, sed

2007-04-16 Thread Dave Korn
On 16 April 2007 11:34, Corinna Vinschen wrote: > On Apr 13 16:23, Keith Thompson wrote: >> I just upgraded to tcsh 6.15.00-1. When I start a login shell, >> I get the following error messages: >> >> cat: Command not found. >> cut: Command not found. >> cat: Command not found. >> cut: Command no

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Dave Korn
On 16 April 2007 11:42, Chelton Evans wrote: > Thanks for the language correction. However the compiler is braking. > Here is some of the code and the error messages reported in compilation. > > I have tested this on two different computers and the same error messages > were reported. When I ch

Re: C++ name with leading underscore character not Compiling

2007-04-16 Thread Chelton Evans
Thanks for the language correction. However the compiler is braking. Here is some of the code and the error messages reported in compilation. I have tested this on two different computers and the same error messages were reported. When I changed the _N to N or something else the compilation cont

Re: tcsh-6.15.00-1 can't find cat, cut, sed

2007-04-16 Thread Corinna Vinschen
On Apr 13 16:23, Keith Thompson wrote: > I just upgraded to tcsh 6.15.00-1. When I start a login shell, > I get the following error messages: > > cat: Command not found. > cut: Command not found. > cat: Command not found. > cut: Command not found. > sed: Command not found. > > (The command I use

Re: vim patch

2007-04-16 Thread Corinna Vinschen
On Apr 15 03:43, Luca Masini wrote: > The attached patch should solve the problem with symbolic links. > For ex. when editing /etc/hosts we get the warning > E303: Unable to open swap file for "hosts", recovery impossible > > See also > http://cygwin.com/ml/cygwin/2006-06/msg00279.html > htt

Re: Unable to open /dev/mem: permission denied

2007-04-16 Thread Corinna Vinschen
On Apr 15 03:15, Brian Dessent wrote: > Jamie Mortimore wrote: > > > Unable to open /dev/mem: Permission denied > > > > I have set up a root user (in /etc/passwd) and am running the program > > as root but this doesn't solve the problem. Any help much appreciated. > > Having a user named 'root'

Re: If tcsh is the login shell, $SHELL is unset

2007-04-16 Thread Corinna Vinschen
On Apr 13 16:34, Keith Thompson wrote: > I've set my default login shell to tcsh (by editing /etc/passwd), > and I invoke tcsh explicitly using the command > "C:\cygwin\bin\rxvt.exe -fn 9x15 -fb 9x15bold -e /bin/tcsh -l" > executed from a Windows shortcut in my Start menu.) > > When my shell s

Re: SIGTSTP and select

2007-04-16 Thread Corinna Vinschen
On Apr 13 15:04, Bob Rossi wrote: > On Fri, Apr 13, 2007 at 04:51:36PM +0200, Corinna Vinschen wrote: > > On Apr 13 10:01, Bob Rossi wrote: > > > On Fri, Apr 13, 2007 at 03:25:01PM +0200, Corinna Vinschen wrote: > > > > > > On Mon, Apr 02, 2007 at 08:07:23PM -0400, Bob Rossi wrote: > > When you obs

RE: C++ name with leading underscore character not Compiling

2007-04-16 Thread Dave Korn
On 16 April 2007 10:34, Chelton Evans wrote: > I believe it is legal to have a C++ variable name with a leading > underscore. No. All names beginning with an underscore are reserved for the implementation. However, the compiler allows it, because for all it knows your code could be part of

C++ name with leading underscore character not Compiling

2007-04-16 Thread Chelton Evans
I believe it is legal to have a C++ variable name with a leading underscore. A name with two underscores is reserved, so I guess this is illegal. Currently the two cases are reversed. class hat { ... void fred( int __name) ... compiles, but class hat { ... void fred( int _name)... which is legal d

RE: Why mix DOS files and UNIX files at Set-Up?

2007-04-16 Thread Dave Korn
On 16 April 2007 10:03, ariga masahiro wrote: > Hopefully I entered next command, > $ configtool.exe > > Then nothing but > "The root node for all configurable items" > > What happened to my PC? It is most likely that one of the data or configuration files for configtool.exe now has the wrong

RE: bash error

2007-04-16 Thread Luukkanen Tapio
This is just a basic bourne shell issue. Examine the output of the following commands in your cygwin's bash-window and make the necessary changes to your "exp" command line: bash$ echo foo=(bar,baz) bash$ echo "foo=(bar,baz)" bash$ echo foo="(bar,baz)" bash$ echo foo="("bar,baz")" -Origi

Re: Why mix DOS files and UNIX files at Set-Up?

2007-04-16 Thread ariga masahiro
Thanks Larry, I re-installed from cygwin specifying DOS file format. After installed,I entered next shell command, $ sh-elf-gcc -v did not appear error. After written in .bash_profile, . /opt/ecos/ecosenv.sh I "log-in"ed in cygwin. Did not appeare errors. Hopefully I entered next command, $ co

Re: bash error

2007-04-16 Thread Carlo Florendo
srikanth4403 wrote: hi all, i am trying to take backup of oracle tables by using exp command but when i am entering the command it is giving a error as below bash: syntax error near unexpected token `(' So kindly someone tell me how to rectify this and proceed for the normal export. Yes. Pl

RE: bash error

2007-04-16 Thread Dave Korn
On 16 April 2007 08:40, srikanth4403 wrote: > hi all, > > i am trying to take backup of oracle tables by using exp command but when i > am entering the command it is giving a error as below > bash: syntax error near unexpected token `(' > > So kindly someone tell me how to rectify this and proce

bash error

2007-04-16 Thread srikanth4403
hi all, i am trying to take backup of oracle tables by using exp command but when i am entering the command it is giving a error as below bash: syntax error near unexpected token `(' So kindly someone tell me how to rectify this and proceed for the normal export. The original command what iam t