RE: paste into vim
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 FAQ: http://cygwin.com/faq/
RE: paste into vim
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.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Finding out login history
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: Finding out login history Is it possible to find out the login history, i.e. the exact time on the previous days a user has logged on, respectively the system has been rebooted -- 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: Problem with aliases in bash as login shell
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 line with the call of .bashrc from .bash_profile looks like .bashrc change it to . .bashrc and it will do what You intend and then RTFM for an explanation :-) best regards, matthias -- 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: XWin won't respond to keyboard
Hi Eric, Your XKEYSYMDB points to a wrong path. Either set it to the right one: export XKEYSYMDB=/usr/share/X11/XKeysymDB or delete it from Your environment setup. The path has changed with the new X11-version. best regards, matthias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Francis Sent: Friday, November 14, 2008 9:36 PM To: 'cygwin-xfree@cygwin.com' Subject: XWin won't respond to keyboard I've been using cygwin for a while now; but after a recent set of updates, Xwin won't respond to anything from the keyboard (though other cygwin utilities work like xterm/rxvt respond properly). ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
xauth misses security extension
Hi all, I am no longer able to use xauth. It misses the security extension within XWin. Has this been removed on purpose and would you please explain why? best regards, matthias -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: bash: Word splitting but when?
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 substitution with output containing spaces. Given the following two lines in a bash script: x=$(echo '1 2 3 x') y=$(echo '1 2 3 x') According to bash manual: The shell scans the results of parameter expansion, command substitution, and arithmetic expansion that did not occur within double quotes for word splitting. the ouput of $(echo '1 2 3 x') should go through word splitting and x should have the value 1 2 3 x. While y should have 1 2 3 x. This does not seem to be the case, see below some tests. Do you have any idea how the manual shall be interpreted? Cheers, Balazs --- $ cat z x=$(echo '1 2 3 x') y=$(echo '1 2 3 x') echo $x echo $y $ bash -x z ++ echo '1 2 3 x' + x='1 2 3 x' ++ echo '1 2 3 x' + y='1 2 3 x' + echo '1 2 3 x' 1 2 3 x + echo '1 2 3 x' 1 2 3 x --- Relevant sections from the bash manual: EXPANSION Expansion is performed on the command line after it has been split into words. There are seven kinds of expan- sion performed: brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, word splitting, and pathname expansion. The order of expansions is: brace expansion, tilde expansion, parameter, variable and arithmetic expansion and command substitution (done in a left-to-right fashion), word splitting, and pathname expansion. On systems that can support it, there is an additional expansion available: process substitution. Only brace expansion, word splitting, and pathname expansion can change the number of words of the expansion; other expansions expand a single word to a single word. The only exceptions to this are the expansions of $@ and [EMAIL PROTECTED] as explained above (see PARAMETERS). ... Command Substitution Command substitution allows the output of a command to replace the command name. There are two forms: $(command) or `command` Bash performs the expansion by executing command and replacing the command substitution with the standard out- put of the command, with any trailing newlines deleted. Embedded newlines are not deleted, but they may be removed during word splitting. The command substitution $(cat file) can be replaced by the equivalent but faster $( file). When the old-style backquote form of substitution is used, backslash retains its literal meaning except when followed by $, `, or \. The first backquote not preceded by a backslash terminates the command substitution. When using the $(command) form, all characters between the parentheses make up the command; none are treated specially. Command substitutions may be nested. To nest when using the backquoted form, escape the inner backquotes with backslashes. If the substitution appears within double quotes, word splitting and pathname expansion are not performed on the results. ... Word Splitting The shell scans the results of parameter expansion, command substitution, and arithmetic expansion that did not occur within double quotes for word splitting. The shell treats each character of IFS as a delimiter, and splits the results of the other expansions into words on these characters. If IFS is unset, or its value is exactly , the default, then any sequence of IFS characters serves to delimit words. If IFS has a value other than the default, then sequences of the whitespace characters space and tab are ignored at the beginning and end of the word, as long as the whitespace character is in the value of IFS (an IFS whitespace character). Any character in IFS that is not IFS whitespace, along with any adjacent IFS whitespace characters, delimits a field. A sequence of IFS whitespace characters is also treated as a delimiter. If the value of IFS is null, no word splitting occurs. Explicit null arguments ( or '') are retained. Unquoted implicit null arguments, resulting from the expan- sion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a null argument results and is retained. Note that if no expansion occurs, no splitting is performed. _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline -- Unsubscribe info:
RE: how to start windows applications
start is a builtin of cmd. try cygstart a.xls instead. matthias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of thetrystero Sent: Wednesday, September 17, 2008 11:23 AM To: cygwin-xfree@cygwin.com Subject: how to start windows applications i've just installed cygwin and am noticing some inconsistencies between executing commands from the command line versus executing them through a batch file. for example when I try to do start excel a.xls I get bash: start: command not found but if I put this in a batch file, a.bat say, and the subsequently executing a.bat the the cmd line, it works fine. Another one is changing directories. Say I'm in C: and I'd like to change to U:\temp. The following sequence works in the batch file but not at the command line: U: cd \temp Any help will be much appreciated! -- View this message in context: http://www.nabble.com/how-to-start-windows-applications-tp19527789p19527 789.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: bash programming: testing for empty string
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 by doing this. filetime=`ls -l --time-style=+%a:%H:%M /tmp/1.txt | awk '{print $6}'` if [ -z $filetime]; then echo File does not exist else echo Time file: $filetime fi ... -- 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: Xlib connection refused
Sounds to me like a permission problem: Does it work if You use DISPLAY=:0? Do You have set up xauth and created an entry like: xauth list hostname/unix:0 MIT-MAGIC-COOKIE-1 e43b9761413c7718696720152f5e1c62 maybe it would help to create an additional entry for 198.168.205.98:0 or hostname.domain.country:0 like DISPLAY=:0 xauth add 198.168.205.98:0 . e43b9761413c7718696720152f5e1c62 HTH, matthias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 5:11 PM To: cygwin-xfree@cygwin.com Subject: Xlib connection refused OK, I've been following the directions at: http://x.cygwin.com/docs/ug/using-remote-apps.html for ssh connection. I've gotten everything setup, but when I try to start and xterm, I get the following message: Xlib: connection to 192.168.205.98:0.0 refused by server Xlib: No protocol specified xterm XT error: Can't open display: 192.168.205.98:0.0 I have no idea what the 0.0 is, but the 192.168.205.98 is my windows box running cygwin x server. This is set up in my DISPLAY variable on the linux host. Any ideas? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: username should be lower-case for $USER
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 lower-case for $USER I am new to Cygwin. I noticed that the $USER environment variable has my username in upper-case. So it is DSMILEY. On unix based hosts I log into, it is always lower-case. So if I try to SSH to another machine where I have the same login name, I can't let SSH automatically default to $USER because the case isn't right. *Even if* Windows user names are case sensitive and so there is a difference between DSMILEY and dsmiley (are they?, I don't know) I think $USER should be made to be all lower-case to be consistent with unix environments. ~ David Smiley -- View this message in context: http://www.nabble.com/username-should-be-lower-case-for-%24USER-tf294715 6.html#a8241120 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/ -- 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/
AW: XV Installation Problem
In that case I guess it contains a starting line #!/usr/bin/csh and there is no /usr/bin/csh, that always leads to the error message, you've seen. matthias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von steven woody Gesendet: Mittwoch, 12. April 2006 03:55 An: cygwin-xfree@cygwin.com Betreff: Re: XV Installation Problem Thank you Igor. i am using Cygwin version of tar. i found there is only one RANLIB.csh which is in tiff/ directory, and the .csh file has executable bit set ok. any other clue? On 4/11/06, Igor Peshansky [EMAIL PROTECTED] wrote: On Tue, 11 Apr 2006, steven woody wrote: my installation of cygwin has already included xorg-xfree-devel package, but the i still get error when compile XV 3.10a. below is information: ... ./RANLIB.csh libtiff.a make[1]: ./RANLIB.csh: Command not found make[1]: *** [libtiff.a] Error 127 make[1]: Leaving directory /usr/src/xv-3.10a/tiff make: *** [tiff/libtiff.a] Error 2 Looks like you either used a non-Cygwin version of tar to unpack the source, or you're using an OS/filesystem/setting combo that doesn't support executable bits on files. Please follow the Cygwin problem reporting guidelines at http://cygwin.com/problems.html. If it's the former, unpack the source tarball again using the Cygwin version of tar, which should set executable permissions properly. It could also be that the tarball itself is broken (i.e., RANLIB.csh isn't executable), in which case a chmod a+x RANLIB.csh should do the trick. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte. But no -- you are no fool; you call yourself a fool, there's proof enough in that! -- Rostand, Cyrano de Bergerac -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- woody -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Re: how to make ssh-agent automatically
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 sufficient to set up the key and copy the public part into authorized keys on the remote host. I never used ssh-agent nor ssh-add and passwordless logins to several hosts and Windows are hourly routine. Why do you need them? Did you ever heard the term passphrase? man ssh-keygen. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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: Re: how to make ssh-agent automatically
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 just want to connect from one host to another one. It's totally sufficient to set up the key and copy the public part into authorized keys on the remote host. I never used ssh-agent nor ssh-add and 1. I did that. So why I am asked for my SSH passphrase when I try to SSH from my local machine to remote machine? 2. In your situation, do you have pass phrases for SSH or not? ... -- 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: Re: how to make ssh-agent automatically
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 wrote: Hi HS... You can use keychain (a package available from setup.exe). I do something like ssh-add -l /dev/null 21 if [ $? -eq 1 ]; then ssh-add fi in my .bash_profile, because keychain is slow when I launch several windows. Okay, I will try that. BTW, just out of curosity, is using keychain only one of the methods to achieve this or is it the only method? I mean, is it possible to do this without keychain or any other packages and just with ssh and rsync and login/logout files and environment variables? ... -- 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: Re: how to make ssh-agent automatically
You just want to connect from one host to another one. It's totally sufficient to set up the key and copy the public part into authorized keys on the remote host. I never used ssh-agent nor ssh-add and passwordless logins to several hosts and Windows are hourly routine. Why do you need 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. Would You consider this to be simpler? matthias (Yes, I have done this. This is necessary to make passwordless ssh login. And this is not what I was talking about anyway.) Even if I assume for an instant I hadn't done this, how would this remove the need to run ssh-add on my local machine each time I reboot and login? -HS -- 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: /dev/null [Was: xargs still nok?]
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: /dev: No such file or directory ... /dev/null is there, even if /dev isn't. -- 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: Programatically finding value of cygdrive prefix
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 scripts mindlessly transfered from unix to cygwin do not bother to use cygpath before passing pathnames to external programs. native Emacs or vim do not appreciate /cygdrive prefixes. it's easier to tell Emacs how to handle /cygdrive than to fix every elisp Makefile that is being distributed. that brings me to suggest that this cygdrive be made available in the registry (which cygwin does not use at all, so, I guess, this is not going anywhere...) ... -- 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: Programatically finding value of cygdrive prefix
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 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: Problem with exec and some suggestions
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 readed, I've tried to changes permissions using chmod 755 pbcompiler for change it because it hadn't permissions for execution. But when I type again ls -l pbcompiler the result is the same and I cannot execute is. Is windows 98 a problem for files permissions? Thanks for help, Patrick -BEGIN PGP SIGNATURE- Version: PGP 6.5.1fr pour usage non commercial Comment: Clé de Gansta93 iQA/AwUBQvH4PsPJOwVo2a1+EQLUGACfYpmBPW1hBvY2YeUcJ/4mHXej9sYAoMxj 6aHcav51P6FG7Zl5/yFbtZhr =Bym1 -END PGP SIGNATURE- -- 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: Problem with exec and some suggestions
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 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 readed, I've tried to changes permissions using chmod 755 pbcompiler for change it because it hadn't permissions for execution. But when I type again ls -l pbcompiler the result is the same and I cannot execute is. Is windows 98 a problem for files permissions? Thanks for help, Patrick -BEGIN PGP SIGNATURE- Version: PGP 6.5.1fr pour usage non commercial Comment: Clé de Gansta93 iQA/AwUBQvH4PsPJOwVo2a1+EQLUGACfYpmBPW1hBvY2YeUcJ/4mHXej9sYAoMxj 6aHcav51P6FG7Zl5/yFbtZhr =Bym1 -END PGP SIGNATURE- -- 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: IE5 settings in setup.exe
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 can block programs per se: if the user agent string is the same as IE's can the proxy recognize it comes from cygwin? ... -- 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: Can I mount an EXT3 partition that WinXP sees as (Unknown partition)?
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 pointer, this is just what I needed, an easy way to copy info over to cygwin. Peter -- 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: lilypond-doc-2.4.3-1 using setup.exe 2.457.2.1 fails to display music images
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] wrote: For the last couple of versions of lilypond documents in cygwin, I do not get music images. Lilypond was recently updated to 2.4.3.-1 with no correction of the problem behavior. If there is a better place to report these, please e-mail me. I have done my best in determine where to post, but explinations use different vocabulary than problems with a particular package downloaded with setup when describing problem reporting conventions, so this is just my best guess as to where to report the problem. Lilypond docs has a large number of music graphics which are supposed to display in examples, tutorials, and many other places. NONE of these display properly. Instead, the alternative text _[image of music]_ is displayed. My starting point is to browse F:\cygwin\usr\share\doc\lilypond-2.4.3-1\index.html which under WindowsXP is redirected to file:///F:/cygwin/usr/share/doc/lilypond-2.4.3-1/Documentation/out-www/index.html Drilling down to any tutorial or other documentation showing music notation displays the _[image of music]_ text rather than the appropriate graphic. This behavior is seen in Firfox, Netscape 7.2, and the current Internet Explorer. I have WindowXP Professional which is up to date. As of today, April 6, 2005, cygwin is completely up to date through setup.exe 2.457.2.1. I have uninstalled and reinstalled the lastest version of Lilypond with no change in behavior. -- 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: 1.5.14-1 cygwin1.dll could not be found
[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 successfully compiled my C program, I tried to run the exec file of my compiled program and gave me an error. I have looked through the mailing list to try to solve this myself by installing bzip2 libraries but I still get the same error. You need to have cygwin's bin directory in your windows PATH settings, so that the cygwin dll can be found when you try to run your compiled application. Or you need to run the compiled application from a cygwin shell. cheers, DaveK -- Can't think of a witty .sigline today That's not the whole story: cygwin1.dll not found comes up during the update of cygwin, when cygwin1.dll AND other packets are updated. It happens after deinstall of cygwin1.dll, when other post-remove scripts try to run... matthias -- 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: Slow pipes after upgrade cygwin 1.5.12-1-1.5.13-1 when running boinc
[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 priority class. This change is in the latest snapshot: http://cygwin.com/snapshots/ cgf I think You're right. My problem with very slow startup and slow execution of echo `echo 1` went away when I stopped boinc... matthias -- 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: where is _G_config.h?
[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.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
using jvmstat from cygwin
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. One is able to avoid this if cygwin, jvmstat and java are all installed into the SystemDrive and are fitted to use the same paths. Here I describe how my Installation was made to work. Java (1.5.0 and 1.4.2_05) are on C:\Programme\Java jvmstat_home is C:\opt\jvmstat and C:\opt\jvmstat-3.0 my jvmstat is version 1.1 for Java 1.4.2. I wasn't able to make the jvmstat 1.1 perfagent and 3.0 (or Java 1.5) interact, so I have them both... /opt is a directory used by some nonstandard cygwin-apps as bind or agrep, so I was not able to mount the whole C:\opt... mkdir -p /opt/jvmstat ; mkdir -p /opt/jvmstat-3.0 mount -sb 'C:\opt\jvmstat' /opt/jvmstat mount -sb 'C:\opt\jvmstat-3.0' /opt/jvmstat-3.0 /Programme is not used by any cygwin-app, so I figured the easiest method is to mount the whole thing mkdir -p /Programme# Your path may be /Program Files ... mount -sb 'C:\Programme' '/Programme' On linux/solaris Java usually resides on /usr/lib/java, so why not do this here too!? ln -s /Programme/Java/jdk1.5.0 /usr/lib/java Now prepare the PATH. This method is not the smartest one, but it works. (Actually I use to set the PATH in /etc/profile.d/env.sh ...) export PATH=${PATH/:\/usr\/local\/bin:/:/usr/local/bin:/usr/lib/java/bin:/opt/jvmstat/bin:} # Or wherever You want it within Your PATH ... and put it into Your ~/.profile Another pitfall to avoid is the temp-directory, which can differ between cygwin and Windows. This is needed, if You want to watch JVMs running on this PC... mount -sb 'C:\Temp' /tmp export TEMP=/tmp export TMP=/tmp # Don't forget to set the Windows Environment too (in ... Systemsteuerung = System aka Control Panel ...) TMP=%Systemdrive%\Temp TEMP=%SystemDrive%\Temp And now everything else works according to the jvmstat-documentation for unix http://developers.sun.com/dev/coolstuff/jvmstat/docs.html. matthias -- 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: Command boxes popping up
[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 replace perl with a copy of wperl? By the way, why don't You use the cygwin perl?! matthias -- 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: Command boxes popping up
[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 this is a build application that was shoved down our throat here, and Cygwin interferes with the used compilers, so all references to cygwin in any form or measure, are removed before the build process starts. So I use the AS Perl, which is also needed by the build process, to control everything in this case. ... The version You mentioned is the one from the cygwin, not from activestate This is the public msi package from activestate version v5.8.4 built for MSWin32-x86-multi-thread and it comes with wperl and perl living in the same directory The facts You told make me believe, that the activestate-perl isn't within Your path at all, thus no completion for wpTAB isn't really surprising. matthias -- 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: starting cygwinx
Try startx ... but it needs xinit; all of them in /usr/X11R6/bin... matthias [EMAIL PROTECTED] wrote: ... someone tell me where i can find these files and how to get an xterm window started. ...
RE: if construct doesn't work in makefile
[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; else DRIVE = c:/altTools; fi pls help me out. Regards, sitaram Does the following work better? if test [ -d /cygdrive/C/tools ]; then DRIVE=c:/tools; else DRIVE= By the way: this seems not to be a cygwin problem and it would be very helpful to provide at least the error message. See http://cygwin.com/problems.html matthias -- 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: rlogind vs. smb
[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 are hosted on a linux based file server. The unixes get the home directory via NFS, and the fileserver also shares via samba. 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 the files therein are available, including .rhosts. So basically: 1. does anybody know why rlogind doesn't like SMB shares? 2. does anybody know where rlogind logs it's complaints to? 3. while we're added, how do you get rlogind to be promiscuous? Or actually, what's the cygwin equivelent of /etc/pam.d/rlogind ? ... What are the permissions of .rhosts on the shares? rshd/rlogind refuses to use them if anybody but the owner has write access! -- 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: Cron under Cygwin/Windows XP
[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' but it doesn't run... Just out of curiosity, how do You know it doesn't run? I would try something like date /tmp/cron.test and have a look into that file. matthias -- 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: diff can be slow
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: http://cygwin.com/faq/
RE: [ANNOUNCEMENT] Updated: clamav-0.80-2
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 m 0 s) A clamscan -r /* does a scan through at least some subdirectories! matthias ... I have updated the version of clamav on cygwin.com to 0.80-2. ... Note: There seem to be some bugs with clamd, which Mark Pizzolato is investigating. Stopping and restarting the daemon is problematic for sure. The non-daemon versions do work fine. ... -- 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: question regarding, PATH
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 do a, echo $PATH cmd at the shell, I get the following output... ... -- 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: I'm getting crazy whith the cron
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 know what to do any more. On the System Events I find this: ... is part of the event: /usr/sbin/cron : PID 992 : (mrebelo) CMD ('/bin/echo hello /cygdrive/c/test.txt'). ... crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.4000 installed on Wed Oct 20 16:07:47 2004) # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $) * * * * * '/bin/echo hello /cygdrive/c/test.txt' ... ignoring further information -- 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: Problem configuring ssh with public key Authentication - help!
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 execute a script (runme.sh) on the win box from the unix box with *password* authentication, no problem. However, when I try public key authentication (putting private key file in the ~/.ssh directory on the unix box and adding the corresponding public key in the ~/.ssh/authorized_keys file on the Windows/Cygwin box), the script does not execute on the win box. According to the debug (attached), there does not appear to be anything wrong with with private/public key authentication - and in fact, the runme.sh script does apparently get called. The only tell tale sign seems to be an exit code of 255 (rather than 0). Has anybody experienced this before and know how to fix it? ... debug1: ssh-userauth2 successfull: method publickey debug1: channel 0: new [client-session] debug1: send channel open 0 debug1: Entering interactive session. debug2: callback start debug1: client_init id 0 arg 0 debug1: Sending command: . runme.sh debug2: callback done ... debug1: Exit status 255 ... -- 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: setting windows environment variables
...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 Larry Hall Sent: Tuesday, July 20, 2004 10:38 PM To: Jason Joines; [EMAIL PROTECTED] Subject: Re: setting windows environment variables At 04:18 PM 7/20/2004, you wrote: I have a Cygwin BASH script which takes user input, uses ldapsearch, etc., to set a bunch of environment variables. I can then use these from bash with no problem. I would also like to make these environment variables available to the windows command interpreter. Is there anyway to do this? Only if the windows command interpreter is a child of the bash process you run from. Otherwise, your best bet is to export the variables as some batch file and run that in the windows command interpreter. Also, is there a BASH equivalent of the windows cmd start command that lets you start many processes without having to wait on each to finish? How about 'cygstart'? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/ -- 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: setting windows environment variables
so, maybe nohup smbmount //whatever /whereever /dev/null 21 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: #!/bin/bash smbmount //srv1/share1 ~/share1 smbmount //srv1/share2 ~/share2 smbmount //srv1/share3 ~/share3 smbmount //srv2/share4 ~/share4 exit ... -- 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: access to event log of windows
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, too). ... -- 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: Still no working ssh
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] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 12:19 PM To: Cygwin Mailing List Cc: Larry Hall Subject: Re: Still no working ssh So wrote Larry Hall on Tuesday, the 22. June 2004: At 06:35 AM 6/22/2004, you wrote: I sent a post here a while back with detailed error output from ssh. I am not able to get it working. Always I get the Connection reset by peer error message. Someone said to turn on debugging. I did enable it in /etc/ssh/sshd_config however the log file in /var/log remains completely empty. I do not have any new info to report but this is very frustrating. I am installing it by the book, running ssh-host-config (as Administrator), then ssh-user-config but am never able to log in, even to localhost. Interestingly, about 50% of the time it fails immediately. The other 50% of the time it asks for the password and then fails. Any help would be appreciated. This is running under Windows 2000 SP4 Deutsch. Well, you need to explain what you did and have done. A pointer to any previous thread in the email archives might prove sufficient for the latter. Yes, here is the original post including logs of three different sessions: http://cygwin.com/ml/cygwin/2004-06/msg00370.html -- 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/ -- 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: Still no working ssh
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://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cannot ssh: Connection reset by peer error when connecting
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 chown SYSTEM.SYSTEM .ssh/* which had no effect whatsoever on the ownership. This user also has full administrative rights. Here is the directory listing for /home/user/.ssh: total 4 drwxr-xr-x2 user Kein0 Jun 9 17:11 . drwxr-xr-x3 user Kein0 Jun 9 16:09 .. -rw-r--r--1 user Kein 225 Jun 9 17:11 authorized_keys -rw-r--r--1 user Kein 887 Jun 9 17:11 id_rsa -rw-r--r--1 user Kein 225 Jun 9 17:11 id_rsa.pub -rw-r--r--1 user Kein 447 Jun 9 17:12 known_hosts However, given that they are all mode 644 I would think that would be enough. I've also seen this thread http://archive.erdelynet.com/ssh-l/2001-06/msg00057.php which indicates 644 should be enough (what I would also tend to think). ... -- 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: Default Vim Usability Behavior
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 Sent: Tuesday, May 18, 2004 10:02 PM To: [EMAIL PROTECTED] Subject: Default Vim Usability Behavior ... On a side, note, I usually do also port over my .bashrc file which gives me color folders and prompt enhancements. I find using a color term (which provides color for folders) makes the working in the term more usable. ... -- 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: sshd debugging
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-xr-x. Check ~/.ssh, rwx-- Check ~/.ssh/authorized_keys, rw-r--r-- But even the permissions on the client site can prevent ssh from working, ie. ~/.ssh/id_dsa may have world writable... matthias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Corbin Sent: Tuesday, March 23, 2004 1:17 PM To: '[EMAIL PROTECTED]' Subject: sshd debugging ... password, but I do have a public-key/private-key installed that it doesn't seem to recognize. (If you want to recommend a solution to this problem, ... -- 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: problems with a new account, sshd, mkpasswd, and login
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, 2004 8:52 PM To: [EMAIL PROTECTED] Subject: problems with a new account, sshd, mkpasswd, and login ... account to the password I want. But when I ssh in, I can login to neither account. Any ideas? ... -- 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: problems with a new account, sshd, mkpasswd, and login
The password comes from the local PC or from the domain, depending if the user in passwd is a domain-user or not. But I ran several times into a problem if I didn't run mkgroup and some group the user belonged to wasn't in the group file. I'm not really sure about the error 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:46 PM To: Morche Matthias; [EMAIL PROTECTED] Subject: Re: problems with a new account, sshd, mkpasswd, and login The problem seems to be one of passwords, actually: it just tells me invalid password, even with -vvv. But I can login with windows and cygwin locally now, just not with ssh. Any idea where ssh could be reading the password incorectly? ... -- 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: 1.5.7: Problems with german umlauts in bash/rxvt command line
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: Morche Matthias Subject: RE: 1.5.7: Problems with german umlauts in bash/rxvt command line From: Morche Matthias Subject: RE: 1.5.7: Problems with german umlauts in ... set input-meta off ... set meta-flag off set output-meta on ... --- bind.mm 2004-02-28 12:49:20.0 +0100 +++ bind.henk 2004-02-28 12:47:04.0 +0100 @@ -6 +6 @@ -set enable-keypad off +set enable-keypad on @@ -10 +10 @@ -set input-meta off +set input-meta on @@ -13 +13 @@ -set mark-symlinked-directories off +set mark-symlinked-directories on @@ -15 +15 @@ -set meta-flag off +set meta-flag on @@ -22 +22 @@ -set bell-style audible +set bell-style visible I find it strange that you have got characters with 8'th bit set to work... My experience is that 'input-meta' and 'meta-flag' has to be set as indicated on '+' marked lines above. Read below to see how I have things set. ... -- 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: Problem with dd to raw disks
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 raw disks ... dd if/dev/zero of=.\\PHYSICALDRIVE4 count=5 seek =3 fails with the error dd: opening `.\\PHYSICALDRIVE4': Invalid argument ... -- 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: 1.5.7: Problems with german umlauts in bash/rxvt command line
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 set input-meta off set mark-directories on set mark-modified-lines off set mark-symlinked-directories off set match-hidden-files on set meta-flag off set output-meta on set page-completions on set prefer-visible-bell on set print-completions-horizontally off set show-all-if-ambiguous off set visible-stats off set bell-style audible set comment-begin # set completion-query-items 100 set editing-mode emacs set keymap emacs That's my settings... and it works from whitin console and PuTTY. By the way, You can set the variables without using .inputrc eg. by bind 'set meta-flag on' matthias ... I have trouble to show german umlauts in bash command ... $ less .inputrc set input-meta on set convert-meta off set output-meta on ... -- 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: 1.5.7: Problems with german umlauts in bash/rxvt command line
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 issue. I've turned it on in .bashrc using the syntax documented below and äöü and EUR are shown fine on the commandline. ... -- 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: commandline expansion problems
Try using single Quotes instead of the double Quotes! ./bemcmd -o2 -jbtest -mtestms -s'C:\WINNT\Temp\*.*' -mp:1 -w -r ... $ ./bemcmd -o2 -jbtest -mtestms -sC:\WINNT\Temp\*.* -mp:1 -w -r ./bemcmd -o2 -jbtest -mtestms -sC:\WINNT\Temp\*.* -mp:1 -w -r + ./bemcmd -o2 -jbtest -mtestms '-sC:\WINNT\Temp\*.*' -mp:1 -w -r Invalid or missing command line parameter. Return value:-1 when i execute the dos shell cmd and call the same command everithing works fine ... -- 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: deleting a file ending with a dot
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] Behalf Of Baurjan Ismagulov Sent: Friday, January 16, 2004 12:57 PM To: [EMAIL PROTECTED] Subject: deleting a file ending with a dot Hello, tar has created a file ending with a dot, and now I can't delete it (I've tried rm, del in cmd, explorer, far, unlink call with and without -mno-cygwin). What would you suggest before I search an 8-GB volume for the directory entry with a disk editor? I would appreciate any help (pointers to NTFS directory structure description also welcome). Scandisk didn't report any problems. Thanks in advance, Baurjan. -- 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/ -- 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: deleting a file ending with a dot
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 To: [EMAIL PROTECTED] Subject: Re: deleting a file ending with a dot Hello, David! On Fri, Jan 16, 2004 at 12:05:31PM -, Dave Korn wrote: Maybe there's a problem with the perms on it? What output do you get from ls -la file. and from cacls file. ? ls: cachedmetrics.: No such file or directory I don't have cacls installed, but getfacl also says No such file or directory. BTW, this would have been a better bug report... I'm afraid that this is a Windows feature :) -- to be able to create files and then not to be able to work with them :/ . ... if you had told us what actually *happened* when you tried all those things - did you get error messages? Did unlink return an error code? Or did just nothing happen? Or did your machine BSOD and start smoke pouring out the back? Knowing what happened is the first clue to start working out what went wrong, you see. Thanks for the tip :) . All programs said that they cannot find such a file. Unlink returned ENOENT. When I click on Properties, there is no file name in the window. With kind regards, Baurjan. -- 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/ -- 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: Crash when compiling Sitecopy
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 it needs). How to solve this cleanly? Copy the DLLs to \SYSTEM directory? Or is it enough to change the current directory to c:\cygwin\bin before running sitecopy.exe? ... -- 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: Problem with noninteractive bash initialization
Hi Wirawan, the section Invoked non-interactively of http://www.gnu.org/manual/bash-2.05a/html_mono/bashref.html#SEC62; describes the differences to the other forms of invoking bash. There is no reference to the .bashrc startup script. That states only that there is no other invoking of startupscripts than in the sections above. ~/.bashrc IS executed and that IS the prescribed behavior and is has been ever since. You can avoid this by calling bash --norc scriptfile or bash --rcfile rcfile scriptfile. But I think too, it would have been 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 noninteractive bash initialization Yes, BUT I suppose that the shell used for executing a script is a NON-interactive shell, because it doesn't take _commands_ from the user, rather from the script. Isn't this right? Therefore it does not agree with the prescribed behavior in the documentation. Wirawan ... -- 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: how to do hexdump to analyze special white-space characters?
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/docs.html FAQ: http://cygwin.com/faq/
RE: Can I read the name of a shell function?
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 have created a lot of functions in my .profile When I try to read the function name from within the function $0 just returns bash. Is there any way of reading the functions name?? zzapper -- vim -c :%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg? http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips -- 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/ -- 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/