Apache under Cygwin

2003-03-20 Thread Andrew DeFaria
This may or may not be off topic. Recently I switched from using Apache for Windows to using Apache for Cygwin. Things work fine except that the stability of Apache under Cygwin is flakey. What often appears to happen is that the web server is running along just fine and you can see a main http

Re: logon as a service for XP home edition

2003-03-20 Thread Andrew DeFaria
Karl M wrote: STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail This is rich in my book! Stop more spam when what is the above except unsolicited commercial email or spam in the

Re: ssmtp: can't open the smtp port (0) on mailhost

2003-03-20 Thread Andrew DeFaria
gSOAP acct wrote: Hi, I am totally clue less. I have cygwin installed on an NT 4.0 system with no NT native email software (ie no outlook). I have some shell scripts that use to run on a Solaris system that used mailx to email error messages to me. I tried changing the scripts to use smtp in

Re: inetd anonymous ftp access

2003-03-20 Thread Andrew DeFaria
What's your ~ftp structure look like? Here's what I have (and it works for me): $ cd ~ftp $ ls -ld bin etc; ls -l bin etc dr-xr-xr-x+ 2 SYSTEM SYSTEM 0 Mar 4 11:07 bin/ dr-xr-xr-x+ 2 SYSTEM SYSTEM 0 Mar 23 2002 etc/ bin: total 956 -r-xr-xr-x1 SYSTEM SYSTEM 91

Re: Apache under Cygwin

2003-03-20 Thread Andrew DeFaria
Stipe Tolj wrote: Andrew DeFaria wrote: In playing with this I jump on the server and start killing the children and reattempting either a web page connect or a telnet connection. Usually before I kill all of the children the web server responds and all is fine. However, needless to say, this

Re: logon as a service for XP home edition

2003-03-20 Thread Andrew DeFaria
my book! Kinda reminds me of a spam I once got about a spam reducing tool. Huh? You spam me to sell me a tool that will stop messages such as your own?!? When's it gonna end! Randall Schulz At 11:23 2003-03-20, Andrew DeFaria

Re: seteuid and file ownership

2003-03-20 Thread Andrew DeFaria
You might start by checking the status after the setuid call. Perhaps it failed. Vishal Jain wrote: Hi, I am making a seteuid() call to impersonate user "shweta". Then I create a file. When I do ls -l on the file, it shows the owner as "vishalj" which was the user before doing impersonation. -rw

Re: RXVT Problem with buffering of application output.

2003-03-21 Thread Andrew DeFaria
Ayamico Hamasaki wrote: I am using a lot of these programs from day to day. For example, the Clearcase command line programs. All the programs require user inputs will exhibit the output buffering problem. This almost makes rxvt un-usable. I am not saying this is a rxvt problem. This could be

Re: inetd anonymous ftp access - SOLUTION :-D

2003-03-21 Thread Andrew DeFaria
Vito wrote: uauauauauauau :-D:-D :-D :-D :-D :-D After to have spent the last night to study the problem, finally I have resolved it. In the options of protection of WinXP there is the option that limits the access to the console to the users without password. This option is default enabled. En

Re: Determining the location of a Cygwin installation

2003-03-26 Thread Andrew DeFaria
Rolf Campbell wrote: You mean "cygpath -w -p /bin", because he said "I need to determine the native path to the directory containing cygwin1.dll" He also said he needed to determine this from "outside the Cygwin environment" and I would think that cygpath is inside the Cygwin environment. Thin

Re: Determining the location of a Cygwin installation

2003-03-26 Thread Andrew DeFaria
Elfyn McBratney wrote: But as cgf (the Really Cool Manager) said the registry keys are not to be relied on as they might not be there forever. Yeah but what I'm saying is that there should be a commitment to at least one registry entry which denotes the [active] installation path of Cygwin. IO

Re: Determining the location of a Cygwin installation

2003-03-26 Thread Andrew DeFaria
Marcel Telka wrote: On Wed, Mar 26, 2003 at 12:23:31PM -0800, Andrew DeFaria wrote: Elfyn McBratney wrote: But as cgf (the Really Cool Manager) said the registry keys are not to be relied on as they might not be there forever. Yeah but what I'm saying is that there should be a commitment

Re: Determining the location of a Cygwin installation

2003-03-26 Thread Andrew DeFaria
Tino Lange wrote: This is not true! There's a trick: At least under >= Windows 2000 you can just put 'cygpath.exe' (and its path) in your so called "ApplicationPaths". This is a Registry location for several utils you can just call by name - no more needed. Have a look at your: "HKEY_LOCAL_MACH

Re: Determining the location of a Cygwin installation

2003-03-26 Thread Andrew DeFaria
Elfyn McBratney wrote: While interesting there are two flaws here. Firstly, this down't work on all versions of Windows. Secondly, if I could get my users to set their "ApplicationPaths" I could as easily get them to set their PATHs. The real world situation is that this is not the case and ne

Re: How to start apache in cygwin

2003-03-27 Thread Andrew DeFaria
jklcom wrote: Hi nalin, I've just installed cygwin 1.3.22-1. Can you show me how to start apache within cygwin? You probably don't want to run Apache for Cygwin under Cygwin 1.3.22-1. Besides being slower than the native Windows Apache, it has this nasty habit of just locking up with apparentl

Re: Why don't cygwin apps exit when I shutdown Windows>

2003-03-27 Thread Andrew DeFaria
CP Hennessy wrote: This is probably a stupid question but I cannot find an answer in the FAQ. When I exit Windows using either "turn off computer" or "log off", the windows where I am running cygwin bash does not exit. Instead a dialog box with the title "End program - " and with the options "End

Re: cygwin + apache + php problem

2003-03-31 Thread Andrew DeFaria
Adam Csillag wrote: Okay, here we go. By the way apache runs perfectly without php. Actually Apache for Cygwin has been known to just hang over time in later versions of Cygwin. As such, unless you plan only on playing around with it, I would suggest you use Apache for Windows instead of Apache

Problem with gawk (3.1.2-2) under Cygwin 1.3.22-1

2003-03-31 Thread Andrew DeFaria
Just installed 1.3.22-1 and I have a problem with gawk. Whenever I running it I get a Windows dialog box stating: "The procedure entry point iswlower could not be located in the dynamic link library cygwin1.dll". $ cygcheck -c cygwin gawk Cygwin Package Information Package Version

Re: Problem with gawk (3.1.2-2) under Cygwin 1.3.22-1

2003-04-01 Thread Andrew DeFaria
Igor Pechtchanski wrote: Sounds like a duplicate/old cygwin1.dll problem to me... Make sure your /bin/cygwin1.dll was actually replaced by setup (i.e., no Cygwin processes were running while you ran setup). A reboot should help. If not, post the output of 'cygcheck "`cygpath -w /bin/cygwin1.dll

Re: Big Brother is Real

2003-04-03 Thread Andrew DeFaria
Steve Coleman wrote: Randall R Schulz wrote: I think we have to work with the legal system, not try to subvert it. Microsoft has a right to set the licensing terms it wants. We have a right to tell them to go to hell. Currently however, and as you note, the power relationship is highly skewed.

Re: Big Brother is Real

2003-04-03 Thread Andrew DeFaria
Tim Prince wrote: Lack of cygwin support has impeded the market penetration of Windows XP64, but it seems Microsoft would rather lose out to linux and HPUX than let their customers run cygwin. It may be they don't understand how many customers depend on cygwin, which is their fault too, since

Re: Question about "rexec"

2003-05-27 Thread Andrew DeFaria
Igor Pechtchanski wrote: Or you could just look at the FAQ: Why doesn't chmod work? All that this says is to insure that you have ntsec set. I have it set. chmod still doesn't work! BTW I'm on Windows XP and use NTFS. My home directory is on the s

Re: quoting windows pathnames

2003-05-27 Thread Andrew DeFaria
Bill C Riemers wrote: Silly question but why do you _have_ to use paths with spaces in them under Windows XP? It's possible to change e.g. the default programs directory from e.g. C:\Program Files\ to C:\Programs\, the same stands for the other standard directories. OK. You have me curious.

Re: Question about "rexec"

2003-05-27 Thread Andrew DeFaria
Max Bowsher wrote: Andrew DeFaria wrote: Larry Hall (RFK Partners, Inc.) wrote: Andrew DeFaria wrote: Bill C. Riemers wrote: You might also want to check the ownership of your home directory and .ssh directory, as that is the only thing I can think of that would cause

Re: Question about "rexec"

2003-05-27 Thread Andrew DeFaria
Max Bowsher wrote: Andrew DeFaria wrote: Max Bowsher wrote: Andrew DeFaria wrote: All that this says is to insure that you have ntsec set. I have it set. chmod still doesn't work! BTW I'm on Windows XP and use NTFS. My home directory is on the server (/us is

Re: crontab error

2003-05-29 Thread Andrew DeFaria
Chuck Hamilton wrote: I'm finding if I run the cron command manually from a shell window, it works. If I try to start it as a service, it fails to start. Below is what I found in the win2k application log. Does it help? "The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The lo

Re: Getting "cleartool" prompts to work in Cygwin

2003-05-29 Thread Andrew DeFaria
Karr, David wrote: Uname -a: CYGWIN_NT-5.1 WG44KA2G55H 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin The "cleartool" application (part of ClearCase) will often present question prompts in normal operation, to confirm certain operations. When I execute these commands in a DOS box, i

Re: Question about "rexec"

2003-05-30 Thread Andrew DeFaria
Christopher Faylor wrote: On Tue, May 27, 2003 at 04:45:48PM -0700, Andrew DeFaria wrote: (Wonder why this isn't on by default like ntsec...?) For the obvious reason... cgf It's not obvious to me, which is why I asked the question. -- Unsubscribe info: http://cyg

Re: NTsec permissions issue over inet

2003-06-03 Thread Andrew DeFaria
Igor Pechtchanski wrote: Steve, On Windows, if you use the Windows sharing mechanism (instead of a proprietary filesystem driver), your shares are SMB shares (which stands for Server Message Block, IIRC). The 'smbntsec' option is designed for those kinds of shares. Methinks the documentation w

Re: Problem Running Apache through Cygwin

2003-06-16 Thread Andrew DeFaria
Dave Fletcher wrote: Hello all. This week I have had to reinstall Windows 2000 (due to a problem unrelated to Cygwin) and was suprised to find files in my Windows home directory (SSH stuff) and in my cygwin home still owned by the previous user with the same name. I cannot delete or modify these

Re: Determining the location of a Cygwin installation

2003-06-27 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: We have a .bat script to run setup and the local post-install script for lots of extra tailoring. Much of this can also be found at my personal web page: http://members.optushome.com.au/lukekendall/xwin-network.html Looked at your script. Like many people you assume tha

Re: posix and win32 enviornment

2003-07-08 Thread Andrew DeFaria
Shankar Unni wrote: Igor Pechtchanski wrote: [...] you'll be using the MinGW libraries, and your program will not understand POSIX paths (i.e., you'll have to use Win32 ones). Well, to be totally, utterly nitpicky, I believe "/WinNT/System32" is a valid POSIX filename which will be understood

Re: posix and win32 enviornment

2003-07-09 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Mon, 7 Jul 2003, Andrew DeFaria wrote: Shankar Unni wrote: Igor Pechtchanski wrote: [...] you'll be using the MinGW libraries, and your program will not understand POSIX paths (i.e., you'll have to use Win32 ones). Well, to be totally, utterly nitpicky,

Re: Backing up cygwin

2003-07-14 Thread Andrew DeFaria
Shankar Unni wrote: Rolf Campbell wrote: The reason why the mount table cannot be stored in a file is: where would this file be located? In the same directory as cygwin1.dll, of course. Or a path relative to it. That's easy to find, and doesn't have to be written in portable POSIX-y code - stu

Re: Cygdrive Path Prefix Question

2003-07-18 Thread Andrew DeFaria
Corinna Vinschen wrote: On Thu, Jul 17, 2003 at 10:57:25PM -0700, Kenny Carruthers wrote: So just wondering if someone can tell me how I configure cygwin to echo back Win32 style paths instead of POSIX style paths for the current working directory. cygpath -w `pwd` Corinna That answers that qu

Re: Spammers watching this user forum

2003-07-18 Thread Andrew DeFaria
Earnie Boyd wrote: Please consider not ``bouncing'' SPAM. There have been various DoS type virus that send email with fictitious headers. When you bounce that type of SPAM then you are participating in the DoS. The bounce doesn't even reach the actual sender, it reaches the fictitious sende

Re: Spammers watching this user forum

2003-07-18 Thread Andrew DeFaria
Steve Coleman wrote: My current thoughts.. Most spammers use open relays as their way to move their email into the legitimate Internet email system Are you sure about this? I know spammers abuse open relays but I'm not as certain that the majority of their spamming occurs over open relays. If

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Andrew DeFaria
Randall R Schulz wrote: Cygwin apps don't know about and cannot respond to the system-generated messages that request that applications quit in preparation for the system to shut down or the user to log off. "Cannot respond to"? When a system-generated message that requests that applications q

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Andrew DeFaria
nal to the shell. If true then there is already a mechanism for Win Event -> POSIX signal. Randall Schulz At 17:16 2003-07-23, Andrew DeFaria wrote: Randall R Schulz wrote: Cygwin apps don't know about and cannot respond to the system-generated messages that request that ap

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-24 Thread Andrew DeFaria
Igor Pechtchanski wrote: There is such a mechanism on Win2k. I don't think there is one on Win9x. This thread seems to indicate that there isn't one on WinXP, either, at least not for shutdown messages. Are you saying that when you click close on a shell window and Windows sends an event (WM_CL

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-24 Thread Andrew DeFaria
David Sharp wrote: I don't know for sure either, but by the end of a day, it is not unusual for me to see multiple instances of bash.exe within my task manager, despite having closed them in windows. Therefore I don't think there is windows->posix signal translation, just the other way around.

Re: apache dies with pppoe

2003-07-24 Thread Andrew DeFaria
Bill McCormick wrote: I think this is a new one. I'm running Apache behind a nat'd f/w router attached to a dsl modem that dhcp's an ip from a pppoe connection. When the IP address changes, Apache must be restarted. At the moment I'm cron'ing a restart - but that's a kludge. Anybody have a si

Re: apache dies with pppoe

2003-07-25 Thread Andrew DeFaria
Elfyn McBratney wrote: On Thu, 24 Jul 2003, Bill McCormick wrote: Andrew DeFaria recently replied to one of my posts (to me only) with this: Because you CC'ed me. I use gname for newsserver access. There is (was?) some issue with setting reply to using gname so I don't set it. I do

Re: fork:Resource temporary unavailable

2003-07-28 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: > When I execute the syscall Fork(), it return with error[Resource > temporary unavailable]. > If there are some restrictions to fork() in cygwin? More than likely there is some restrictions on your current usage of memory! Usually when I see this you are having a problem

Re: apache problems gone with 1.50

2003-07-29 Thread Andrew DeFaria
Bill McCormick wrote: I installed cygwin 1.50 and my apache problems have ceased. This is good to hear. Perhaps I will switch from Apache for Windows -> Apache under Cygwin. Only problem is I also trying to move my web site over to a Linux box instead - which makes this all kinda moot. However I

Bash traps - while emitting ERR trap

2003-07-30 Thread Andrew DeFaria
Given the following script: #!/bin/bash function cleanup {echo "ENTER cleanup" } # cleanup trap cleanup EXIT ERR declare -i i=4 echo "Entering while loop" while [ $i -gt 0 ]; do echo "In while loop" let i=i-1 done echo "After trap is set

Re: "Using Cygwin Effectively with Windows" -- Draft of new User'sGuide section

2003-07-31 Thread Andrew DeFaria
Joshua Daniel Franklin wrote: --BEGIN There are several options for printing from Cygwin, including the native Windows lpr.exe, and the simlple lpr found in cygutils. The cygutils version will print to the printer definted in your PRINTER environment variable. It also accepts network printer na

Re: Yes but I don't understand ...

2003-08-05 Thread Andrew DeFaria
Randall R Schulz wrote: As I understand it, it all goes back to the big bang... But the real question, still unanswered, is what happened before the big bang! :-) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Document

Re: Win2k and cygwin memory leak

2003-08-07 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Well, I can't feel too guilty about chiming "me too" - cause it already brought forth a VERY useful and *productive* response: http://cygwin.com/ml/cygwin/2003-08/msg00460.html Unlike the ... uh-hem ... *posts* of some other folks This seems to me to be just a band

Re: Win2k and cygwin memory leak

2003-08-08 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Forgot to add that I call the perl script every *FIVE* minutes - 24-7. The script is VERY memory intensive so it really works cygwin and the 2000 Server HEAVY. If I didn't scrub the memory four times a day, the box would crash - and did just recently when I had turned o

Re: [BUG] pututline () & rxvt: rxvt leaves stale utmp entries

2003-08-08 Thread Andrew DeFaria
Christopher Faylor wrote: A simple test case. Sob. A simple test case. Oh, how I've missed you. Given the good problem description and the simple test case, this shouldn't be hard to fix. I'll see what I can do. The behavior that you've described has bugged me for a while. I'm glad that you tra

SCO/IBM legal issues

2003-08-10 Thread Andrew DeFaria
This probably doesn't effect Cygwin at all since AFAICT the SCO claims are about the Linux kernel and Cygwin has no real kernel as per se, however SCO seems to be just about challenging the whole GPL concept. Briefly SCO claims that since it owns the rights to certain pieces of Unix (through a

Re: Win2k and cygwin memory leak

2003-08-10 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: It has already been acknowledged several times over that it is not a problem of Cygwin's rather a problem of Windows. I think we all agree to that. But unfortunatelly, so far, only Cygwin seems affected by that problem. Funny I don't see the problem. (Anybody else?) Hen

Re: Win2k and cygwin memory leak

2003-08-11 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Seems like your saying that (using a car analogy) he should replace the carberator when the real problem is a leak in the fuel line. (IOW you're attacking the wrong area - your problem lies elsewhere). Nope - gotta lower your expectations. I use to work in shop when I wa

Re: Win2k and cygwin memory leak

2003-08-14 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Gosh, isn't there a *win* in *cygwin*?? Not that I'm "demanding" anything or goodness knows, making suggestions about how you 'Oh Great One' should allocate your resources - goodness *no*! But this notion that a WinDoze problem is not *also* a cyg*win* problem - is quit

Re: About ENV?

2002-10-18 Thread Andrew DeFaria
John Vincent wrote: Hi, Not quite right there ... You can preceed a command with an assignment, and the assigned variable is then put into the environment of the command that is run. Thus the command "echo" is run with an environment variable with the value . However, this does not c

Problem with rsh

2002-10-25 Thread Andrew DeFaria
m Instant Messaging AIM: defaria MSN: [EMAIL PROTECTED] Yahoo: andrew_defaria ICQ #: 23552673 Andrew DeFaria <http://DeFaria.com> Clearcase Administrator Email: [EMAIL PROTECTED] <mailto:Andrew@;DeFaria.com> Web: http://DeFaria.com -- Unsubscribe info: http://cygwin.com/m

Re: Problem with rsh

2002-10-25 Thread Andrew DeFaria
t least I have a workaround for work. Thanks. Andrew DeFaria wrote: I've run into a major problem using rsh. Note that I've been using rsh successfully for a while and many people here depend on being able to rsh into the server. However now I get: $ rsh server id server.mydomain.com: Per

Re: Problem with rsh

2002-10-25 Thread Andrew DeFaria
Pierre A. Humblet wrote: On Fri, Oct 25, 2002 at 03:23:11PM -0700, Andrew DeFaria wrote: David Rothenberger wrote: Check your /etc/passwd file and make sure there is no entry in the password field (the second field). You want something like this: someuser::11150:... and not something like

1.3.14 Permission denied while doing a touch on MVFS

2002-10-31 Thread Andrew DeFaria
I just installed 1.3.14 and am now experiencing problems with permission denied when doing a touch but only when working on Clearcase's MVFS file system (i.e. a dynamic view). AFAICT I do have ntsec set and a proper /etc/passwd file, etc. This all sounds like other permissions problems that I'v

Re: problem with bash

2002-11-14 Thread Andrew DeFaria
Igor Pechtchanski wrote: Well, if you really want something equivalent to 'ls *', you'd need to do something like find . -maxdepth 1 \( -name .\* -o -print \) | xargs ls The "-maxdepth 1" is to not descend recursively into directories, and the "-name .\*" is to avoid listing hidden files/dire

Re: how to configure rsh daemon

2002-11-21 Thread Andrew DeFaria
Claudio Tamietto wrote: I need to run rsh from a non interactive script . I known i have to configure the .rhosts file but i d'ont known the format,where to put it and how to associate the local user whit the remote user. Can someone tell me where to find some documentation on the web ? Thanks

impure_ptr/Mingw and Cygwin

2002-11-22 Thread Andrew DeFaria
I wish to use -mno-cygwin to produce an executable that can work without Cygwin installed. I have successfully done this before. Now I'm adding some functionality to my program and it is no longer working! I've worked it out such that it will compile and link but when my program runs it simply

Re: impure_ptr/Mingw and Cygwin

2002-11-24 Thread Andrew DeFaria
Peter A. Castro wrote: What you show below is only linking. I believe you need to re-compile all of your source with -mno-cygwin -mwindows as well to make the _impure_ptr references go away. But I did re-compile all my sources with -mno-cygwin -mwindows! Still have the error. /bin/gcc mksf.o

Re: impure_ptr/Mingw and Cygwin

2002-11-25 Thread Andrew DeFaria
Peter A. Castro wrote: On Sun, 24 Nov 2002, Andrew DeFaria wrote: Peter A. Castro wrote: What you show below is only linking. I believe you need to re-compile all of your source with -mno-cygwin -mwindows as well to make the _impure_ptr references go away. But I did re-compile all my

Re: impure_ptr/Mingw and Cygwin

2002-11-25 Thread Andrew DeFaria
Peter A. Castro wrote: On Mon, 25 Nov 2002, Andrew DeFaria wrote: Peter A. Castro wrote: On Sun, 24 Nov 2002, Andrew DeFaria wrote: Peter A. Castro wrote: What you show below is only linking. I believe you need to re-compile all of your source with -mno-cygwin -mwindows

Re: impure_ptr/Mingw and cygwin

2002-11-25 Thread Andrew DeFaria
Christopher Faylor wrote: [one more for the archives] On Mon, Nov 25, 2002 at 04:51:38PM -0800, Andrew DeFaria wrote: If this were really so then why, if I don't specify -I/usr/include I get getopt.h not found?!? I should be found in /usr/include/getopt.h no? /usr/include is for cygwin

Re: impure_ptr/Mingw and cygwin

2002-11-26 Thread Andrew DeFaria
PROTECTED] <mailto:[EMAIL PROTECTED]%3E> Web: http://www.salira.com Instant Messaging AIM: defaria MSN: [EMAIL PROTECTED] Yahoo: andrew_defaria ICQ #: 23552673 Andrew DeFaria <http://DeFaria.com> Clearcase Administrator Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Web:

Re: sshd installation on NT 5.0

2002-11-26 Thread Andrew DeFaria
Marc Girod wrote: Hi! There has recently been a discussion on the installation of sshd on NT4, but I feel my problems are more basic. I installed cygwin on a Windows Terminal Server, for all users, as local admin. I installed cygrunsrv, and openssh. I ran ssh-host-config, and answered basica

Re: How can I avoid using a DOS box??

2002-11-27 Thread Andrew DeFaria
Christopher Faylor wrote: I don't know how often I've expressed my opinion but I am mildly against it. The problem is that cygwin's pty implementation is not perfect. It can't run some native windows programs and it can deadlock occasionally. There are some patches available that potentially solv

Re: How can I avoid using a DOS box??

2002-11-27 Thread Andrew DeFaria
[mn] wrote: No, you cannot claim that. rxvt still behaves strangely in some ways when being executed in Windows XP, for instance because of an annoying ClearType incompatibility. I do not know whether this grave bug has been fixed in the meantime, I'm still using the 1.3.13-2 release. But I st

Re: How can I avoid using a DOS box??

2002-11-27 Thread Andrew DeFaria
Max Bowsher wrote: Sorry, no. An XP cmd box does everything I need. Rxvt doesn't seem to have any way to let me cut and paste with just the mouse (I only have 2 buttons+scroll on my laptop). On my non laptop 2 button mouse with a scroll, clicking the scroll button pastes. Also Shift-Button 1

Re: ls.exe shows windows system hidden files

2002-12-02 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Hi, Try to remember that cygwin is a unix emulation layer for windows that tries to emulate unix in as many respects as possible. To change the ls source to accomadate for something windows uses to hide files, sometimes unknown from its users, would not be unix like.

Re: ls.exe shows windows system hidden files

2002-12-02 Thread Andrew DeFaria
Randall R Schulz wrote: Andrew, Cygwin uses stock "ls" source code. Cygwin's "ps" is entirely it's own--it's all "distinctly Cygwin." Makes sense. Still I would like ls to do it (in my case by default). You see I'm one of those, I guess, few Windows users who actually uses hidden files and

Re: Cygwin official logo ?

2002-12-03 Thread Andrew DeFaria
How about a wolverine (sp?). Randall R Schulz wrote: Hi, Reading a certain recent whiny post about not getting help, it occurred to me what the Cygwin mascot's name must be: "The Cygwin Meany" The only problem I can see is that no one thinks of otter's as mean, so perhaps one of it's r

Re: WinXP box crashed on starting OfficeXP

2002-12-03 Thread Andrew DeFaria
Stephen Liu wrote: Hi all folks, I am running cygwin on a WinXP box which is linked to a LTSP server (Linux server). While reading an OperOffice1.0 document starting OfficeXP document made the WinXP crashed. Kindly advise whether it was due to the conflict of these 2 software, OpenOffice an

Re: Thank you!

2002-12-04 Thread Andrew DeFaria
Christopher Faylor wrote: On Wed, Dec 04, 2002 at 01:49:41AM +, [EMAIL PROTECTED] wrote: Forgive the electronic intrusion, but I needed to congratulate you and the team on Cygwin ... it saves us where I work. We use it every day, it's on every dev box, and because of it, we can build our

ssh/telnet

2002-12-05 Thread Andrew DeFaria
I have Cygwin installed at home. I used to telnet to my home machine and it would say: Last login: Fri Aug 23 12:02:56 2002 from $ I have since turned off telnet and switched to ssh. I still get that same line echoed out about when I last logged in. Cool, except it still says Fri Aug 23th! IO

Re: ssh/telnet

2002-12-06 Thread Andrew DeFaria
ing cygwin setup.exe and see if that remedies your troubles. I did this last night. I'm now on Cygwin 1.3.17 and have openssh 3.5p1-2. I run ssh as a service and am on Windows XP SP1. Still see Fri Aug 23rd as the last login date. Where is this last login date stored? How is it updated? -Abe

Re: Is it possible to use centralized passwords with cygwin inetd?

2002-12-06 Thread Andrew DeFaria
(Send to the list and the sender)... Bruce P. Osler wrote: For starters - I'd like to contribute to the Cygwin love-fest going on. I think Cygwin is an awesome environment with huge benefits for folks working under windows. Today I'm interested in finding out wether I can use networked passwor

Re: UNC paths are not supported. Defaulting to Windows directory.

2002-12-06 Thread Andrew DeFaria
Adrian C. Brown wrote: Why would I get this error when trying to start cygwin from the shortcut placed on the desktop? CMD.EXE was started with '\\coruscant\users\adrianb\Desktop' as the current directory path. UNC paths are not supported. Defaulting to Windows directory. I am using Windows

Re: UNC paths are not supported. Defaulting to Windows directory [and side comment on lists]

2002-12-06 Thread Andrew DeFaria
linda w (cyg) wrote: I found creating a shortcut to bash (and calling it 'cygwin') seems to shortcut the need for using cmd.exe. When I use the provided 'cygwin.bat', I end up with a process tree: EXPLORER: CMD.EXE BASH.EXE --- makes sense, shell cmd calls bash.exe -- but I noticed this annoyi

Re: ssh/telnet

2002-12-06 Thread Andrew DeFaria
Abraham Backus wrote: I believe that this information is stored in the utmp database, which appears to be in /var/run/utmp (a binary file) on my installation. If you type the "who am i" command, it gives the information from utmp. There are probably some tools for displaying what's in this f

Re: cron problem in W2K Proffesional

2002-12-09 Thread Andrew DeFaria
Eric De La Cruz Lugo wrote: The cron works now!, the output its ok (date.txt). but with my script the things are different, here are the files I use.. I tested the script from the command line and work flawlesly, but when i add it to my crontab it does not work has expected! the files are atach

Re: ssh/telnet

2002-12-09 Thread Andrew DeFaria
Abraham Backus wrote: After checking things out a little more, it looks like "last logged in" type of data is in your wtmp database, which on my system is /var/log/wtmp. This appears to be a log/history of past logins. To view the data in here, try the following command: $ who /var/log/wtmp We

Re: ssh/telnet

2002-12-09 Thread Andrew DeFaria
Andrew Markebo wrote: | Last login: Fri Aug 23 12:02:56 2002 from 206.184.204.2 | Starbase:who am i | STARBASE!Andrew tty1 Dec 6 15:47 | Starbase:who | Andrew tty1 Dec 6 15:47 | Still get Fri Aug 23 for last login. Hmm what command does your ssh-deamon fire up on the 'remote' machine, Ah, I'm

Re: telnet - connection refused in windows xp home

2002-12-09 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: hello: I finally see the Cygwin inetd under services. But when I try to start it I get the follwoing error error 1053: the service did not respond to the start or control request in a timely fashion Have you tried adding your Cygwin bin (typically C:\Cygwin\bin) to t

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Type this in a bash window: cygrunsrv -I LoginShell -d "Login shell" -p /usr/bin/cygstart -a /usr/bin/login -e "CYGWIN=tty binmode ntsec" Go to the Control Panel->Administrative Tools->Services Right click on "LoginShell" and go to properties. Go to the "Log On" tab and

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
Igor Pechtchanski wrote: Cary, Windows already has such a service. Try the following from your bash prompt: $ at `date -d "next min" +"%H:%M"` /interactive 'c:\cygwin\bin\login.exe' Administrator and wait at most 60 seconds. If you want an interactive login, omit the "Administrator" from th

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
Please don't email me directly - keep it on the list! Igor Pechtchanski wrote: Andrew, The cygwin login has nothing to do with it. I was not referring to the fact that you don't need a password (which, by the way, is stored by windows, and not in the passwd file). Try replacing "login" by "b

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Wed, 11 Dec 2002, Andrew DeFaria wrote: Please don't email me directly - keep it on the list! My mailer (pine) replies to the sender and Cc's to the list unless there's a Reply-To. Many people aren't subscribed to the list, and thus would

Re: Shell script wont run with cron, but it works ok in the command line.

2002-12-12 Thread Andrew DeFaria
Igor Pechtchanski wrote: Try adding "c:\cygwin\bin" to your *system* (not user) PATH environment variable (in the Control Panel System applet select the Advanced tab, then Environment Variables, and change the System PATH variable to contain the above). If you have any other POSIX-compliant t

Re: Individual vs. list-only replies (Was Re: Force bash to startas administrator)

2002-12-12 Thread Andrew DeFaria
Igor Pechtchanski wrote: Andrew, I would like to point out that most people on this list are busy people, As am I. and that the most convenient way to reply is the one that takes the least effort on their part. In my software I simply hit reply instead of reply all. Either button is as ea

Re: [ANNOUNCEMENT] Update cygwin package rxvt 2.7.9-4

2002-12-24 Thread Andrew DeFaria
Steve O wrote: Hi, rxvt is a terminal program that can be used instead of the windows command shell. It does not require an X server. This release backs out the Shift-KP-, Shift-KP+ fix. Sorry. Thanks to Ton van Overbeek for the early warning. Does this mean that the font change things have

Re: Cygwin home dir=/cygwin/c (not /home/)

2003-01-03 Thread Andrew DeFaria
a12 wrote: Pierre, 'echo %HOME%' yields 'C:\' Modifying /etc/profile: # Set up USER's home directory # 020102 magr40 force to use /home/$USER #if [ -z "$HOME" ]; then HOME="/home/$USER" #fi solves my problem, but is it the correct way to do it ? My solution is the following: HOME=`grep ^$USE

Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is definedand .bashrc is under both ~/ and /

2003-01-07 Thread Andrew DeFaria
Tianming Kong wrote: I'm using cygwin v1.3.18 under Windows XP Professional. Unfortunately bash 2.05b-8 does not exectute my startup script ~/.bashrc -- I have to manually run it every time I start a new cygwin window. I defined environement variable HOME as "d:\" using windows control panel.

Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is definedand .bashrc is under both ~/ and /

2003-01-08 Thread Andrew DeFaria
Tianming Kong wrote: Both Andrew's method (renaming .bashrc to .bash_login) and Todorovic's method (explictly sourcing .bashrc in .profile) worked. Difference is that using .bash_login is the way it's supposed to be as per the bash man page and does not require that you remember to "fix up" /

Re: Paasword validation in Windows Domain ?

2003-01-13 Thread Andrew DeFaria
Pierre A. Humblet wrote: Cygwin provides a function: cygwin_logon_user (user_pwd_entry, cleartext_password); See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID As indicated before, the user needs to be in passwd. Has anybody tried this from Perl? -- Unsubscribe info: http:/

Re: login from other m/c?

2003-01-14 Thread Andrew DeFaria
senthill wrote: Hi All, Is it possible to login to cygwin from other m/c in which cygwin is not installed? If so, I would appreciate the procedure to do the same. Is there any docs available? Not sure what you mean by "m/c" but if you mean is it possible to log into a machine that has Cygwin

Unable to login through telnet via 1.3.18-1

2003-01-15 Thread Andrew DeFaria
Recently updated to 1.3.18-1 and telnet/rlogin/etc have stopped working. inetd is running as a service just like before. The problem now is that I cannot authenticate! No password works: $ telnet $(hostname) Trying 192.168.1.121... Connected to adefaria.SALIRA.COM. Escape character is '^]'. CYG

  1   2   3   4   5   6   7   8   9   10   >