Rxvt and the missing command prompt

2002-01-09 Thread Andrew DeFaria
I use Cygwin with rxvt. I also use Rational Clearcase. Clearcase has a command line tool called cleartool. When I start cleartool from a Windows Bash shell I get the prompt: $ cleartool cleartool However if I run rxvt and then issue a cleartool command I do not get the prompt: $ cleartool

Setting up user mode cron

2002-01-09 Thread Andrew DeFaria
I've set up cron on my desktop according to /usr/doc/Cygwin/cron.README which states I should: $ cygrunsrv -I cron -p /usr/sbin/cron -a D -e CYGWIN=ntsec $ cygrunsrv -S cron And I have the following crontab installed: 15 * * * * echo -e Debugging cron $(date)\n /tmp/cron.log

Re: Setting up user mode cron

2002-01-09 Thread Andrew DeFaria
Larry Hall (RFK Partners, Inc) wrote: At 05:06 PM 1/9/2002, Andrew DeFaria wrote: I've set up cron on my desktop according to /usr/doc/Cygwin/cron.README which states I should: $ cygrunsrv -I cron -p /usr/sbin/cron -a D -e CYGWIN=ntsec $ cygrunsrv -S cron And I have the following crontab

Re: Setting up user mode cron

2002-01-10 Thread Andrew DeFaria
Anyway, cron has no access to them. It's running under SYSTEM account which has only access to publicly available net drives, that is, drives which are available w/o any form of authentication required. The forked cron jobs are running in the same logon session even if they

Re: Setting up user mode cron

2002-01-11 Thread Andrew DeFaria
On Thu, Jan 10, 2002 at 10:45:27AM -0800, Andrew DeFaria wrote: limits to cron. IOW I guess what I'm saying is that *something* should be done (I know you can see this as whining and perhaps it is. But it's whining for a good cause! :-) So, why aren't you going to roll up your sleeves

Re: How to stop ftp in Cygwin

2002-01-16 Thread Andrew DeFaria
Tiffany Chan [EMAIL PROTECTED] wrote: Hi, I want to use Microsoft FTP Service, so I would like to stop the Ftp in Cygwin (inetd), of course, i use cygwin for telnet. How to stop ftp in cygwin ? The basic idea is to comment out the ftp entry in /etc/inetd.conf then cause inetd to reread

Re: Why not a news server?

2002-02-01 Thread Andrew DeFaria
Larry Hall (RFK Partners, Inc) wrote: At 02:06 PM 2/1/2002, Andrew DeFaria wrote: Larry Hall (RFK Partners, Inc) wrote: OK, there are differences now compared to when this topic was last discussed so maybe it warrants discussion. However, I'd highly recommend that anyone that wishes

bash: fork: Resource temporarily unavailable

2002-02-06 Thread Andrew DeFaria
One of our processes attempts to do an rsh to a Windows 2000 Server and run a make. This works fine for most of the time. But every once in a while it starts failing with: $ rsh server echo hi 0 [main] bash 3376 sync_with_child: child 4080(0x1D0) died before initialization with status

Re: No home directory on fresh setup

2002-02-21 Thread Andrew DeFaria
Pavel Tsekov wrote: Hello Jan, Thursday, February 21, 2002, 2:50:36 PM, you wrote: VJvd A fresh installation of the latest cygwin results in no home directory. One VJvd enters in /usr/bin/user. This problem is not new and it's already fixed in CVS sources. It's specific to Win9x/ME

Re: Error: ... sync_with_child ... using scripts on WinNT 4 SP6

2002-02-21 Thread Andrew DeFaria
Matthias Steppuhn wrote: Hello, I have been using shell scripts under cygwin a while ago with out any problem. Today I wanted to use one script again, but an error occured. I alreaded installed the most recent cygwin-files. It did not really help me. Using a different PC braught a very

Re: [ANNOUNCEMENT] Updated: grep-2.5g

2002-02-22 Thread Andrew DeFaria
Christopher Faylor wrote: Contact the grep developers. I'm sure you can find an appropriate mailing list here http://www.gnu.org/prep/mailinglists.html . Geeze yet another mailing list to subscribe to, get inundated with, pour through, etc just to get a little convenience! I think I'll

Re: [ANNOUNCEMENT] Updated: grep-2.5g

2002-02-22 Thread Andrew DeFaria
Christopher Faylor wrote: [This email is 9.5/10 on the McNulty scale] On Fri, Feb 22, 2002 at 08:06:33AM -0800, Andrew DeFaria wrote: Christopher Faylor wrote: Contact the grep developers. I'm sure you can find an appropriate mailing list here http://www.gnu.org/prep/mailinglists.html

Re: 1.3.4 - touch /etc/abc causes BSOD

2002-02-24 Thread Andrew DeFaria
Lagstein, Yossi wrote: I'm using cygwin 1.3.4 on NT 4 SP6a. I encounter the following problem: - telnet the machine (even telnet localhost) - touch /etc/abc - windows crash with BSOD It doesn't happen all the time but if I try it for several time it happens. In the event viewer I

Re: rxvt cursor corruption under WinXP/ClearType

2002-03-01 Thread Andrew DeFaria
Rui Carmo wrote: Hello there, I've been searching the mailing-list archives for posts concerning the vertical cursor trails bug that rxvt exhibits under Windows XP with ClearType, but have found nothing Steps to reproduce the bug: - Under Windows XP, activate ClearType (Display

Re: Why not a news server?

2002-03-02 Thread Andrew DeFaria
Charles Wilson wrote: Lars Magne Ingebrigtsen wrote: Charles Wilson [EMAIL PROTECTED] writes: He asked that the person who established this service please post an announcement on the web page...but he's still waiting. Several weeks later. Well, er, I guess I'm the one who

Re: login: no shell: /bin/bash: Permission denied

2002-03-06 Thread Andrew DeFaria
Corinna Vinschen wrote: No, it didn't work. `who' isn't the right way to get your current user name, try `id'. Basically, login is doing the following: execlp(pwd-pw_shell, tbuf, 0); fprintf(stderr, login: no shell: ); perror(pwd-pw_shell); exit(0); So, if it couldn't

Re: Suggestion for setup

2002-03-06 Thread Andrew DeFaria
Christopher Faylor wrote: The code in setup.exe seems to indicate that mkpasswd and mkgroup will not be run if the corresponding files already exist. I was asking if people were actually seeing this happen after a first-time install. I see mkpass -l run each and every time Cygwin is

Re: Suggestion for setup

2002-03-06 Thread Andrew DeFaria
Michael A Chase wrote: I recently messed with the function that does that, so I can confirm that it only runs mkpasswd and mkgroup if the corresponding files don't exist. When did this come about? Because every time I reinstall Cygwin it does indeed run mkpasswd -l. I wonder, since our

Re: login: no shell: /bin/bash: Permission denied

2002-03-06 Thread Andrew DeFaria
Corinna Vinschen wrote: On Wed, Mar 06, 2002 at 11:12:11AM -0800, Andrew DeFaria wrote: You imply that somebody has the ability to change user context! If so then who is that somebody (USER)? I have to tell that each week (day?) again, apparently. It's SYSTEM. Sorry, I saw

Re: login: no shell: /bin/bash: Permission denied

2002-03-06 Thread Andrew DeFaria
Peter Buckley wrote: Regardless, to me it's still would be a large security hole if all one needs to do is: $ echo + ~/.rhosts to be able to abuse rsh to do something under somebody else's user ID is it not? rsh is inherently insecure. Attempts to make it secure are not

Re: login: no shell: /bin/bash: Permission denied

2002-03-07 Thread Andrew DeFaria
Corinna Vinschen wrote: On Wed, Mar 06, 2002 at 01:56:07PM -0800, Andrew DeFaria wrote: OK then, seems to me that su might be implementable by using a service that runs as SYSTEM and takes requests to switch user from user A to user B. Possible? Sure. It's exactly the way the user

Re: login: no shell: /bin/bash: Permission denied

2002-03-08 Thread Andrew DeFaria
Jason Tishler wrote: Andrew, On Thu, Mar 07, 2002 at 10:34:42AM -0800, Andrew DeFaria wrote: Please do not email me directly - keep it only on the list. Hmm...didn't you just do a reply all? Or, was that to make a point? You emailed me. I emailed you back. AND I put it back

resize?

2002-03-11 Thread Andrew DeFaria
There doesn't appear to be an equivalent to resize(1). Now normally programs like rxvt catch sigwinch and set LINES and COLUMNS accordingly but there are a few places where this breaks down. Open an rxvt terminal at 25x80. echo $LINES. It dutifully reports 25. Now resize the window to ~30x80.

resize?

2002-03-11 Thread Andrew DeFaria
There doesn't appear to be an equivalent to resize(1). Now normally programs like rxvt catch sigwinch and set LINES and COLUMNS accordingly but there are a few places where this breaks down. Open an rxvt terminal at 25x80. echo $LINES. It dutifully reports 25. Now resize the window to ~30x80.

Looking for a mail server

2002-03-13 Thread Andrew DeFaria
I'm looking for a mail server a la sendmail. I've looked a little but apparently sendmail has not been ported to Cygwin. Are there any other mail servers that run under Cygwin? Specifically I'm looking for a sendmail like mail server that not only allows me to send mail but also receive it. I

Re: Looking for a mail server

2002-03-13 Thread Andrew DeFaria
Adrian Phillips wrote: Andrew == Andrew DeFaria [EMAIL PROTECTED] writes: Andrew I'm looking for a mail server a la sendmail. I've looked a Andrew little but apparently sendmail has not been ported to Andrew Cygwin. Are there any other mail servers that run under Andrew

Incorrect expression evaluation?

2002-03-13 Thread Andrew DeFaria
Perhaps this is more of a bash problem than a Cygwin problem however Cygwin's bash is not acting like bash on Solaris. In Cygwin's bash: $ x=-l -d $ ls $x ls: invalid option -- Try `ls --help' for more information. Now on Solaris (also running bash): $ x=-l -d $ ls $x drwxr-xr-x 4 adefaria

Re: Looking for a mail server

2002-03-13 Thread Andrew DeFaria
Adrian Phillips wrote: Andrew == Andrew DeFaria [EMAIL PROTECTED] writes: Andrew I'm looking for a mail server a la sendmail. I've looked a Andrew little but apparently sendmail has not been ported to Andrew Cygwin. Are there any other mail servers that run under Andrew

Re: Looking for a mail server

2002-03-15 Thread Andrew DeFaria
Gerrit P. Haase wrote: Andrew, Downloaded exim and attempted to build it. There is support for a Cygwin build. However: gcc -c -g -Wall exim_dbmbuild.c In file included from exim_dbmbuild.c:30: exim.h:197: arpa/nameser.h: No such file or directory exim.h:238: resolv.h: No such file or

Re: cygwin.com suggestions

2002-03-15 Thread Andrew DeFaria
Robert Collins wrote: 2) Include in the FAQ (or somewhere) a section on How to Safely Update the Cygwin dll. Probably just shut down all cygwin apps, including daemons, but it would be useful to know for sure. The next release of setup.exe automatically address's this and will replace

Re: cygwin.com suggestions

2002-03-15 Thread Andrew DeFaria
Larry Hall (RFK Partners, Inc) wrote: At 02:58 PM 3/15/2002, Andrew DeFaria wrote: Robert Collins wrote: 2) Include in the FAQ (or somewhere) a section on How to Safely Update the Cygwin dll. Probably just shut down all cygwin apps, including daemons, but it would be useful to know

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

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 ?

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 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 apps

Re: impure_ptr/Mingw and cygwin

2002-11-26 Thread Andrew DeFaria
://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: http://DeFaria.com -- Unsubscribe info: http://cygwin.com/ml

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

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

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

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

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

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 ip address $ 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

Re: ssh/telnet

2002-12-06 Thread Andrew DeFaria
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 Andrew DeFaria

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

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

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

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

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

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

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 check the

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 the

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

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

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

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

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

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 ^$USER:

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:

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 '^]'.

Re: How can I abbreviate /cygdrive/DRIVELETTER ?

2003-01-16 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Hi everyone! As I often access different drives from within the bash I'm wondering if there's a quicker way to get on, say, drive l (a network drive) than entering 'cd /cygdrive/l'? I alias'd '/cygdrive/l' to 'l' which works fine for cd, but not for commands like

Re: idea for a new project, libntcmd

2003-01-27 Thread Andrew DeFaria
Rafael Kitover wrote: Often when I go between cmd and zsh, I get my copy/cp del/rm mixed up. This would also apply to folks who have to use both the unix and windows command lines on a regular occasion. Also to support simple Makefiles, batch files etc. in various packages. Making aliases or

Re: cygpath question

2003-01-27 Thread Andrew DeFaria
Robert Mark Bram wrote: MMm.. this does not work for me. Like Larry, when I click and drag, all I get is the windows path, unquoted.. although if I take the time to put in quotes it works ok - but I want automatic quoting!!! $ cd C:\Rob\java bash: cd: C:Robjava: No such file or directory You

Re: Why won't my files link?

2003-02-03 Thread Andrew DeFaria
Nick Miller wrote: So I am new to Cygwin, but I am enjoying it so far. I am having a problem, though, please respond if you can... I have three C files (all ending in .c), and I can compile them with GCC by using the -c switch. Then, I want to link all three of the object files that I have

MySQL for Cygwin?

2003-02-07 Thread Andrew DeFaria
I was wondering if MySQL was ported to Cygwin. I went to http://cygwin.com/packages/ and typed in mysql and was surprised to see things like exim listed! I also saw Apache mod stuff for MySQL as well as PostgressSQL. What I didn't see is MySQL. I'm wondering how exactly, for instance, the

Re: [ANNOUNCEMENT] Updated: mingw-runtime-2.4-1

2003-02-08 Thread Andrew DeFaria
Could you guys get getopt (getopt.h) defined? Thanks. Earnie Boyd wrote: This is a multi-part message in MIME format. --000102040107000502010108 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I've uploaded a new version of the mingw

Re: rxvt as replacement for windows terminal

2005-10-15 Thread Andrew DeFaria
Christoffer Gurell wrote: I want to use rxvt shipped with cygwin as a replacement for the windows crappy terminal which cygwin uses as default. The problem is that native windows binaries like edit.com Try vim! ;-) or python for windows Try Python for Cygwin! ;-) does not work in rxvt. The

Re: Where is documentation on bash wait?

2005-10-15 Thread Andrew DeFaria
Siegfried Heintze wrote: I tried info and man and could not find any information on wait. I want to (using bash) (1) How do I wait for multiple children and wake up when the first one dies? (2) Examine the status code of the dead child and possibly spawn a new one? Where is the

Re: WINE on Cygwin

2005-11-03 Thread Andrew DeFaria
Informações wrote: Hey All, I'm seriously interested in making the WINESERVER work under Cygwin and have been invistigating some of the issues related to this matter. One of the WineHQ developers informed me that: ... the last time someone tried, the main obstacle was that cygwin

Re: Part-time Job Offer Urgent

2005-11-04 Thread Andrew DeFaria
John Ades wrote: Dear Sir/Ma, i am John Msibabu, My company need representatives in the USA to help us in sorting Out business deal in North, South, East, West in United State Of America,it will be a Part-time business and does not matter if u already have a work, it will cost you no money

Re: WINE on Cygwin

2005-11-13 Thread Andrew DeFaria
Leon Brooks wrote: One obvious application -- facing me now -- is to run Win 3.11 and Win 95 applications that break under XP but not under WINE. I suffer no such malady! If there is a Win 3.11 or Win 95 application that's having a problem running under XP then the chances are high that

PerlTk under Cygwin?

2005-11-16 Thread Andrew DeFaria
I tried to install Tk for Perl using CPAN by: $ perl -MCPAN -e install Tk However it fails with: In file included from ../pTk/tkWinPort.h:19, from ../pTk/tkPort.h:28, from Xlib.xs:7: ../pTk/mTk/xlib/X11/Xlib.h:1206:35: ../pTk/tkIntXlibDecls.h: No such file or

Re: PerlTk under Cygwin?

2005-11-16 Thread Andrew DeFaria
David Christensen wrote: Andrew DeFaria wrote: Has anybody managed to install Tk for Perl running under Cygwin? I've beaten my head against Perl/TK on Cygwin repeatedly over the years. The only way I succeeded was to use ActivePerl and keep it isolated from Cygwin -- basically, use

Re: font

2005-12-01 Thread Andrew DeFaria
Williams, Gerald S (Jerry) wrote: Rxvt.font1: Lucida Console-10 Rxvt.font2: Lucida Console-13 Rxvt.font: Lucida Console-16 Rxvt.font3: Lucida Console-19 Rxvt.font4: Lucida Console-22 Rxvt.font5: Lucida Console-25 Rxvt.font6: Lucida Console-28 What do these do? -- If it's zero degrees outside

Re: font

2005-12-01 Thread Andrew DeFaria
Cary Jamison wrote: I'm always surprised at how many people recommened using rxvt. I use it once in a while, but there's just too many things I do don't work right unless I'm using the regular Win32 console. Output is delayed until the process exits, input is ignored, etc., etc. Too many

Re: font

2005-12-01 Thread Andrew DeFaria
Williams, Gerald S (Jerry) wrote: Andrew DeFaria wrote: Rxvt.font1: Lucida Console-10 Rxvt.font2: Lucida Console-13 Rxvt.font: Lucida Console-16 ... What do these do? font sets the default font. The others set alternate fonts like the ones you normally get on the right mouse button

PerlTK under Windows

2005-12-14 Thread Andrew DeFaria
Earlier I had asked about the PerlTk module in Cygwin's Perl. A discussion ensued and eventually the good folks here apparently fixed that package. In updating Cygwin today I noticed it and installed it. But I came to find out that PerlTk works only with an X server running. OK this makes

Re: PerlTK under Windows

2005-12-14 Thread Andrew DeFaria
Yaakov S (Cygwin Ports) wrote: Andrew DeFaria wrote: However I'd like PerlTk to fall back to using Windows widgets much like rxvt will do a Windows window if there is no X server to connect to. Just how rxvt manages to use both X11 and Win32GUI is unique, as has been discussed before

Re: PerlTK under Windows

2005-12-15 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Yaakov S (Cygwin Ports) wrote: Andrew DeFaria wrote: However I'd like PerlTk to fall back to using Windows widgets much like rxvt will do a Windows window if there is no X server to connect to. Just how rxvt manages to use both X11

Re: STDOUT of non cygwin command lost (in automated ssh session)

2005-12-18 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: You seem to be expecting that the people whom you'd like to debug your problem would know what plink is. Sorry, it's closely related to putty. I don't have a good link specifically for plink.. http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html It says

Re: new to cygwin

2005-12-18 Thread Andrew DeFaria
Luke Vanderfluit wrote: Hi. I'm new to cygwin. I have a few questions to start with. Can I change the font in the default command shell window? The default command shell window is nothing more than the same default window you get with Start: Run: Cmd and is changed the same way. How do I

Re: vim under cygwin

2005-12-19 Thread Andrew DeFaria
Igor Pechtchanski wrote: Just to clarify: if you use the default cmd.exe console window (i.e., the default Cygwin shortcut), then your TERM is cygwin. If you use rxvt or xterm, you'd use TERM=xterm, of course... I use rxvt with TERM=cygwin with no problems. -- I just got a physical and asked

Re: vim under cygwin

2005-12-19 Thread Andrew DeFaria
Luke Vanderfluit wrote: Andrew DeFaria wrote: Igor Pechtchanski wrote: Just to clarify: if you use the default cmd.exe console window (i.e., the default Cygwin shortcut), then your TERM is cygwin. If you use rxvt or xterm, you'd use TERM=xterm, of course... I use rxvt with TERM=cygwin

NIS anyone?

2005-12-22 Thread Andrew DeFaria
I have not been able to find a Cygwin/NIS package. Does it exist? In discussing distribution of Cygwin throughout the organization with a colleague we got to talking about how to best configure Cygwin for people who use laptops or otherwise do remote computing. We'd like to have an

Re: convert PDF to html

2005-12-27 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: On 12/27/2005, George wrote: On Tue, Dec 27, 2005 at 04:28:27PM -0500, J. David Boyd wrote: Are there any utilities in Cygwin to convert PDF to html? We are print legacy word perfect documents to PDF files, but would like to convert them to html, preserving

Re: Utility to get IP address of the machine

2006-01-03 Thread Andrew DeFaria
Bernhard Ege wrote: -- It's lonely at the top, but you eat better. I use my getip.sh script (windows xp): #!/bin/bash # find default gateways # select the one with the lowest metric ip=`route print | egrep ^ +0.0.0.0 +0.0.0.0 + | gawk 'BEGIN { metric=255; ip=0.0.0.0; } { if ( $5 metric ) {

Re: Utility to get IP address of the machine

2006-01-05 Thread Andrew DeFaria
Dave Korn wrote: Why not the more simple: ipconfig | grep IP Address | awk '{print $NF}' Because that may return more than one result. And it doesn't choose the one with the lowest metric, which is most likely to be the primary gateway to the world-at-large. By and large most people have

Re: How to use ssh.exe from Windows XP?

2006-02-09 Thread Andrew DeFaria
Tawfik, Sameh E wrote: Puttygen Run puttygen.exe to convert the id_dsa file to a putty format. This is because the private key file format is not specified by some standard body. To do this open puttygen and open the conversions menu and chose Import Key file. Then browse to the id_dsa file,

Permissions problem - odd setup

2006-02-15 Thread Andrew DeFaria
I have a somewhat odd setup here and am having a permissions problem with my userid and authentication. In general I'm trying to have one home directory that is shared between Windows and Linux. On Windows I use Cygwin. Normally this involves mounting my Windows oriented home directory and

Re: Permissions problem - odd setup

2006-02-17 Thread Andrew DeFaria
Andrew DeFaria wrote: I have a somewhat odd setup here and am having a permissions problem with my userid and authentication. In general I'm trying to have one home directory that is shared between Windows and Linux. On Windows I use Cygwin. Normally this involves mounting my Windows

Re: Perl script called by windows batch file in Scheduled task can't find mount or windows share

2006-02-19 Thread Andrew DeFaria
Indra Gunawan wrote: Although I've found many issues related to mount I've yet to find the answer to my current problem. So, I hope I can find the answer from my posting now. Anyway, I would like to copy the software installer exe file to a n ftproot folder on another windows machine as part

Re: Permissions problem - odd setup

2006-02-21 Thread Andrew DeFaria
Andrew DeFaria wrote: Andrew DeFaria wrote: I have a somewhat odd setup here and am having a permissions problem with my userid and authentication. In general I'm trying to have one home directory that is shared between Windows and Linux. On Windows I use Cygwin. Normally this involves

Re: Permissions problem - odd setup

2006-02-21 Thread Andrew DeFaria
Eric Blake wrote: I have a somewhat odd setup here and am having a permissions problem with my userid and authentication. In general I'm trying to have one home directory that is shared between Windows and Linux. On Windows I use Cygwin. Normally this involves mounting my Windows oriented

  1   2   3   4   5   6   7   8   9   10   >