RE: paste into vim

2009-01-20 Thread Morche Matthias
> Subject: Re: paste into vim ... > > or press Shift-Insert ... > > > > What about keyboards that don't have an insert key? (Unfortunately > all too common these days.) middle-mouse-button -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.co

RE: paste into vim

2009-01-20 Thread Morche Matthias
> > how to paste in vim (not gvim) from clipboard ? > > Hold down Shift while middle-clicking. or press Shift-Insert ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html F

RE: Finding out login history

2009-01-19 Thread Morche Matthias
Hi Ronald, try "last", that provides the information, you are looking for. matthias > -Original Message- > From: cygwin-ow...@cygwin.com > [mailto:cygwin-ow...@cygwin.com] On Behalf Of Ronald Fischer > Sent: Monday, January 19, 2009 9:07 AM > To: cygwin@cygwin.com > Subject: Findi

RE: Problem with aliases in bash as login shell

2008-11-21 Thread Morche Matthias
Hi Ryan, > -Original Message- > From: [EMAIL PROTECTED] ... > When bash is started with the "-l" (that's an 'L') flag, aliases that > I've defined in .bashrc don't take effect. My .bash_profile includes a > call to .bashrc, and I know that .bashrc is being executed because ... I bet Your

RE: bash: Word splitting but when?

2008-10-22 Thread Morche Matthias
Not cygwin related. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 3:55 PM To: cygwin@cygwin.com Subject: bash: Word splitting but when? Hi All, Trying to get the right form of quoting and command su

RE: bash programming: testing for empty string

2008-03-05 Thread Morche Matthias
try [ -z "$filetime" ] instead of [-z "$filetime"] matthias -original message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5. March 2008 10:28 To: cygwin@cygwin.com Subject: bash programming: testing for empty string Hi, I'm trying to find the time of a file

RE: username should be lower-case for $USER

2007-01-09 Thread Morche Matthias
Change the username to lower case on Your Windows login or at least within cygwins /etc/passwd ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Smiley Sent: Tuesday, January 09, 2007 5:25 PM To: cygwin@cygwin.com Subject: username should be lowe

RE: Re: how to make ssh-agent automatically

2005-12-01 Thread Morche Matthias
You're right, I avoided the use of passphrases and carefully considered the loss of security imposed by that and thus I do not need ssh-agent... It's been so long ago, that I just forgot about those consequences... matthias H.S. wrote: > Morche Matthias wrote: >> You j

RE: Re: how to make ssh-agent automatically

2005-12-01 Thread Morche Matthias
Yes, and I'm trying very hard to avoid it's use in my local environment :-) But thanks for that reminder anyway... matthias Corinna Vinschen wrote: > On Dec 1 08:34, Morche Matthias wrote: >> You just want to connect from one host to another one. It's totally >>

RE: Re: how to make ssh-agent automatically

2005-11-30 Thread Morche Matthias
them? matthias H. S. wrote: > Morche Matthias wrote: >> Simpler than using keychain and ssh-agent, Hmm... did You ever try to >> just generate your key by ssh-keygen and then copy the public key >> ~/.ssh/id_dsa.pub eg to Your remote host into ~/.ssh/authorized_keys. >&g

RE: Re: how to make ssh-agent automatically

2005-11-30 Thread Morche Matthias
Simpler than using keychain and ssh-agent, Hmm... did You ever try to just generate your key by ssh-keygen and then copy the public key ~/.ssh/id_dsa.pub eg to Your remote host into ~/.ssh/authorized_keys. Would You consider this to be simpler? matthias H.S. wrote: > Hi Karl, > > Karl M wrot

RE: /dev/null [Was: xargs still nok?]

2005-09-08 Thread Morche Matthias
Public Mailing Lists wrote: > Eric Blake wrote: > >> Don't spread misinformation. Cygwin is a Unix environment >> emulation, so /dev/null ALWAYS exists (none of this junk about >> "depending on your installation"). >> >> > here is some output of my personal Cygwin installation: > $ ls /dev > ls

RE: Programatically finding value of "cygdrive" prefix

2005-08-11 Thread Morche Matthias
I do find it: "HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\cygdrive prefix" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Steingold ... I cannot find either "cygdrive" or "cygwin" in the registry (using regedit) ... -- Unsubscribe

RE: Programatically finding value of "cygdrive" prefix

2005-08-11 Thread Morche Matthias
Have a look at cygstart and Luc Hermitte's cyg-wrapper.sh (http://hermitte.free.fr/cygwin/) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Steingold ... while we are at it, how do non-cygwin programs supposed to handle this /cygdrive stuff? shell sc

RE: Problem with exec and some suggestions

2005-08-04 Thread Morche Matthias
Sorry, I had to read more carefully. If You cannot change the permissions to be executable, You won't be able to execute it. There must be some options to the mount command to make everything executable... Try mount -X ... regards, matthias Morche Matthias wrote: > Does pbcompil

RE: Problem with exec and some suggestions

2005-08-04 Thread Morche Matthias
Does pbcompiler start with something like #!/bin/sh in ist first line? And does that /bin/sh after #! exist and is that executable? Does /bin/sh pbcompiler work as expected? regards, matthias Gansta93 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello, > > As I have just read

RE: IE5 settings in setup.exe

2005-06-20 Thread Morche Matthias
Did You consider using a proxy of Your own eg Proxomitron that is able to manipulate the user-agent? [EMAIL PROTECTED] wrote: > Cywgin might not require a specific broser, but the proxy server > might. Hence, it might block cygwin if it sends an unauthorized > user-agent. I am not sure whether it

RE: Can I mount an EXT3 partition that WinXP sees as "(Unknown partition)"?

2005-05-04 Thread Morche Matthias
On http://www.fs-driver.org/index.html You will find an ext2-driver for WXP, who is also able to read and write ext3-filesystems. matthias [EMAIL PROTECTED] wrote: > FYI, explore2fs found both my boot and root partitions > on the firewire external drive with no trouble. > > Thanks for the po

RE: lilypond-doc-2.4.3-1 using setup.exe 2.457.2.1 fails to display music images

2005-04-07 Thread Morche Matthias
I've observed the same behaviour, but tracked it down a little further. lilypond does produce a tex-output, but it does not generate dvi nor ps neither pdf. You should be able to write a tiny shellscript as a wrapper, that generates pdf from the tex-output... matthias [EMAIL PROTECTED] wrot

RE: 1.5.14-1 cygwin1.dll could not be found

2005-04-06 Thread Morche Matthias
[EMAIL PROTECTED] wrote: > Original Message >> From: Danny Ng >> Sent: 06 April 2005 09:45 > >> Hi, >> >> I've recently downloaded the latest version of cygwin, and >> reinstalled the whole thing. Previously I had a compiling error with >> gcc, but now that has been fixed. After having su

RE: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread Morche Matthias
[EMAIL PROTECTED] wrote: ... > If I had to guess, I'd say that boinc is putting itself into a high > priority class for some reason and is eating cpu cycles, causing > cygwin's pipe reading code to stall. > > I've made a change to cygwin to put it's pipe reading code into a > slightly higher prior

RE: where is _G_config.h?

2004-12-27 Thread Morche Matthias
[EMAIL PROTECTED] wrote: ... > the include file _G_config.h should come with cygwin. However > it is not present on my system. Can somebody enlighten me ... Found 3 matches for _G_config.h. Look at http://cygwin.com/packages/ and search for it matthias -- Unsubscribe info: http://cygwin

using jvmstat from cygwin

2004-12-15 Thread Morche Matthias
Hi there, I wonder if I'm the only one who uses jvmstat from cygwin, but anyway, here is a recipe for using the jvmstat-package from cygwin: The culprit with not being able to run the standard installed jvmstat-tools on cygwin is the difference between the cygwin-paths and the windows-paths. On

RE: Command boxes popping up

2004-12-13 Thread Morche Matthias
[EMAIL PROTECTED] wrote: ... > Well, not intentionally, anyway, and if I use command > completion upon 'wp' I do not get 'wperl'. > > Btw. my Perl version is v5.8.5 built for cygwin-thread-multi-64int. > >> why don't You use the cygwin perl?! > > For 95% of my work I use the Cygwin perl, but thi

RE: Command boxes popping up

2004-12-13 Thread Morche Matthias
[EMAIL PROTECTED] wrote: ... > I have run a small test : > $ /cygdrive/c/Perl/bin/perl -e "system \"dir\"" > > and this pops up a DOS command box while the command > executes. ... I do get these boxes only if use wperl instead of perl... In that case they pop up and vanish immediately. Did You re

RE: if construct doesn't work in makefile

2004-11-11 Thread Morche Matthias
[EMAIL PROTECTED] wrote: > Hi, > > In my make file I am trying to check whether a directory exists or > not then set a path differently if doesn't exist. > I am using cygwin installed on windows 2000. > The if construct I have is as follows. > > if test [-dc:/tools]; then DRIVE = c:/tools

RE: rlogind vs. smb

2004-11-10 Thread Morche Matthias
[EMAIL PROTECTED] wrote: ... > If you set the home to //fileserver/share in the cygwin box's > /etc/passwd, then .rhosts suddenly stops being valid, and you're > asked for a password. What's funny is that if you put the right > password in, then a shell is started, and the pwd is the share, and > t

RE: rlogind vs. smb

2004-11-10 Thread Morche Matthias
[EMAIL PROTECTED] wrote: > Howdy! > > We have some windows machines running Cygwin to which we'd like to > connect via rsh. > > It all works well if the passwd entry's home field points to a local > directory, and the .rhosts file in that directory contains the proper > values. > > The accounts

RE: Cron under Cygwin/Windows XP

2004-11-08 Thread Morche Matthias
[EMAIL PROTECTED] wrote: > Hi. > I'm attempting to run: > > $ crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (cron/myCron installed on Fri Nov 5 14:08:06 2004) > # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna > Exp $) * * * * * echo 'Boo from cron'

RE: diff can be slow

2004-11-01 Thread Morche Matthias
Just a guess: Do You have hyperthreaded CPUs? Does disable HT in BIOS accelerate the processes? matthias -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

RE: [ANNOUNCEMENT] Updated: clamav-0.80-2

2004-10-28 Thread Morche Matthias
Is the expected behaviour of clamscan to avoid scanning the root directory as shown below? $ clamscan -v -r / --- SCAN SUMMARY --- Known viruses: 25864 Scanned directories: 1 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB I/O buffer size: 131072 bytes Time: 0.940 sec (0

RE: question regarding, PATH

2004-10-25 Thread Morche Matthias
I suggest to read the contents of the following link carefully, the answer is there: http://cygwin.com/faq/faq_toc.html#TOC31 regards, matthias > -Original Message- > Sent: Monday, October 25, 2004 2:17 PM > To: [EMAIL PROTECTED] > Subject: question regarding, PATH ... > However, if I

RE: I'm getting crazy whith the cron

2004-10-21 Thread Morche Matthias
There is no executable command '/bin/echo "hello" > /cygdríve/c/test.txt' Remove the single quotes in the crontab file... matthias > -Original Message- ... > Of Marcos Rebelo > Sent: Thursday, October 21, 2004 1:11 PM ... > Subject: I'm getting crazy whith the cron > > > I don't kno

RE: Problem configuring ssh with public key Authentication - help!

2004-08-09 Thread Morche Matthias
Hi Kenneth, seems to me your authentication worked. Maybe your ". runme.sh" does not work as expected, since the environment of a login window and a non-interactive call differs? Maybe You'd better call "sh runme.sh"? regards, matthias > -Original Message- ... > I am able to ssh and

RE: setting windows environment variables

2004-07-21 Thread Morche Matthias
so, maybe nohup smbmount //whatever /whereever > /dev/null 2>&1 & should do, still in an portable way... matthias ... > starting all the mappings without waiting on completion but my BASH > window wont' go away until they have all completed. > On Linux, something simple like: > #!/bi

RE: setting windows environment variables

2004-07-21 Thread Morche Matthias
...to set environmental variables for windows you can use regtool... But in that case they get persistent... ...and the simplest equivalent to start is using & to background the command... matthias > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of

RE: access to event log of windows

2004-07-13 Thread Morche Matthias
Another Method is using psloglist from SysInternals psutils package. It's not cygwin, but native win32. ... > I have doubts there's a portable way to scan syslog > programmatically. If > you simply want to access the NT event log, look at the libwin32-perl > package (there may be other ways, to

RE: Still no working ssh

2004-06-23 Thread Morche Matthias
A working chown and chmod are prerequisites to make sshd work. matthias ... > > chown and chmod are not working at all on this system > ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:

RE: OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.

2004-06-23 Thread Morche Matthias
It does! ... > Subject: OpenSSH under the CYGWIN package, does not read domain groups > in /etc/group file. ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

RE: Still no working ssh

2004-06-23 Thread Morche Matthias
start debugging the sshd with -ddd. Keep in mind, it serves only one session, if started that way and look into /var/log/sshd.log and into the eventviewer. I bet that gives enough hints to find the cause of Your problems... matthias > -Original Message- > From: [EMAIL PROTECTED] >

RE: How can I see key mapping in Bash

2004-06-17 Thread Morche Matthias
bind -p or look into man bash and search for readline or man readline or help bind ... woah, what a disclaimer :-) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Hughes, Bill > Sent: Thursday, June 17, 2004 3:40 PM > To: [EMAIL PROTECTED] > Subje

RE: Cannot ssh: "Connection reset by peer" error when connecting

2004-06-10 Thread Morche Matthias
ssh never worked for me if the private key file was set be to readable by everyone... Did You start sshd with debugging, did You have a look into /var/log/sshd.log? > Interestingly I saw that post just before making my posting > here. That > was the last attempt I made to fix it. I tried to c

RE: Default Vim Usability & Behavior

2004-05-21 Thread Morche Matthias
Hey Roger, I prefer to place my (sitewide) bashrc extensions into /etc/profile.d/my-bashrc-preferences.sh. There is a similar mechanism in vim but I'm to lazy to look it up :-) matthias > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of roger >

RE: sshd debugging

2004-03-23 Thread Morche Matthias
My advice is to setup the daemon like cygrunsrv ... -a -ddd, this will turn on the debugging and You will see the results either in /var/log/sshd.log or within the Eventviewer. >From what you tell, I would judge that some permissions of the affected user are >wrong. Check the home dir, rwxr-x

RE: problems with a new account, sshd, mkpasswd, and login

2004-03-05 Thread Morche Matthias
message, but I remember it was misleading. The indicator for this kind of problem was "setgid invalid argument" flashing up on the login window. matthias > -Original Message- > From: Daniel Danger Bentley [mailto:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 2:4

RE: problems with a new account, sshd, mkpasswd, and login

2004-03-05 Thread Morche Matthias
Do "ssh -vvv", typically it complains about the login dir of the user having wrong permission. I use to set it to "chmod og-w ~newuser". matthias > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Daniel Danger Bentley > Sent: Thursday, March 04, 2

RE: Problem with dd to raw disks

2004-03-01 Thread Morche Matthias
Did You ever try to use //./physicaldrive4 instead? It seems to a "quotation problem"... > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Anees Mannesseri > Sent: Monday, March 01, 2004 1:29 PM > To: [EMAIL PROTECTED] > Subject: Problem with dd to ra

RE: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-03-01 Thread Morche Matthias
Now that You point it out, I myself also do not understand how this can work, but it does! BTW, Hannu, Your mailto does not really work :-) > -Original Message- > From: Hannu E K Nevalainen [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 28, 2004 3:04 PM > To: Mor

RE: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Morche Matthias
Just to be a little more helpful :) Have You set some evironmental INPUTRC to use some other file than ~/.inputrc? Or does bash not find Your homedir? matthias ... > This was set to 'off' here though it is turned on in the .inputrc. I > don't know why .inputrc doesn't work but this is another

RE: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Morche Matthias
Just to be sure, type the following command: bind -v : $ bind -v set blink-matching-paren on set byte-oriented on set completion-ignore-case off set convert-meta off set disable-completion off set enable-keypad off set expand-tilde off set history-preserve-point off set horizontal-scroll-mode off s

RE: commandline expansion problems

2004-01-27 Thread Morche Matthias
Try using single Quotes instead of the double Quotes! ./bemcmd -o2 -jbtest -m"testms" -s'C:\WINNT\Temp\*.*' -mp:1 -w -r ... > $ ./bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r > ./bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r > + ./bemcmd -o2 -jbtest -mtestms

RE: deleting a file ending with a dot

2004-01-16 Thread Morche Matthias
Your answer confirms my assumption that there are hidden chars trailing the dot: try ls -q cachedmetrics* and use the result to delete... > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Baurjan Ismagulov > Sent: Friday, January 16, 2004 2:53 PM > T

RE: deleting a file ending with a dot

2004-01-16 Thread Morche Matthias
Are You shure the filename ends with that dot? Maybe there are unreadable chars appended, so Yozu never gave the correct filename when deleting... I tried to create a file ending with a dot and did not succeed. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] B

RE: Crash when compiling Sitecopy

2004-01-08 Thread Morche Matthias
Hi Frantisek, try appending c:\cygwin\bin to Your windows PATH environment variable. That should do the job... matthias ... > So, now I have the latest cygwin but I can no longer run it from a > standard Windows BAT file because it doesn't "see" > cygwin1.dll file (and > other DLL files

RE: Problem with noninteractive bash initialization

2003-11-20 Thread Morche Matthias
en more accurate to mention the invoking of ~/.bashrc explicitly. matthias > -Original Message- > From: Wirawan Purwanto [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 4:38 PM > To: Morche Matthias > Cc: [EMAIL PROTECTED] > Subject: RE: Problem with non

RE: how to do "hexdump" to analyze special white-space characters?

2003-11-11 Thread Morche Matthias
Try xxd, i think it comes with vim... ... > have as I can do under Linux with "hexdump -C". > > How would I do that with cygwin? ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/

RE: Can I read the name of a shell function?

2003-11-07 Thread Morche Matthias
Did You try $FUNCNAME? See also "man bash" :-) as in "fn () { echo $FUNCNAME ; }" > -Original Message- > From: zzapper [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2003 1:18 PM > To: [EMAIL PROTECTED] > Subject: Can I read the name of a shell function? > > > HiYaAll > > I ha