[OT]: Thank You, cygwin, and Good Bye!

2004-01-26 Thread Bjoern Kahl AG Resy

 Hallo !

 After more than three years on this valuable list, I like to
 say Thank you! to all the Cygwin Developers and to the whole
 community.

 Cygwin saved me a lot of trouble in the past three years, and I
 am really glad there is such a nearly complete Unix-Emulation-Layer
 for Windows.

 I realy enjoed using cygwin, and I have had a realy good time on
 this list. However, ever thing has its own time.

 Last august I moved on to a new location, fortunately a windows-free
 zone :-) , so I no longer need cygwin, and - as I learned in between -
 I don't have the spare time to follow this great piece of software any
 longer. In addition, the mail-account I am subscribed with, will be
 delete on 31-Jan-2004


 Having said all that, I like to say Good Bye to the list and the
 cygwin-community. I wish you all a great and powerfull future!


 If anybody wants to contact we, I am reachable at:

 - Office :  [EMAIL PROTECTED] (until summer 2005 at least)
 - Private:  [EMAIL PROTECTED] (until my own funeral, I supose :-) )


 Thank you all

Bjoern Kahl

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ Lehrstuhl Angewandte Informatik III |
| (Robotik und Eingebettete Systeme)  +++   Universitaet Bayreuth |
| phone: +49-921-55-5164  +++ www: http://ai3.inf.uni-bayreuth.de |
+-+
- aka -
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Slight patch for Cron

2003-06-10 Thread Bjoern Kahl AG Resy

 ( replying to the wrong mail-in-thread )
 ( because missed the original posting  )


On Tue, 10 Jun 2003, Ronald Landheer-Cieslak wrote:

  Index: cron.c
  ===
  RCS file: /home/cvs/cvsroot/src/cron/cron.c,v
  retrieving revision 1.5
  diff -p -u -r1.5 cron.c
  --- cron.c  11 Apr 2003 19:42:37 -  1.5
  +++ cron.c  6 Jun 2003 07:13:17 -
  @@ -26,6 +26,7 @@ static const char rcsid[] = $Id: cron.c
   #include cron.h
   #ifdef __CYGWIN__
   #include signal.h
  +#include sys/fcntl.h
   #else
   #include sys/signal.h
   #endif
  @@ -115,6 +116,21 @@ main(argc, argv)
  }
 
  acquire_daemonlock(0);
  +
  +#ifdef __CYGWIN__
  +   {
  + int fd;
  + if ((fd = open(/dev/null, O_RDWR, 0)) != -1)
  +   {
  + (void)dup2(fd, STDIN_FILENO);
  + (void)dup2(fd, STDOUT_FILENO);
  + (void)dup2(fd, STDERR_FILENO);
  + if (fd  2)
  +   (void)close (fd);

 Should not this read :

   if ( (fd != STDIN_FILENO)  (fd != STDOUT_FILENO)  .. )

 If you already use symbolic constants for the file descriptors?
 Just imagine a weird system, having e.g. STDOUT_FILENO defined
 as 3. (I doubt, something like that exist, but who knows?)


  +   }
  +   }
  +#endif
  +
  database.head = NULL;


  Bjoern

P.S.: No nothing bad intended, it just looks - hmm - unusual.
-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Losing data with routine cp and mv -- cannot create hard link

2003-01-16 Thread Bjoern Kahl AG Resy

 Hallo!

 I do not know what is going on really, but I have seen something
 like that before.

On Thu, 16 Jan 2003, Thomas Baker wrote:

If cp and mv are not reliably copying all of the contents
of an (apparently) normal directory tree with 89,000 normal
data files, of 1.4 GB total size, using WIN2000 and NTFS,
is it most likely due to inherent size limits of cygwin?

  wild guessing mode

 There seems to be a random delay in the NT-Filesystem when renaming
 files. This can be easily triggert on smb-shares, but also on
 normal drives.

 If renaming (that is: moving around) files, there is a short,
 load-dependend delay between removing the old direktory entry and
 creating the new one. This can even be observed in the windows
 explorer, and I *think* that is not a slow-gui-issue, but the file
 is *really* *not* *there* form some time.

 /wild guessing mode

 So dont think there is any thing cygwin can do.

 If the problems are due to inherent limits, then I can
 adjust by copying such big directories in smaller chunks,
 as I have already done successfully.  I just want to make
 sure that this is in fact the problem.

 If I move/copy some files over the net, I add sleep instructions
 (for i in * ; do mv $i $i.bak ; sleep 1 ; sed $i.bak $i ... ; done)
 slow, but works. On *my* system, the magic number is around 50 files.
 Less than 50 files works without sleep, more files require the
 sleep. (Else I get a lot random No such file xxx.bak.)


   Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: multiuser setup in cygwin

2002-12-05 Thread Bjoern Kahl AG Resy

 Hallo!

On Thu, 5 Dec 2002, Daya Kiran Sunkara wrote:
 i am a novice to cygwin. i wish to setup a multiple
 users on my cygwin. i tried using mkpasswd to add
 users to the passwd file and did a 'passwd' to change
 the passwd.

 As cygwin is just a unix emulation layer on top of windows,
 it uses the windows user mangement system.

 You have to create or modify (change passwords) windows user
 accounts using the native windows tools for usermangement.

 The /etc/passwd files password-field is *only* used by Win9x!

 *After* adding/modifying user in the windows user managment,
 you have to update /etc/passwd using mkpasswd. Try
 mkpasswd --help for details. Also see /usr/doc/Cygwin/login.README
 on your cygwin installation or
 http://cygwin.com/cygwin-ug-net/using-utils.html#MKPASSWD


Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can't run Macro Express from within Cygwin bash shell

2002-12-05 Thread Bjoern Kahl AG Resy
On Thu, 5 Dec 2002, Igor Pechtchanski wrote:

 On Thu, 5 Dec 2002, Jack Twilley wrote:

   Bjoern == Bjoern Kahl AG Resy [EMAIL PROTECTED] writes:
 
  Bjoern  Hallo !
 
  Bjoern  Just a stupid question:
 
  Bjoern  What programm do you try to run with Macro Express ?  You
  Bjoern can not run a Windows-GUI-Application (e.g. everything that
  Bjoern pops up a window or dialog) in a remote shell.  There is no
  Bjoern such thing as MS-Windows GUI-forwarding.
 
  It's not a stupid question at all.  My macro starts and stops
  performance counter logs, and it uses that by passing along
  instructions to a GUI application (perfmon.exe).  If that won't work
  from a remote shell, it's back to the drawing board for me.
 
  Do you have any suggestions on how to do this on Win2kAS?
 
  Bjoern Bjoern
 
  Jack.

 Jack,

 I'm assuming by remote shell you mean a bash started from an ssh session
 to your computer.  If security is not an issue, set the Allow service to
 interact with desktop bit on the sshd service.  That way, you should be
 allowed to open GUI apps, access network shares, etc.

 Note that setting Allow service to interact with desktop will
 *not* allow you to see the remote applications windows on your local
 maschine. It just says, the windows will pop up in front of what
 ever is on the screen of the remote maschine, regardless who is
 currently logged in to that maschine (logged in using traditional
 windows method, e.g. local screen and keyboard).

 If someone is localy working on your remote maschine, you may get
 strange results, mixing that users actions with your recorded
 macros. Bad idea.


Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can't run Macro Express from within Cygwin bash shell

2002-12-04 Thread Bjoern Kahl AG Resy

 Hallo !

 Just a stupid question:

On Wed, 4 Dec 2002, Jack Twilley wrote:
 Drive J: is indeed a network drive.  I can copy the file to a local
 directory for a test, but I have to use the network drive when I do
 this for real.


 What programm do you try to run with Macro Express ?
 You can not run a Windows-GUI-Application (e.g. everything  that
 pops up a window or dialog) in a remote shell.
 There is no such thing as MS-Windows GUI-forwarding.


Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Question about Makefile, Rules.make?

2002-11-05 Thread Bjoern Kahl AG Resy

 Hallo !

 You hit wrong mailling-list. This list is about cygwin,
 a unix emulation layer on top of MS-Windows.
 It is not about Linux or any other Unix.


On Wed, 6 Nov 2002, he hunter wrote:
 .
 wrapper.c:32:27:net/irda/irda.h:No such file or directory
 wrapper.c:33:30:net/irda/wrapper.h.h:No such file or directory

 Project purpose: Want to debug the linux source code some modules

 Try a general Linux list or the linux kernel maillinglist for
 linux questions. Note: I do not know if these lists require
 subscription or which one is the right one!

 Project:
 KDE2.0 new project with C language,
 add file from linux kernal source code:
   /usr/G4/linux/net/irda/*.c
   /usr/G4/linux/include/net/irda/*.h
   /usr/G4/linux/net/irda/Config.in
   /usr/G4/linux/net/irda/Makefile

 Again, Cygwin != Linux.
 For KDE, look for a kdevelop or generic kde list at www.kde.org.


 Question:
 1) What's relationship among Config.in, Makefile and Rules.make three
 files?
 2) How to setup or write or revise these three files, and where to put
 these each file?
 3) What about $(TOPDIR), where to set it?
 4) Would you like to give some advices to setup a project with the linux
 kernal source code? More in detail or some examples are my favourites.

 You clearly should go to a linux kernel list. And: Don't even
 think of doing cross-developpment from cygwin to linux-kernel-stuff.
 Use a native linux box.

 For general configure and autoconf/automake stuff go to
 http://www.amath.washington.edu/~lf/tutorials/autoconf/ or to
 http://www.gnu.org/software/autoconf/


   Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin/Procmail stops working after setup.exe upgrade

2002-10-23 Thread Bjoern Kahl AG Resy

Hallo !

On Wed, 23 Oct 2002, Thomas Baker wrote:
 On Wed, Oct 23, 2002 at 11:47:27AM +0200, Bjoern Kahl AG Resy wrote:
On Wed, Oct 23, 2002 at 11:15:34AM +0200, Thomas Baker wrote:
 ..even though echo $HOME in a Bash window confirms that
 $HOME is /cygdrive/e.
   
AFAIK cygwin takes the home directory from /etc/passwd.
  
   Oho, indeed it does, and /home/tbaker doesn't (yet) exist!
  
   Any reason I shouldn't just vi /etc/passwd to reset HOME to
   /cygdrive/e?


   I think its better to use mount the map /home/tbaker to the
   place your files life.
 
   If you have multiple accouts. its even better to map /home to a
   place, where all user have a directory with there username.

 Looks like it might be easier just to spell out /cygdrive/e
 in my .procmailrc instead of using the $HOME variable
 there...??

 For this sepical case, yes that is the quick solution.

 But there may exist other programs that wil get upset
 with a non-existing/wrong home entry in /etc/passwd.

 So, sooner or later, you better fix the root-problem,
 (making $HOME and home-entry in passwd work) than
 patching a lot of other scripts or tools.


 Have fun!

   Bjoern Kahl

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin/Procmail stops working after setup.exe upgrade

2002-10-23 Thread Bjoern Kahl AG Resy

 Hallo Thomas!

On Wed, 23 Oct 2002, Thomas Baker wrote:
 On Wed, Oct 23, 2002 at 09:02:39AM -0400, Jason Tishler wrote:
  On Wed, Oct 23, 2002 at 02:39:51PM +0200, Thomas Baker wrote:
   | mda /usr/bin/procmail -d %T # pass message to the local MDA
 
  The above .fetchmailrc line invokes procmail differently than procmail
  -m.  Since fetchmail is invoking procmail without the -m option,
  procmail is looking for $HOME/.procmailrc.  My WAG is that procmail
  can't find your .procmailrc file.  Hence, procmail defaults to sending
  all messages to /var/spool/mail/tbaker without any logging.  Note that
  recent posts indicate an incorrect tbaker /etc/passwd entry.

 That's it!!!

 Bjoern suggested I map /home/tbaker to /cygdrive/e with
 mount.  Would this allow me to delete the redundant copy
 /home/tbaker/.procmailrc and just use /cygdrive/e/.procmailrc?
 Would this mount command go into my .bash_profile?  (Any
 particular flags to use?)


 It depends :-)

 I would suggest to run the mount-command only once in a bash
 using the -s switch to the mount command. That way,
 /cygdrive/e will be your cygwin-home dir (*not* install-dir,
 just *your* (t.baker's) home-dir (if you are not familiar with
 unix in general, I suggest to read a good introduction to any
 unix or linux)) for all applications and all time.

 With such a mounted hoem, you can delete the redundant copy.
 (delete it before you create the mount.)

 mounts using -s are stored in the registry, so they survive
 reboots.

 As a hint: mount -s -b 'e:\' /home/tbaker should work.
 Please note the single-quotes, which prevent the shell from
 playing games with the backslash. The -b forces a binary
 mount. That stops cygwin from doing crlf - lf translations.
 It is somewhat a mater of taste to use -b or not.


 Have fun!

  Bjoern Kahl

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Login command

2002-10-01 Thread Bjoern Kahl AG Resy


 Hallo !

 This has been discussed some time ago, but anyway:

On Tue, 1 Oct 2002, valcauda Stéphane wrote:

 When I try login  command with any of  my windows NT account / password,
 it doesn't work.
 even after MkPasswd.

 Is it a problem of passwd or something else ?
 I read the FAQ on SU problem, but I don't find answers to solve this login
 problem.


 If there is no SU, then Login cant work either, because both, SU
 and login, do basicly the same thing:
 They create a (unprivileged) session, comeing from an privileged
 execution-environment (typical root on unix-systems) by setting
 usercontext (using there root-privileges to do so).

 One difference between SU and Login is, that Login is run by a
 root-process (init) and SU carries the root-privileges in its
 file-attributes (the s-bit).

 Under NT, there is no such thing like a s-bit (s == (S)et User).
 That is, why SU does not work. The SU-binary cant get
 root-privilegies (under NT: == running as SYSTEM)

 Same for Login on the command-line:
 Only SYSTEM under NT (or root under unix) may change
 user-context. A Login invoked on the command-line does not
 run as SYSTEM (under NT), therefor cant change usercontext.


 In short:
 If you have to login to different accounts, setup ssh, running
 the sshd under SYSTEM (the only account, that *can* change
 usercontext) and login to your box via ssh (ssh someuser@localhost).
 See the ssh-documentation under /usr/doc/Cygwin in your
 Cygwin-installation for deatils on ssh.


 Have fun

   Bjoern Kahl

P.S.: Can this be included in the FAQ?
  :-) After english proof-reading :-)
-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: compiling netcat

2002-09-23 Thread Bjoern Kahl AG Resy


 Hallo!

 This has been discussed a few weks ago. Please see the archives
 at http://sources.redhat.com/ml/cygwin/2002-09/msg00187.html


On Mon, 23 Sep 2002, Alexander Gottwald wrote:
 On Mon, 23 Sep 2002, Mario Ohnewald wrote:

  I want to get netcat running in under cygwin.
  I guess you just have to compile it like in a normal UNIX enviorment.

 wrong mailing list. Forwarded to [EMAIL PROTECTED]

  $ make linux
  make -e nc - --unix XFLAGS='-DLINUX' STATIC=-static

 [ ... ]

  make[1]: *** [nc] Error 1
  make[1]: Leaving directory `/home/install'
  make: *** [linux] Error 2
 
  Can someone give me a hint/tip?


 Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




OT (was: Re: New version of setup.exe broken when running with WINE)

2002-03-21 Thread Bjoern Kahl AG Resy


 Hallo !

On Thu, 21 Mar 2002, Christopher Faylor wrote:

 On Fri, Mar 22, 2002 at 02:15:46PM +1100, Robert Collins wrote:

 If setup.exe is doing something that shouldn't work on win9x-XP but
 that does.. then we've discovered another MS bug to add to the
 bug-compatible checklist. However I suspect we've just found a hole in
 WINE.

 Why do I have a feeling that for most of the people in this list, when
 the lights go out after using a hair dryer, they blame the power company?

 Just for curiosity:
 What do you think is the power company in this case ?
 WINE or cygwin ?

 Have a nice day

  Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: IO Redirection

2002-03-13 Thread Bjoern Kahl AG Resy


 Hallo!

 OT, but ...

On Wed, 13 Mar 2002, Robert Mark Bram wrote:

 Howdy all!

 I have a question about IO redirection.

 file
  redirect standard output to file
2 file
  redirect error output to file
 file
  redirect error and standard output to file
 file
  append standard output to file

 How do I append error output?
 How do I append error and standard output?

 Just as you have written?
  appends,  write to a new file, independend of the file
 or source selected. That is,  file appends both.

 Why is that not obvious ?

 Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin update 1.3.9-1 == 1.3.10-1: sshd stops working

2002-03-10 Thread Bjoern Kahl AG Resy


 Hallo!

On Sat, 9 Mar 2002, Martin Bene wrote:

 if I try updating cygwin from 1.3.9 to 1.3.10 sshd stops working: when trying to 
connect from a remote system, I get the followin messages:

 [root@backup full]# ssh martin.bene@myserver
 martin.bene@myserver's password:
 Fanfare!!!
 You are successfully logged in to this server!!!
 setgid: Invalid argument
 Connection to myserver closed.

 downgrading to 1.3.9 fixes the problem; installation is on a W2K server, completely 
new/clean install (openssh 3.1p1) using CYGWIN=ntsec tty in environment. sshd is run 
as a service with aditional binmode parameter.

 1. Search the archive about ssh  setgid

 2. there you find:
- you have to fix your /etc/passwd and /etc/group
- every group used in /etc/passwd *must* be listed in
  /etc/group
- you are probably missing group 513 or 10513

 3. There might be some other problem, so try the archives.


 Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: 1.13.10-1: recursive rm and ls don't work (Win98)

2002-03-04 Thread Bjoern Kahl AG Resy


 Hello !

On Mon, 4 Mar 2002, Serge Beaumont wrote:
 I downloaded and installed the base version of Cygwin today I think I found
 a bug and did not find an answer in the FAQ and mailing list archives

 It is not a bug, it is a feature
 to understand this, you should keep in mind, how pattern-matching works

 I wanted to remove the *~* files that Delphi always leaves behind in my
 development directory These commands I tried will not work recursively,
 they only find the items in the current working directory:
 rm -rf *~*
 ls -r *~*
 ls -r *pas

 In Cygwin (as in unix) Patern are expandet by the shell, not by the
called programm So These lines aktually read

 ls -r bla~  foo~bar  

 That is, ls will find a number of files, but now directory on
 its commandline arguments
 Of course only a directory could be listed recursivly
 So there is simoly no entity on ls commandline, to which the
 -R could be applied

 ls -r *
 works!

 In this case, ls will find all files _and_ all (sub-)directorys
 on its commandline so it can apply the -R switch to the
 directorys

 So how to go?

 Well, you want to try find Something like
 find  -iname \*~\* -o -iname \*pas | xargs -r -n 20 rm -f

 What will this line do?

 First, we instruct find to start searching in the current
 directory (find ) Then we request to match each found file
 against the pattern *~* The \ Prevents the shell from
 replacing *~* with bla~  foo~bar (-iname \*~\*)
 Because we want to find more patterns, we request to check
 in addition against *pas (-o -iname \*pas) The -o
 stands for logical or Each test in find (-iname )
 evaluates to true if it matches or false if not Find
 terminates the evaluation as soon as it konw the out come
 of the whole expression If it is true it prints the
 matched entity, otherwise it starts the next cycle

 The Rest of the line pipes the List of filesnames from find
 into xargs, which collects 20 (-n 20), creates a new
 commandline from its remining arguments (rm -f) and these 20
 entites and runs that commnadline The -r prevents xargs from
 running an empty commandline, in case there are no files found
 by find

 For details and the higher magic of shell programming you
 should consult the manpages


   Bjoern

-- 
+-+
| Dipl-Phys Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resyinformatikuni-klde   |
+-+


--
Unsubscribe info:  http://cygwincom/ml/#unsubscribe-simple
Bug reporting: http://cygwincom/bugshtml
Documentation: http://cygwincom/docshtml
FAQ:   http://cygwincom/faq/




Re: bash in Explorer Context menu (like DOS here)

2002-03-03 Thread Bjoern Kahl AG Resy


 Hallo !

On Sun, 3 Mar 2002, Hans Horn wrote:
 I'd like to know whether it is possible to have the abitlity to open a bash
 shell from a folder's context menu in Windows Explorer (like the MS
 powertool 'doshere')?

 Yes, I have a skript (*bat  *sh) that does this If used via
 send to on a folder, it opens a bash in that folder (UNC-Path
 as well as local drives supported) if used on a file, it asks
 to open the file in $EDITOR or to open a bash in the parent dir

 If someone is interested, I will clean up the code and post it
 here


  Bjoern

-- 
+-+
| Dipl-Phys Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resyinformatikuni-klde   |
+-+


--
Unsubscribe info:  http://cygwincom/ml/#unsubscribe-simple
Bug reporting: http://cygwincom/bugshtml
Documentation: http://cygwincom/docshtml
FAQ:   http://cygwincom/faq/




Re: 1.3.10 and setgid

2002-02-28 Thread Bjoern Kahl AG Resy


 Hallo !

 wild guess 

On Thu, 28 Feb 2002, Lapo Luchini wrote:

 I think there's a ergression (at least on by box):

 $ ssh root@xxx
 setgid 513: Invalid argument

 Using 139 it works OK

 Did you check your /etc/passwd and or /etc/groups ?

 I have had the same problem some weeks ago, because of an to old
 passwd and groups file Just compare the output of mkpasswd with
 your current file

 Bjoern


-- 
+-+
| Dipl-Phys Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resyinformatikuni-klde   |
+-+


--
Unsubscribe info:  http://cygwincom/ml/#unsubscribe-simple
Bug reporting: http://cygwincom/bugshtml
Documentation: http://cygwincom/docshtml
FAQ:   http://cygwincom/faq/




Re: setup

2002-02-26 Thread Bjoern Kahl AG Resy


 Hallo !

On Tue, 26 Feb 2002, Anthony J. Zepezauer wrote:

 Yes, I have looked
 in the online Users Guide, the FAQ and the archive for this list.

 Are you sure, you read and understand the documentation?

 Any way,

 I'm trying to install Cygwin on Win2000.  I downloaded the latest setup.exe
 and ran it (twice).  The problem is I don't seem to be getting everything I
 need.  The first time I used the default set of packages, the second I used
 Full (almost; I passed on some obscure, obviously nonessential ones).

 I am sure you already got this right, but ...

 Setup has two major operation modes:
 - just download
 - install (either from net or a previously download)

 Make sure you actually installed some things.

 (Last setup version I tried was somewhat confusing about how to
  install things. Make sure you expanded the package-list, and the
  new column shows install or a version-number.)


 What I don't see is a .exe file to start Cygwin!  Or, the /usr/doc directory
 that is mentioned in the FAQ.

 After real installation, you will find a file cygwin.bat in the root
 installation directory.
 Click on this cygwin.bat to start a bash-shell.

 (There is no such thing as a cygwin.exe, because cygwin is a
  Posix-emulation-library and a collection of (GNU-) tools that
  use this emulation library.)


  Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Succesful installation but not working (CYGWIN)

2002-01-17 Thread Bjoern Kahl AG Resy


 Hallo !

On Wed, 16 Jan 2002 [EMAIL PROTECTED] wrote:
 Thanks for that - I see the problem now - the varaible HOME is not correct:

 HOME = `u:\tmp1\cygwin'

 No, that not the root of your problem.
 Cygwin is *not* supposed to store Windows-style path anywhere.

 in fact CYGWIN is installed as 'c:\cygwin'.   Where is this variable HOME
 defined so I can change it ?

 AFAIK: The shell extracts $HOME from /etc/passwd, and /etc/profile
 sets it, if for some reason $HOME is empty at the time the shell
 executes /etc/profile.

 But again, for my understanding, something fundamental is wrong
 with your setup. As I told you last time: try cygcheck -s -r and
 cut  paste its report to the list (in case you have not done already).


 And : *Please* *send* *to* *the* *list*, **not** to me ! !

 Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Succesful installation but not working (CYGWIN)

2002-01-17 Thread Bjoern Kahl AG Resy


 Hallo !

On Thu, 17 Jan 2002 [EMAIL PROTECTED] wrote:


 I am having problems with cygwin.  The installation went fine but
 /etc/profile is not sourced, there is no
 / directory and no extension to $PATH.  Here is the output from cygcheck -s
 -r.

 Ok.

 I see that the value of HOME is incorrect. Any ideas anyone or should just
 delete c:\cygwin and start again ?   Many thanks in advance.

 Delete all registry-entries referring to cygnus solutions
 (HKEY_CURRENT_USER\Software\Cygnus Solutions and
  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions)
 they are inconsistent. Looks like you once installed Cygwin
 (may be as administrator) in one place (C:/cygwin) and once
 in u:\tmp1\cygwin\ without first removing the other one
 (from registry).

 Then install again.

 Other approach: correct the registry settings by hand - if you know
 what you are doing.

 Bjoern


 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
   (default) = `/cygdrive'
   cygdrive flags = 0x0020
 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
   (default) = `u:\tmp1\cygwin\'
   flags = 0x

 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
   (default) = `C:/cygwin'
   flags = 0x000a

 u:\tmp1\cygwin\ /  usertextmode
 u:/tmp1/cygwin/bin  /usr/bin   usertextmode
 u:/tmp1/cygwin/lib  /usr/lib   usertextmode
 .   /cygdrive  usertextmode,noumount
 C:/cygwin   /  system  binmode
 C:/cygwin/bin   /usr/bin   system  binmode
 C:/cygwin/lib   /usr/lib   system  binmode

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Succesful installation but not working (CYGWIN)

2002-01-16 Thread Bjoern Kahl AG Resy


 Hallo !

On Wed, 16 Jan 2002 [EMAIL PROTECTED] wrote:

 Firstly, yes I have read the documentation, searched the existing maillist
 for my problem without success so here goes:

 First few lines of setup.log.full:

 [ ... ]

 When I open cygwin.bat this is what happens:

 bash.exe: warning: could not find /tmp, please create!
 bash-2.05a$ pwd
 /usr/bin
 bash-2.05a$ echo $PATH
 /cygdrive/c/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/W
 INNT/System32/Wbem:/cygdrive/c/bin:/cygdrive/c/bin/utils

 [ ... ]

 Just a guess: Your mounts are not working. (Guess may be wrong.)

 Cutpaste cygcheck -s -r to the list.

 Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: segfault with xemacs 21.4.6/cygwin, setup.exe distribution,re_match_2_internal

2002-01-15 Thread Bjoern Kahl AG Resy


 Hallo!

On Tue, 15 Jan 2002, Corinna Vinschen wrote:

 Just resending that binary stuff will not help anyone.

 Don't send it again, at least without description what that should
 be.

 To make this even more clear:
 answer at least:
 - what effect is it supposed to demonstrate ?
 - what does it to do so ?
 - how does it work internal ?
 - how to run it ?
 - what side effects to expect ?
 - how to clean up after ? (that is: restore the system to exactly
   the same state before installing / runing your program)

 and (IMHO) better put the program on a www or ftp page
 and tell us where to find it. include a md5sum in your post.

 If you have writte the program by your self: show us the source.


 Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: A Second OpenSSH Path Question

2001-12-17 Thread Bjoern Kahl AG Resy


 Hallo!

On Mon, 17 Dec 2001, Karl M wrote:
 I have a vanilla install on a Win2k, SP2 machine.
 If I type

 ssh localhost which find

 I get the one in /c/WINNT/System32

 If I type

 ssh localhost

 and then type
 which find in the new session, I get the one in /usr/bin

 So again, why do the two methods produce different results?

 Because your first example do not run a login-shell and therefor
 do not run login-scripts ?

 sshd executes the given command without first starting a shell.
 (try ssh localhost ps -el and look for the parent process of ps)

 (If you run a script via ssh, then that script will be executet
  by a shell given in the first line of the script. But such a shell
  will never execute profile or any other loginscript (reading these
  files would break the original script).)

 man sshd suggested to try the $HOME/.ssh/sshrc or .../environment
 file to setup ssh-environment.


  Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/