Re: OpenSSH *** fatal error - unable to load C:\WINDOWS\system32\user32.dll, Win32 error 1114
On Feb 14 17:54, Charles Stepp wrote: Jim Garrison jim.garrison at troux.com writes: I'm consistently getting a stack trace when attempting to run a command via ssh, using a dsa key, on a remote Windows Server 2003 SP2 x64 that has Cygwin sshd installed and configured. The error is occurring at the remote sshd process: $ ssh qaautotest1 ls 2 [main] sshd 3156 D:\cygwin\usr\sbin\sshd.exe: *** fatal error - unable to load C:\WINDOWS\system32\user32.dll, Win32 error 1114 Stack trace: Frame Function Args 002298B4 6102796B (002298B4, , , 0040) ... I'm, also getting this error. See bottom of my comments...perhaps a cygwin vs Windows path problem. Does the FAQ help? http://cygwin.com/faq-nochunks.html#faq.using.sshd-in-domain Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat Yes it did! Essentially, it needs to be a domain user. I had to use my own domain ID. I added permissions through some hairy Windoze as recommended in the following link. http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html Thanks SO much! It must be a real PIA trying to emulate setuid stuff/ID switching stuff for these Server class Windoze versions. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
RE: sssssh . . . qmail-send is listening
Using xhost + and setting your DISPLAY variable correctly is...well...obvious, but that's my two cents. Here's my C:\cygwin\usr\X11R6\bin\startxwin.bat with REM's removed: @echo off SET DISPLAY=127.0.0.1:0.0 SET CYGWIN_ROOT=\cygwin SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/X11R6/bin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SET XNLSPATH=/usr/X11R6/lib/X11/locale if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix if %OS% == Windows_NT goto OS_NT echo startxwin.bat - Starting on Windows 95/98/Me goto STARTUP :OS_NT echo startxwin.bat - Starting on Windows NT/2000/XP/2003 :STARTUP %RUN% XWin -multiwindow -clipboard -silent-dup-error -emulate3buttons 25 %RUN% xterm -fg rgb:ff/cc/99 -bg rgb:00/22/44 -cr red -e /usr/bin/bash -l Charles Stepp Keep your Eye on the Ball, Your Shoulder to the Wheel, Your Nose to the Grindstone, Your Feet on the Ground, Your Head on your Shoulders. Now... try to get something DONE! -Original Message- From: Larry Hall (Cygwin) [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 2:32 PM To: cygwin@cygwin.com Subject: Re: sh . . . qmail-send is listening David M. Besonen wrote: this is my second attempt at posting to this list. my prior attempt was stuffed by qmail-send because of an off-topic Subject: line. the original Subject: that i needed to conceal: x windows tips - xfree list has me blocked ... i've read through the 'Cygwin/X User's Guide' and i'm a bit stuck. i couldn't find any concise description or checklist of what i need to do in order to get cygwin/x to the point of where i can simply start an x window app and have said app just work. any pointers to or a description of the steps i need to take to get x windows working smoothly would be much appreciated. -- 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: Print
Here's a little script I use to send to an HP printer. You can pipe into it. #!/usr/bin/ksh # -- if [[ $# -gt 0 ]] then /usr/bin/lpr -P asdfasdfasdf.doofer.org/Monsoon $# else cat | /usr/bin/lpr -P asdfasdfasdf.doofer.org/Monsoon fi Charles Stepp Keep your Eye on the Ball, Your Shoulder to the Wheel, Your Nose to the Grindstone, Your Feet on the Ground, Your Head on your Shoulders. Now... try to get something DONE! -Original Message- From: r [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 6:53 PM To: cygwin@cygwin.com Subject: Print When I try to print under cygwin ( a text file too ) with 'lpr' I can hear the printer ( Lexmark Z600 Series connected via usb to a simple desktop pc ) move the cursor to be ready for printing but nothing happens. I tried with text files and .ps too. 'lpr test' 'lpr test2.ps' It seems that cygwin sends some signal to the printer but, nothing is printed. I read cygwin manual, faqs, tried with 'cat test | lpr' but the result is the same. I've installed gsview, so tried 'gsprint test2.ps', but here initially nothing happened ( not even the printer cursor moving as before ). After 1 minute the computer slow and I see that spoolv.exe process, burns 98% of cpu usage. The output at prompt is : $ gsprint test2.ps Copyright (C) 2003-2006, Ghostgum Software Pty Ltd. All Rights Reserved. 2006-02-24 gsprint 1.9 GPL Ghostscript 8.63 (2008-08-01) Copyright (C) 2008 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Page 1, PRINT -- 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: term bash shell with multiple tabs ? (without X)
This was very nice. Charles Stepp -Original Message- From: Andrew Schulman [mailto:[EMAIL PROTECTED] Sent: Sunday, July 27, 2008 1:20 AM To: cygwin@cygwin.com Subject: Re: term bash shell with multiple tabs ? (without X) True, you don't get graphical tabs, and you have to type a key sequence to get a list of tabs (control-a w), Actually, with a little setup in your .screenrc, that's not true. I have mine set up to always show the list of tabs on the bottom line, with the current tab highlighted. You have to give up one line for that, but it's well worth it IMO. Here's the .screenrc magic that does this for me: # caption bar at bottom: caption always '%-Lw%{.kG} %n%f %t %{-}%+Lw' Reading and writing this isn't too fun, but it is fully documented in the info file. Andrew. -- 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: Strange things with cygdrive
January 1, 1970 is a very holy date. Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Angelo Graziosi [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 6:06 PM To: cygwin@cygwin.com Subject: Strange things with cygdrive I have discovered that $ ls -lrt totale 28 dr-xr-xr-x 1 0root0 Jan 1 1970 cygdrive ^^ dr-xr-xr-x 1 Administrator Administrators 0 Dec 1 2006 proc -rwxr-x---+ 1 Administrator Users 57 Sep 27 2007 Cygwin.bat [...] That user (0), group (root) and date (01.01.1970) for cygdrive sound strange... or not? Cheers, Angelo. -- 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: Script utility for cygwin?
# ls -la | grep -i script # du -a | grep -i script # find / -type f -name '*script*' # which script Or just try it: # PC - ~ script # Script started, file is typescript Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 2008 11:40 AM To: cygwin@cygwin.com Subject: RE: Script utility for cygwin? On Fri, May 09, 2008 at 10:19:39AM -0400, Mark J. Reed wrote: On Fri, May 9, 2008 at 10:10 AM, [EMAIL PROTECTED] wrote: Hi Does the 'script' utility exist in cygwin? Yes. searched the components of the latest distribution but didn't see it. Well, it's right there in /usr/bin/script on my machine. don't know what package it came from, but it works. http://cygwin.com/cgi-bin2/package-grep.cgi?grep=%2Fscript.exe cgf Thanks for that. I had searched for 'script' (instead of 'script.exe'), and didn't notice what I needed in the lng list. But, now that I know what Cygwin package it's in, how do I turn that into knowing what to look for in Cygwin Setup? Sorry for the newbie questions, but I really did try to help myself, and the solution isn't yet obvious to me. Thanks tl -- 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: Installing Cygwin with a USB thumb drive
One recommendation I have is to NOT run if from a flash drive if there is a hard drive install...it can fiddle with stuff that will make the hard drive installed not be correct. Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Adam McCarthy [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 2008 7:38 PM To: cygwin@cygwin.com Subject: Installing Cygwin with a USB thumb drive I really enjoy Cygwin and would love to have a portable copy on a thumb drive. I use Cygwin all the time, and obviously I can't install it on every computer I go on, especially since many are not mine. I saw many instructions on the web for doing it, but I wanted to see if their were instructions that were recommended, I know that likely there will not be an official but I figured at least if it works. Is it fairly easy to install it on a thumb drive? I'm not worried if it's hard or command line, because I've install Gentoo Linux before and have much experience with command line, I just don't want it to screw up current Cygwins on my machines. Most PCs I use it on, will not have Cygwin, but perhaps I need to do something on a PC that already has Cygwin, I don't want it to screw up the local Cygwin. Thanks Again Adam McCarthy -- 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: HELP REQUIRED: Unexpected end of file.
I'm betting it is the Windoze vs. Unix line endings. CRLF vs LF. I've found that using Windoze version of vim makes it easy to see and fix line ending problems with files. Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Goku [mailto:[EMAIL PROTECTED] Sent: Saturday, April 19, 2008 2:48 PM To: cygwin@cygwin.com Subject: HELP REQUIRED: Unexpected end of file. Hello , I am facing severe problems while porting some of the audio applications, am using cygwin to compile my code, the makefile and the code are written for Linux, hence i am trying to port it to windows for TI DSP. This is the place where i am getting the error : /cygdrive/c/consumer/Local/Applications/Temp/make45083.sh line 2: syntax error : unexpected end of line. .PHONY:mkdir mkdir: @[ -d ${BINBUILD} ] || mkdir -p $(BINBUILD);\ [ -d ${OBJBUILD} ] || mkdir -p $(OBJBUILD);\ [ -d ${RESULTS} ] || mkdir -p $(RESULTS);\ for i in $(bmarks) $(bmextradirs); do\ [ -d ${OBJBUILD}/$$i ] || mkdir -p $(OBJBUILD)/$$i;\ done;\ for i in $(rsextradirs); do\ [ -d ${TOOLCHAIN}/$$i ] || mkdir -p $(TOOLCHAIN)/$$i;\ done This particular code works fine in linux. I had gone through the mailing list about the problems faced while using the Cygwin. I couldnt find proper solutions for my problem. I did use d2u and used almost all the solutions presented by various people, still the problem exists. Can someone help me out in this regard. -Ravi -- 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: Cygwin is saving my ass
Yeah...I use shell scripts to rename and rearrange music and podcasts on my MP3 Players. I just don't understand why the original namers can't get the Year before Month before Day concept. Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Morgan gangwere [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2008 1:05 PM To: cygwin@cygwin.com Subject: Re: Cygwin is saving my ass Without cygwin, i wouldnt have my directory sorting algorithm running on windows. DOS has no way of (easily) sorting files into c:\{YEAR}\{MONTH}\{MIMETYPE}\ (where Year Month and Mimetype are the year month and mimetype of the file in a list of oh say 3 files.) i _could_ impliment this in vb, but bash is faster. -- Morgan Gangwere Unknown Software -- 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: Using curses with -mno-cygwin
I'd bet a shiny new quarter that cygwin supports linking to the ncurses library. Both aalib (aafire) and mc (Midnight Commander) work just fine, which indicates that curses is a go. ncurses(3X) ncurses(3X) NAME ncurses - CRT screen handling and optimization package SYNOPSIS #include curses.h DESCRIPTION The ncurses library routines give the user a terminal-independent method of updating character screens with reasonable optimization. This implementation is ``new curses'' (ncurses) and is the approved replacement for 4.4BSD classic curses, which has been discontinued. This describes ncurses version 5.5 (patch 20061104). Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 8:58 AM To: cygwin@cygwin.com Subject: Re: Using curses with -mno-cygwin On Mon, Mar 24, 2008 at 10:41:41AM +0100, Public Mailing Lists wrote: I'd like to compile an old unix program that uses curses as a windows standalone application. Is it possible to do this with Cygwin? MinGW supports curses, and Cygwin supports MinGW. It looks like curses is gone once I pass -mno-cygwin to gcc. Is this intentional? To generalize your question, you're asking if the cygwin version of something is unavailable when you use an option called -mno-cygwin. I'd think that the option would be self-documenting in this case but, the answer is Yes, it's intentional. If MinGW supports curses then you probably should be using MinGW if you don't want to have your application rely on the Cygwin DLL. cgf -- 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] New package: aria2-0.13.1+1-1
Aria2 supports Oracle's Metalink? What does this mean, supports? Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Kostya Altukhov [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 7:07 AM To: cygwin@cygwin.com Subject: [ANNOUNCEMENT] New package: aria2-0.13.1+1-1 New package aria2-0.13.1+1-1 has been uploaded. Aria2 is a command line download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent and -- it also supports Metalink. For more information about this package, see the upstream documentation in /usr/share/doc/aria2-0.13.1+1. If you have questions or comments, please send them to the cygwin mailing list at: cygwin@cygwin.com . *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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: Easy question - Colors
Colors is a bit of a hobby. Some of these are hideous, but variety is the spice, and all that... Foreground Background rgb:5c/61/0a rgb:a0/9f/f2 rgb:eb/d3/91 rgb:0e/29/6f rgb:34/1b/c6 rgb:ca/df/3b rgb:ce/f5/c8 rgb:33/09/33 rgb:52/04/32 rgb:ad/f7/c7 rgb:00/00/00 rgb:23/b1/75 rgb:37/2e/82 rgb:c5/d5/76 rgb:cb/c1/57 rgb:31/39/ae rgb:d4/12/0e rgb:28/f3/f4 rgb:12/5a/39 rgb:e6/a9/c0 rgb:88/fa/b7 rgb:7e/0c/48 rgb:00/37/d4 rgb:fd/cb/2d rgb:60/b3/c9 rgb:a6/46/3c rgb:b4/c5/8a rgb:4c/3a/74 rgb:ae/cb/c4 rgb:57/34/40 rgb:ee/98/81 rgb:11/6c/7e rgb:e6/ed/d3 rgb:18/12/2a rgb:11/33/00 rgb:f4/42/2f rgb:7b/ed/a3 rgb:82/0b/57 rgb:8b/0f/6b rgb:6d/f8/8d rgb:6d/f9/ea rgb:96/08/0e rgb:ee/c8/69 rgb:16/3e/97 rgb:28/48/48 rgb:ee/ee/d1 rgb:35/21/b4 rgb:c9/df/4e rgb:da/b3/d3 rgb:37/69/48 rgb:2d/5c/73 rgb:cb/8c/67 rgb:d9/f6/3a rgb:22/07/be rgb:3f/3a/c9 rgb:c6/cb/37 rgb:e9/ca/98 rgb:27/55/99 rgb:65/e5/28 rgb:97/21/dc rgb:52/33/a9 rgb:ab/d0/53 rgb:12/65/67 rgb:ec/94/92 rgb:68/29/4d rgb:98/d8/b1 rgb:10/12/0d rgb:f6/ef/ef rgb:00/00/00 rgb:d0/1f/6a rgb:5c/08/f6 rgb:ab/f6/0e rgb:69/f4/4a rgb:98/0e/b1 rgb:2f/2d/1e rgb:cf/d9/e9 rgb:82/96/de rgb:7b/6f/20 rgb:e1/ab/fa rgb:19/4d/02 rgb:5c/f0/84 rgb:a7/09/75 rgb:77/fe/9c rgb:83/00/69 pink saddlebrown rgb:fb/d3/b0 rgb:00/2b/56 rgb:b9/c7/d0 rgb:44/3c/2b rgb:ed/ec/19 rgb:14/1b/e7 rgb:f8/d6/9f rgb:0b/23/5f rgb:a3/03/c8 rgb:62/fc/3b rgb:25/14/04 rgb:df/ee/ff rgb:73/f9/c0 rgb:91/0e/39 rgb:d3/fe/e7 rgb:28/00/13 rgb:ef/11/fa rgb:15/f5/04 rgb:42/cd/fb rgb:ba/2b/00 rgb:ca/ac/c7 rgb:30/5a/39 LightGoldenrod1 DarkSlateGray rgb:9f/c9/97 rgb:60/39/6e rgb:00/00/00 rgb:ea/54/0e rgb:f8/21/65 rgb:00/e6/a2 rgb:96/cf/58 rgb:6b/2c/a2 rgb:00/00/00 rgb:de/68/6d rgb:53/cc/9d rgb:ae/32/61 rgb:aa/cc/ee rgb:45/68/64 rgb:e3/f2/d1 rgb:6a/7c/c rgb:6b/d3/87 rgb:9b/33/76 rgb:c4/c0/b6 rgb:3c/40/47 rgb:99/fb/a8 rgb:69/00/51 rgb:5d/4a/72 rgb:a2/b1/8f rgb:89/35/1c rgb:70/d2/e3 rgb:56/26/ef rgb:12/db/a6 rgb:2e/25/24 rgb:ce/da/de rgb:48/5d/7e rgb:b3/9c/7c rgb:fa/d2/5c rgb:02/2c/a3 rgb:6b/3c/9c rgb:97/be/61 rgb:99/3c/9a rgb:67/ca/5e rgb:97/b2/d9 rgb:63/51/26 rgb:ff/ff/ff rgb:3d/78/89 rgb:ff/ff/ff rgb:07/74/57 rgb:98/ce/2d rgb:6c/2f/d1 rgb:ec/f7/f1 rgb:13/10/16 rgb:c1/cf/36 rgb:55/51/d4 gainsboro gray27 rgb:cb/8c/67 rgb:2d/5c/73 rgb:01/1c/7a rgb:ff/e5/89 rgb:2f/e7/fc rgb:d4/1e/08 rgb:dd/cb/d7 rgb:1b/38/28 rgb:85/b3/cc rgb:89/5d/45 rgb:ba/dc/fe rgb:86/9c/8b rgb:16/3e/97 rgb:ee/c8/69 rgb:ff/ee/dd rgb:72/73/23 yellow rgb:35/ab/71 rgb:00/22/44 rgb:9c/a2/3b rgb:dd/bc/4a rgb:26/3c/b3 rgb:96/08/0e rgb:6d/f9/ea rgb:ff/ff/ff rgb:78/78/51 rgb:a9/e4/7b rgb:54/17/85 rgb:d7/f5/99 rgb:22/12/69 rgb:ee/f5/3b rgb:0a/0a/cb rgb:80/31/ec rgb:82/cb/18 rgb:30/09/11 rgb:3d/99/63 rgb:8c/2e/9a rgb:76/cc/6c rgb:db/c8/6a rgb:1f/39/90 rgb:e2/eb/7c rgb:20/17/80 rgb:00/00/00 rgb:cb/85/2f rgb:ea/af/ea rgb:ac/75/6e rgb:11/00/08 rgb:ea/46/26 rgb:17/1a/71 rgb:ec/de/8d rgb:70/31/c8 rgb:8e/cd/32 rgb:6c/2c/a4 rgb:93/d9/5a rgb:bf/38/33 rgb:42/c7/cf rgb:ff/dd/aa rgb:6e/6d/58 rgb:61/f9/99 rgb:a0/00/60 rgb:8c/cc/91 rgb:6d/34/69 rgb:7c/10/22 rgb:7d/e8/e2 rgb:fa/b8/c8 rgb:08/4d/3e rgb:41/5a/69 rgb:b9/9f/9e rgb:a7/d5/43 rgb:55/29/c2 rgb:41/28/42 rgb:c1/d4/c3 rgb:ff/ff/ff rgb:8b/63/a1 rgb:08/04/00 rgb:05/fc/48 rgb:c8/c7/35 rgb:61/62/db rgb:01/2d/28 rgb:ff/da/d0 rgb:89/d6/ef rgb:bc/65/50 rgb:ea/f1/12 rgb:16/0f/f4 rgb:47/45/c4 rgb:b5/c0/37 rgb:ed/bd/d3 rgb:0c/44/2a rgb:8a/1a/6e rgb:76/e9/90 rgb:f1/e5/3a rgb:0a/1b/be rgb:03/37/23 rgb:f6/92/c7 rgb:64/01/98 rgb:9d/ff/64 rgb:26/02/31 rgb:d2/ff/d4 rgb:58/63/42 rgb:ac/9a/be rgb:d0/f0/e0 rgb:33/73/81 rgb:0f/0f/5a rgb:ac/75/6e rgb:45/35/03 rgb:b8/c9/f9 rgb:fb/a9/90 rgb:0a/5b/70 rgb:8f/4a/34 rgb:75/b7/ca rgb:e5/ea/d4 rgb:14/16/24 rgb:bb/d3/21 rgb:5a/35/f0 rgb:2c/22/f8 rgb:d0/e2/0f rgb:8f/12/49 rgb:6d/e7/b2 rgb:94/19/28 rgb:6b/e8/da rgb:3c/3d/3e rgb:bf/c4/bc rgb:50/0e/99 rgb:b7/eb/68 yellow darkslategray rgb:23/e5/f0 rgb:e2/1c/15 rgb:7d/cf/c8 rgb:c5/6d/75 rgb:fb/dd/58 rgb:07/26/aa rgb:54/25/c7 rgb:41/b0/3e rgb:95/66/66 rgb:a3/c5/be rgb:81/41/71 rgb:81/c3/88 rgb:7e/0c/48 rgb:88/fa/b7 rgb:39/37/5f rgb:ca/c1/a5 rgb:c5/6d/75 rgb:0d/15/14 DarkSlateGray LightGoldenrod1 rgb:d6/da/ed rgb:2b/22/14 rgb:cf/bf/3e rgb:44/4b/ce rgb:ee/ee/d1 rgb:28/48/48 rgb:7e/dd/dc rgb:7a/23/28 rgb:fc/be/3d rgb:22/4d/c1 rgb:ef/03/2a rgb:16/ff/d2 rgb:3c/06/0f rgb:c4/f4/f6 rgb:01/23/45 rgb:a9/aa/44 DodgerBlue4 MintCream rgb:a4/2a/51 rgb:55/da/aa rgb:65/f0/b9 rgb:98/10/4d rgb:92/45/2a rgb:5c/af/c2 mistyrose midnightblue rgb:54/3e/7a rgb:ae/bc/8d rgb:98/e3/a3 rgb:65/17/56 rgb:e3/21/56 rgb:00/db/a5 rgb:9a/be/c4 rgb:5f/3e/3b rgb:2c/2d/2e rgb:cd/d0/d0 rgb:5e/cb/98 rgb:a2/32/64 rgb:ac/c5/93 rgb:5a/36/67 rgb:00/00/00 rgb:a5/93/50 rgb:da/f1/88 rgb:27/0f/72 rgb:c7/b9/d1 rgb:3a/42/33 rgb:28/00/13 rgb:d3/fe/e7 rgb:de/d8/7f rgb:1b/2e/87 rgb:b3/ef/a4 rgb:51/10/5e rgb:24/e5/e0 rgb:da/14/26 rgb:73/56/91 rgb:8e/b0/6e rgb:ec/fc/2e rgb:10/09/cd rgb:ff/ff/ff rgb:b9/5f/59 rgb:ff/ff/ff rgb:57/66/b8 rgb:7d/01/9b rgb:7b/fa/66 rgb:ff/ff/ff rgb:40/63/8c rgb:db/da/62 rgb:21/1e/a5 rgb:ca/b0/e6
RE: Long filename support, soon?
I like doing c, ksh, perl, tcl/expect and (don't laugh) forth; are there any things left laying around I can fiddle with? Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Adam Thompson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 5:54 AM To: cygwin@cygwin.com Subject: Re: Long filename support, soon? On 06/03/2008, Larry Hall (Cygwin) [EMAIL PROTECTED] wrote: It is one of the many enhancements in the forthcoming 1.7 series. And it seems it is also an excruciatingly large task. There is no timetable for 1.7 as a result. But many hands make light work. If you and others you know have hands to lend, I know Corinna has a list of tasks that can use them. Is this list published anywhere? I'm not a developer (unless you're porting to Sinclair ZX BASIC), but perhaps there are some tasks that us sysadmin/support/doco people can help with? -- AdamT There's no onion in these onion rings. Only disappointment, despair and shattered dreams. -- 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: Serial port using USB adaptor
Yeah. RS232C can operate in many different ways, using the various wires differently. Opening a serial port is just the beginning of the work; then there is deciding what signals and handshake to use. Ohthe good ol' days. Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Samuel Thibault [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2008 5:05 AM To: cygwin@cygwin.com Subject: Re: Serial port using USB adaptor hce, le Sat 01 Mar 2008 20:20:21 +1100, a écrit : One more thing, if a serial port is not connected by a serial cable, it can still open a serila port without errors. That was very stange to everybody when a problem printed out Open Serial Port /dev/com1 success, but actually there was no cable connected to that port. Is it a bug in Cygwin? That's not a bug: a daemon can then open a port and detect whenever you plug something and switch it on. Samuel -- 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: prevent scroll (or something like that)
HISTFILE=/home/cstepp/.bash_history HISTFILESIZE=2000 HISTSIZE=2000 Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: electron [mailto:[EMAIL PROTECTED] Sent: Saturday, January 26, 2008 6:58 AM To: cygwin@cygwin.com Subject: prevent scroll (or something like that) hello everybody, i'm new to this forum and pretty much a noob when it comes to cygwin which may explain my question. I'm doing an assignment for school and I'm supposes to disassemble a piece of code with a disasembler. This works just fine but the output asembly code is to large to fit on the screen. So when i scroll all the way up I can't read the complete output. Is there anything I can do, like an additional command, so I actually can read this output because it holds some information I need. Thanks in advance, electron -- View this message in context: http://www.nabble.com/prevent-scroll-%28or-something-like-that%29-tp1510 7205p15107205.html Sent from the Cygwin list 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/
RE: internal error alloc with echo/cat and workaround
How about trying cpio_nbr=$($sprojdir/cpionbr). That cat is unnecessary. For that matter, the '' is unnecessary with the use of 'cat'. That error looks like a bug to be pursued, though. Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -Original Message- From: Irving Bunton [mailto:[EMAIL PROTECTED] Sent: Saturday, December 29, 2007 8:19 AM To: cygwin@cygwin.com Subject: internal error alloc with echo/cat and workaround I have a ksh shell script that does echo/cat to from a file which is on a mounted file system C:\home 58612648 56353660 2258988 97% /home The ksh script file on the mounted file system is /home/irvb/bin/massjupdate.ksh (attached) Like all ksh scripts it has !#/bin/ksh as the first line. I was executing the ksh script from another script /tmp/whyu (attached) In the ksh script that has the problem (massjupdate.ksh), I was using echo/cat to/from a file ($sprojdir/cpionbr) which is also on a mounted file system C:\var\opt\bea58612648 56353784 2258864 97% /var/opt/bea For example in the ksh shell script on the mounted volume (/home/irvb/bin/massjupdate.ksh) echo 1 $sprojdir/cpionbr and cpio_nbr=$(cat $sprojdir/cpionbr) I get this error internal error: alloc: freeing memory outside of block (corrupted?) This is diffucult to isolate as when I put the equivalent line in a ksh on a mounted file system, it has no problem. When I change the script to be sh vs ksh, the error goes away. Another way to avoid the error is to use cd to change to the directory for ksh which has the problem for example cd $sprojdir/cpionbr echo 1 cpionbr cpio_nbr=$(cat cpionbr) cd $spwd Or use sh as well to avoid the problem (i.e. #!/bin/sh instead of #!/bin/ksh I was also using one shell script to call the other one I used the 1.5.24-2 as well as the lastest version 1.5.25-7 and have the same 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: Re: Webdav cadaver: script possible?
I'm a unix sysadmin/oracle DBA. For me, Expect is the killer app of Cygwin, even over the X server. Get the O'Reilly Expect book by Don Libes. It is a treasure trove of Unix knowledge as well as Expcect/TCL. Check out the autoexpect script. You may have to find it somewhere to install it into the Cygwin distro, but it records your keystrokes and creates a primitive expect script to redo the steps. You can take the basic script and edit it to ensure it is efficient and robust. Expect scripting requires that you understand the interactive interaction you are trying to automate and it requires that you learn some of the magic of globs and regular expressions. There are some great debug flags that will show you exactly what the interpreter is thinking. Great stuff. -Original Message- From: Richard Ivarson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 4:48 PM To: cygwin@cygwin.com Subject: Re: Webdav cadaver: script possible? Thorsten Kampe schrieb: * Richard Ivarson (Mon, 10 Sep 2007 21:37:42 +0200) ... or maybe there is another client/programm to access Webdav from within Cygwin? ... or is there any way to feed scripted lines to a standard Cygwin command line programm? (Re-direction, somehow?) Expect? Thanks for that hint, Thorsten. I didn't know expect but it seems very powerful, useful -- and complex to master. :-) Meanwhile due to your hint I've remembered the simple redirection method in Windows (and similar in Unix), and tried: cadaver lines.txt with lines.txt holding these three lines: USERNAME PASSWORD ls It partly works: I see that it connects to the Webdav server and prints the directory, so it must have been logged in correctly. However somehow it never comes to line three but just returns... I've got no idea why and also I've got no plan how to make except doing the little task. -ric -- 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: scripting and cygwin
Why would you bother with the Windoze machine if you have OS X/FreeBSD available? Cygwin provides my X, Expect, bash, etc. on my corporate mandated Windoze laptop. Otherwise... Charles Stepp Oracle DBA -- 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: script problem
rxvt -menu terminal.menu --backspacekey ' -fg $FG -bg $BG -geometry $G -ls -sb -sl 5000 -sr -cr red -si +sk -sw -ipf -pr green -fn 8x13bold Charles Stepp Oracle DBA Dumb it down... -- Pernice Brothers -Original Message- From: Asher Vilensky [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 11:28 AM To: Marco Atzeri; cygwin@cygwin.com Subject: Re: script problem Ok, good point. You convinced me. Gone is X. One annoying thing I've noticed is that the backspace button doesn't work in vi. It produces '^?' character. Can somebody remind me how to set this right in .vimrc or whatever? I've been away from Unix/Linux for a while. Any other rxvt tips would be appreciated. Thanks. --- Marco Atzeri [EMAIL PROTECTED] wrote: --- Asher Vilensky [EMAIL PROTECTED] ha scritto: Thanks for the kind advice. I indeed installed rxvt. I've noticed that rxvt does not save me much memory over XWin. Approx 10MB (rxvt) over 20MB (XWin). No biggie. Are there any other advantages of using rxvt over XWin? If so, what are they? 20Mb less. Because Xterm+Xwin (Xterm need Xwin) 30MB RXVT alone less than 10MB VIRT RES SHR S %CPU %MEMTIME+ COMMAND 8728 13m 128 R 0.0 2.6 0:01.87 XWin 4316 6100 60 S 0.0 1.2 0:00.11 xterm 2800 4452 84 S 0.0 0.9 0:00.12 rxvt 2792 3808 92 S 0.0 0.7 0:00.13 bash 2732 3448 44 S 0.0 0.7 0:00.04 bash 2556 3292 60 S 0.3 0.6 0:03.17 rxvt ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.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/ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 -- 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 get more than one X-window?
I have the following in my .sh_profile. This ensures that my DISPLAY gets set correctly in each shell: # -- # Added - Tue May 30 12:26:30 EDT 2006 # -- DISPLAY=$($HOME/SetDisplay) export DISPLAY And the SetDisplay script: $ cat SetDisplay #!/usr/bin/ksh IP=$(nslookup $(hostname) | sed -n '/Name:/,$s/Address:[ ]*//p') //g')print $IP | sed 's/ DISPLAY=${IP}:0 print $DISPLAY ^^ Here's a script I use to create a new xterm. It calls stuff that sets rotating colors out of a list of colors I use, but that stuff can be ripped out and this can be simplified. #!/usr/bin/ksh export DISPLAY=127.0.0.1:0.0 cd $HOME trap exit;exit 1 if [[ ! -f $HOME/Colors.txt ]] then cp /usr/local/bin/Colors.txt $HOME fi if [[ ! -f $HOME/geometries.rot ]] then cp /usr/local/bin/geometries.rot $HOME fi COLORS=$(./rotate.pl ./Colors.txt | awk '{print $1 $2}' | sed 's/ /~/') G=$(./rotate.pl ./geometries.rot) FG=${COLORS%%~*} BG=${COLORS##*~} export DISPLAY print -- -fg $FG -bg $BG xterm -fg $FG -bg $BG -geometry $G -ls -sb -sl 2000 -cr red -fn 8x13bold -Original Message- From: Vanguard [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 4:15 PM To: cygwin@cygwin.com Subject: How to get more than one X-window? I did the install of Cygwin a couple days ago but have been fumbling around trying to get more than one X-windows session opened on the screen. I will open Cygwin (which loads a bash shell) and then run xwin -query hostname to get a login session on that host (on the particular host to which I am currently connecting, I get logged in under KDE). I then want another X-window opened to another host. I work on several hosts at a time. If it were just the one host, I can open xterms inside the one X-windows session shown on my Windows host. When, in a bash shell, I try to run another xwin -query otherhostname, a bunch of text pops up which basically tells me that the X server is already running. Well, yeah, it got started by the first xwin command. Doesn't the Cygwin X-server handle more than one X session at a time? I'm actually used to using Reflection X or Exceed X to connect to Unix hosts from my Windows box but I don't have those available at some locations and they said to use Cygwin (because it was free). -- 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: sed: 4.1.5 breaks libtool generation
It is? -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED] Sent: Saturday, June 17, 2006 12:30 AM To: cygwin@cygwin.com Subject: Re: sed: 4.1.5 breaks libtool generation On Sat, Jun 17, 2006 at 02:24:00PM +1000, Mark Hessling wrote: Given the fact that cygwin runs on a machine where the native linend is CRLF, having a major component not recognise CRLF as a linend when handling text files is, AFAIAC, a major problem. ...unless you stop to consider that sed is supposed to work correctly on binary files. cgf -- 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.19: tar runs normally from command line but terminates early when run from crontab
From a Unix viewpoint, running from cron does not set the environment the same as with an interactive session. I have sometimes had to set TERM=vt100 (or whatever) and other environment variables to get things to run from cron. One trick it to capture your environment to a file, edit out what you know won't matter and add the rest to the top of your script: env env.out vi env.out Add . env.out To script. -Original Message- From: G.W. Haywood [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 5:53 AM To: cygwin@cygwin.com Subject: 1.5.19: tar runs normally from command line but terminates early when run from crontab Hi there, This is my first installation of cygwin, and I'm not very familiar with W2000 (server or otherwise). Using ssh from a remote machine I log onto a Windows 2000 server which is running a freshly installed cygwin. The recommended settings were used in the installation and in addition to the defaults, a few extra packages were installed. (Although I couldn't find ntpd anywhere...:) On my local (Linux) box I get a bash prompt from the W2k server: [EMAIL PROTECTED] ~ $ On the W2k server there are two physical devices in a simple RAID array arranged as one logical drive. I want to back up some files from one of the Windows directories on this logical drive into a file e.g. in the Administrator account's cygwin /home directory located on the same logical device. Later, when I have the file, I will copy it to a remote machine. To create the file I will use tar. A simple tar command works when it is run from the Administrator's command line (either in the foreground or the background) but fails when run from the Administrator account's crontab. When run from the command line the job works whether gzip compression is used or not, and when run from the crontab it fails also whether compression is used or not, so I don't think it's anything to do with pipes and DOS/Unix line endings. It looks like I'm missing something here. What is it? The version of cygwin (installed on 16 June 2006) is: CYGWIN_NT-5.0 1.5.19(0.150/4/2) 2006-01-20 13:28 Process list: [EMAIL PROTECTED] ~ $ ps -aelW PIDPPIDPGID WINPID TTY UIDSTIME COMMAND 8 0 0 8?0 20:24:48 *** unknown *** 184 0 0184?0 Mar 18 \SystemRoot\System32\smss.exe 204 0 0204?0 Mar 18 \??\C:\WINNT\system32\winlogon.exe 256 0 0256?0 Mar 18 C:\WINNT\system32\services.exe 268 0 0268?0 Mar 18 C:\WINNT\system32\lsass.exe 464 0 0464?0 Mar 18 C:\WINNT\system32\svchost.exe 520 0 0520?0 Mar 18 C:\WINNT\system32\spoolsv.exe 724 0 0724?0 Mar 18 C:\WINNT\System32\msdtc.exe 844 0 0844?0 Mar 18 C:\WINNT\system32\Dfssvc.exe 864 0 0864?0 Mar 18 C:\WINNT\System32\svchost.exe 892 0 0892?0 Mar 18 C:\Data\Program Files\Autodesk Network License Manager\lmgrd.exe 916 0 0916?0 Mar 18 C:\WINNT\System32\ismserv.exe 928 0 0928?0 Mar 18 C:\WINNT\System32\llssrv.exe 976 0 0976?0 Mar 18 C:\Program Files\Network Associates\Common Framework\FrameworkService.exe 1060 0 0 1060?0 Mar 18 C:\Program Files\Network Associates\VirusScan\Mcshield.exe 1088 0 0 1088?0 Mar 18 C:\Program Files\Network Associates\VirusScan\VsTskMgr.exe 1096 0 0 1096?0 Mar 18 C:\Data\Program Files\Autodesk Network License Manager\adskflex.exe 1184 0 0 1184?0 Mar 18 C:\WINNT\system32\ntfrs.exe 1252 0 0 1252?0 Mar 18 C:\PVSW\BIN\NTBTRV.EXE 1312 0 0 1312?0 Mar 18 C:\WINNT\system32\regsvc.exe 1316 0 0 1316?0 Mar 18 C:\PVSW\BIN\NTDBSMGR.EXE 1328 0 0 1328?0 Mar 18 C:\WINNT\System32\locator.exe 1340 0 0 1340?0 Mar 18 C:\WINNT\system32\MSTask.exe 1412 0 0 1412?0 Mar 18 C:\WINNT\System32\WBEM\WinMgmt.exe 1424 0 0 1424?0 Mar 18 C:\WINNT\system32\svchost.exe 1436 0 0 1436?0 Mar 18 C:\WINNT\System32\dns.exe 1448 0 0 1448?0 Mar 18
RE: sed: 4.1.5 breaks libtool generation
By Gawk! You're right! Sed broke one on my little scripts, but there is an easy work around. It isn't really sed so much as white space confusion. -Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 11:47 AM To: Stepp, Charles Cc: cygwin@cygwin.com Subject: RE: sed: 4.1.5 breaks libtool generation http://cygwin.com/acronyms/#TOFU reformatted. On Wed, 21 Jun 2006, Stepp, Charles wrote: -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED] Sent: Saturday, June 17, 2006 12:30 AM To: [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: Re: sed: 4.1.5 breaks libtool generation On Sat, Jun 17, 2006 at 02:24:00PM +1000, Mark Hessling wrote: Given the fact that cygwin runs on a machine where the native linend is CRLF, having a major component not recognise CRLF as a linend when handling text files is, AFAIAC, a major problem. ...unless you stop to consider that sed is supposed to work correctly on binary files. cgf It is? Yes. 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://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygdrive flags / hiding cygdrive prefix directory (the old behavior)
Symlink? ln -s /cygdrive/c /c Charles Stepp Unix SA CYGWIN ROCKS!! -Original Message- From: kralius [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 11:26 PM To: cygwin@cygwin.com Subject: Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior) Thanks for the reply. The only mention of cygdrive flags in the registry that i could find was at least 3 years old and got a reply to the effect of don't mess with the registry! (*sigh*) Which apparently didn't serve as a clue? The hint was written before the always-visible cygdrive ..feature.. came into play, so i figured it was worth asking again. Aside from that, though, notions like hands off and not possible strike me as a little bit out-of-place for cygwin, i have to admit. I imagine many of its users (like myself) are interested in how it works, and in playing around with it (even at the risk of breaking things). I'd certainly welcome getting pointed in the right direction to something like the bit definitions for cygdrive flags in the source... But, assuming cygdrive flags has nothing to do with the visibility issue, (it looks like it happened to /proc and others at the same time,) does anyone know/remember where the change was made to make these special directories visible? Thanks! - kral On 6/13/06, Christopher Faylor [EMAIL PROTECTED] wrote: On Tue, Jun 13, 2006 at 08:22:20PM -0500, kralius wrote: I'm trying to find a way to make the cygdrive prefix directory (default: /cygdrive) appear hidden within cygwin (for example, to ls or find). This was actually the old behavior in cygwin, but at some point it changed to become visible. The cygwin installer now also creates a real directory on the windows file system called cygdrive, but even if I delete this or change the cygdrive prefix to something non-default (like /mnt), it will still show up (with ls, find, etc.). For a while, i suspected this had something to do with the cygdrive flags parameter (in the registry under ...\cygwin\mounts v2 ), but i'm having no success playing with that now, and the cygwin faq and mailing list archives are all very quiet about the subject. The only mention of cygdrive flags in the registry that i could find was at least 3 years old and got a reply to the effect of don't mess with the registry! (*sigh*) Which apparently didn't serve as a clue? Does anyone have an idea how to get the old behavior back of hiding the cydrive prefix directory? And, whether or not it is related, does anyone know how the cygdrive flags parameter is defined, what options can be set with it, etc. ? The cygdrive prefix is controlled with the mount program. Anything that it is possible to do with it is mentioned there. It is not possible to hide it currently. As you have discovered, the cygdrive parameter isn't there for you to play with via regedit. It is really intended to be manipulated with the mount command. cgf -- 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/
Problems with cygwin, expect and ssh
I have found some interesting behavior regarding the cygwin expect/ssh problem. I used the little expect script That Corinna created. It seemed to not see the prompt for the password from the spawned ssh, so it just timed out. But, when I redirect the stderr to /dev/null, it behaves correctly. Perhaps ssh is spitting some spurious bytes to stderr that are causing the expect pattern to not match: GOOD: [EMAIL PROTECTED] ~ $ ./sshtest 2/dev/null spawn ssh -t 10.65.16.41 Before expect for assword: [EMAIL PROTECTED]'s password: Found assword: Before send of password After send of password Last login: Thu Jan 01 1970 00:00:00 from [==] Use of this system is explicitly limited to employees... - BAD: [EMAIL PROTECTED] ~ $ ./sshtest spawn ssh -t hostname Before expect for assword: [EMAIL PROTECTED]'s password: Spawning failed [EMAIL PROTECTED] ~ --- SCRIPT: cat sshtest #!/usr/bin/expect -f set timeout 10 spawn ssh -t hostname puts Before expect for assword: expect { *assword: { puts Found assword: sleep 2 } default { send_user Spawning failed\n exit } } puts Before send of password send xxx\r puts After send of password expect { -re .*\\$.* { } default { send_user Sending password failed\n exit } } send ls\n expect { -re .*\\$.* { } default { send_user Sending ls failed\n exit } } send exit\n expect { -re .*Connection to mycygwinbox closed.* { } default { send_user Sending exit failed\n 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/