cabextract-0.6 - a new package for review
Project http://www.kyz.uklinux.net/cabextract.php3 has been ported, please review. Jari @ cabextract sdesc: Program extracts Microsoft cabinet (.CAB) files ldesc: Program extracts Microsoft cabinet (.CAB) files skip: curr: 0.6-1 # prev: version # test: version category: Archive # requires: package[ package...] # external-source: package drwxr-xr-x root/None 0 2003-06-27 18:53:48 usr/ drwxr-xr-x root/None 0 2003-06-27 18:53:48 usr/doc/ drwxr-xr-x root/None 0 2003-06-27 18:53:48 usr/doc/cabextract-0.6/ -rw-r--r-- root/None 552 2003-06-27 18:53:48 usr/doc/cabextract-0.6/AUTHO\ RS -rw-r--r-- root/None 17992 2003-06-27 18:53:48 usr/doc/cabextract-0.6/COPYI\ NG -rw-r--r-- root/None 7831 2003-06-27 18:53:48 usr/doc/cabextract-0.6/INSTA\ LL -rw-r--r-- root/None 3510 2003-06-27 18:53:48 usr/doc/cabextract-0.6/NEWS -rw-r--r-- root/None 1136 2003-06-27 18:53:50 usr/doc/cabextract-0.6/READM\ E -rw-r--r-- root/None17 2003-06-27 18:53:50 usr/doc/cabextract-0.6/TODO -rw-r--r-- root/None 10733 2003-06-27 18:53:50 usr/doc/cabextract-0.6/Chang\ eLog drwxr-xr-x root/None 0 2003-06-27 18:53:50 usr/doc/Cygwin/ -rw-r--r-- root/None 1001 2003-06-27 18:53:50 usr/doc/Cygwin/cabextract-0.\ 6.README drwxr-xr-x root/None 0 2003-06-27 18:53:52 usr/bin/ -rwxr-xr-x root/None 47104 2003-06-27 18:57:50 usr/bin/cabextract.exe drwxr-xr-x root/None 0 2003-06-27 18:53:54 usr/man/ drwxr-xr-x root/None 0 2003-06-27 18:53:54 usr/man/man1/ -rw-r--r-- root/None 1662 2003-06-27 18:53:54 usr/man/man1/cabextract.1 -- http://tiny-tools.sourceforge.net/ Swatch @time http://www.ryanthiessen.com/swatch/resources.htm Convert @time http://www.mir.com.my/iTime/itime.htm
cabextract-0.6 - a new package for review (URL)
Here is the URL, that missed from post http://cygwin.com/ml/cygwin-apps/2003-06/msg00244.html http://tierra.dyndns.org:81/cygwin/cabextract/cabextract-0.6-1-src.tar.bz2 http://tierra.dyndns.org:81/cygwin/cabextract/cabextract-0.6-1.tar.bz2 -- http://tiny-tools.sourceforge.net/ Swatch @time http://www.ryanthiessen.com/swatch/resources.htm Convert @time http://www.mir.com.my/iTime/itime.htm
PHP 4.3 ?
Stipe, I've been building PHP 4.3 series regularly and using it with Cygwin, and am thinking it'd be real nice to have an updated version in the distro. :-) If you like, I could make up a patch against 4.3.2 and work on getting it realeased. Thoughts? Elfyn --
Splitting up lib{xslt,xml2} packages
Hi, I'm wanting to split up the lib{xslt,xml2} into seperate -doc, -devel, -python, etc, packages. I figure I should wait until the next release, but just wanted to hear is there's any thoughts pro or against this. This saves bandwidth for the user that only needs lib{xslt,xml2} (the runtime(s)) and means there is no change required to the setup.hint files on sources.redhat.com to this to happen. My inted layout is libxml2 the runtime library libxml2-doc manuals, docs, etc libxml2-devel headers and static libs libxml2-python python bindings libxml2-perlperl modules (XML::) libxslt ... libxslt-doc ... libxslt-devel ... libxslt-python ... Elfyn --
Re: Splitting up lib{xslt,xml2} packages
Elfyn McBratney wrote: Hi, I'm wanting to split up the lib{xslt,xml2} into seperate -doc, -devel, -python, etc, packages. I figure I should wait until the next release, but just wanted to hear is there's any thoughts pro or against this. This saves bandwidth for the user that only needs lib{xslt,xml2} (the runtime(s)) and means there is no change required to the setup.hint files on sources.redhat.com to this to happen. My inted layout is libxml2 the runtime library libxml2-doc manuals, docs, etc libxml2-devel headers and static libs libxml2-python python bindings libxml2-perlperl modules (XML::) libxslt ... libxslt-doc ... libxslt-devel ... libxslt-python ... That could be very useful from those of us still stuck on modems. When you do, you could move /usr/share/doc/* to /usr/doc/* to conform with most other cygwin packages. Max.
Re: Splitting up lib{xslt,xml2} packages
On Fri, 27 Jun 2003, Max Bowsher wrote: Elfyn McBratney wrote: Hi, I'm wanting to split up the lib{xslt,xml2} into seperate -doc, -devel, -python, etc, packages. I figure I should wait until the next release, but just wanted to hear is there's any thoughts pro or against this. This saves bandwidth for the user that only needs lib{xslt,xml2} (the runtime(s)) and means there is no change required to the setup.hint files on sources.redhat.com to this to happen. My inted layout is libxml2 the runtime library libxml2-doc manuals, docs, etc libxml2-devel headers and static libs libxml2-python python bindings libxml2-perlperl modules (XML::) libxslt ... libxslt-doc ... libxslt-devel ... libxslt-python ... That could be very useful from those of us still stuck on modems. Yeah, me being one of them. :-) When you do, you could move /usr/share/doc/* to /usr/doc/* to conform with most other cygwin packages. I've done that. I'm going to do this tomorrow if no one disagrees, as all it takes is uploading new packages. Elfyn --
Re: Splitting up lib{xslt,xml2} packages
Elfyn McBratney wrote: My inted layout is libxml2 the runtime library libxml2-doc manuals, docs, etc libxml2-devel headers and static libs libxml2-python python bindings libxml2-perlperl modules (XML::) libxslt ... libxslt-doc ... libxslt-devel ... libxslt-python ... I've done that. I'm going to do this tomorrow if no one disagrees, as all it takes is uploading new packages. I don't agree. (in mean, in principle, yes, but I don't think your proposed package naming/splitting is the right way to do it). #1. **Usually** it's nice if lib are the actual DLL- and linklib- containing package, and everything else goes into - packages. Like libncursesX vs. ncurses: libncursesX : DLLs libncurses-devel : static libs, headers, import libs ncurses : the rest ncurses-demo : extra apps The exception is if the upstream package itself is called libsomething -- for instance, libiconv or libtool. Now. I'm not familiar with xml/xslt -- are they distributed as libxslt upstream, or as xslt? #2. the two runtime library packages should be versioned. e.g. libxml2_N where N corresponds to the -N.dll version number (eg. cygbz2-1.dll is distributed in libbz2_1 package.) Now, libxslt contains three DLLs with different DLL numbers. There are two (three?) ways to handle this: a) bundle all of the DLLs into one DLL package, using the version number that is the maximum of all of the DLLs within. Eg. cygexslt-0.dll cygxslt-1.dll cygxsltbreakpoint-1.dll MAX(0,1,1) == 1, so these should be in 'libxslt1' package (that is, libxslt1-1.0.30-2.tar.bz2) You need an '_', though, when the real package name ends in a numeral (xml2, bzip2). This is what I did with ncurses, etc (sans underscore, of course) b) bundle and use the SUM of all of the version numbers. I don't know of any existing package that does this -- and it could lead to setup ordering errors if you ever move to (c), below. c) separate tarball for each DLL - this is what I did for libintl2 and libcharset1 (both from the same gettext source bundle). Even if you split up the DLL packages, all of the -devel stuff can stay in a single -devel package. #3) **Ordinarily**, -devel packages should NOT be versioned. So, your suggestion of 'libxslt-devel' (as opposed to 'libxslt1-devel') is a good one. There are exceptions to this rule; see libpng, libdb) -- So, I suggest libxml2_2 the runtime library libxml2-doc manuals, docs, etc libxml2-devel headers and static libs (incl. xml2-config) libxml2-python python bindings libxml2-perlperl modules (XML::) libxslt1all three runtime libraries libxslt-doc ... libxslt-devel ... libxslt-python ... Now, this requires updating requires: lines on some setup.hints in other packages -- but TRUST ME, it's better to face the pain now than later. --Chuck
Re: cabextract-0.6 - a new package for review
Jari Aalto+mail.linux wrote: Project http://www.kyz.uklinux.net/cabextract.php3 has been ported, please review. Jari @ cabextract sdesc: Program extracts Microsoft cabinet (.CAB) files ldesc: Program extracts Microsoft cabinet (.CAB) files skip: curr: 0.6-1 # prev: version # test: version category: Archive # requires: package[ package...] # external-source: package I vote yes -- but does cabextract REALLY have no external dependencies? (I haven't yet reviewed the packaging itself...) --Chuck
two monitors
Hi, I have added another monitor to my pc. When I start cygwin (stratx from bash) the Xwindow HAS only the dimension of first monitor. I want that the Xwindow occupies all 2 monitors (I need a big desk for working). What can I do? Is there a configuration-file that I can change? Thank _ MSN Foto: condividi, ritocca e stampa le tue foto online http://photos.msn.it
xinit: No such file or directory
Hello, I'm running into a problem which seems to show up often in the mailing list. I think I've tried all the suggestions there. When I use startx to start an X server, I get the message: + xinit /usr/X11R6/lib/X11/xinit/xinitrc -- giving up. xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): Server error. + [ x != x ] I only run into this problem as nonadministrator. I have /usr/X11R6/bin in my path, and my Xfree installation includes XFree86-xserv. Before I discovered that nonadministrators have this problem, I had my own ~/.xinitrc. It was identical to the system default except at the end, where it called my own script to start my own xclients. To debug the problem, I changed line 1 of .xinitrc to #!/bin/sh -x to echo all commands, and also explicit diagnostic echo commands at the top. Since none of this echoing gets printed out, I conclude that ~/.xinitrc is never reached. To further troubleshoot why this problem only afflicts nonadministrators, I got rid of ~/.xinitrc in both cases. The discrepancy persists, even though both are using the system .xinitrc. I checked that the relevant files were readable and executable by everyone: -rwxrwxrwx+ 1 Users 8704 Jan 21 2002 /usr/X11R6/bin/xinit -rwxrwxrwx+ 1 Users 667 Jun 27 04:08 /usr/X11R6/lib/X11/xinit/xinitrc The timestamp of xinitrc is recent because I made it run according to sh -x for troubleshooting. But as can be seen from the error message above, it seems that xinitrc doesn't even get a chance to run (i.e. same as ~/.xinitrc). I tried to put sh -x in the xinit program and find where things go wrong in there. But xinit is actually the binary executable xinit.exe. It took a while to figure out why I couldn't use less or cat on /usr/X11R6/bin/xinit. Because it is not a script, I can't stick in diagnostic statements. I tried startxwin.bat and xwin: $ startxwin.bat Access is denied. startxwin.bat - Starting on Windows NT/2000/XP $ xwin In both cases, nothing happens. Preferrably, I would like to get startx working. Thanks if anyone can advise on what to try next to find the problem. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6
run.exe won't start in shell (w2k)
Hi, I'm trying to launch XWin via run.exe in a shell script (eg /usr/X11R6/bin/run path_to_x-app) This works fine under xp pro, but not under w2k: it ends up with a windows message box saying: Error: could not start dos_path_where_i_am. If i try to strace it, it doesn't bug anymore... Is this by design ? Is there anything I can do to find out more informations ? Thanks, Gaël. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Jun 27 12:58:06 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: D:\perso\CygwinHome\GGUEGUEN\bin D:\cygwin\bin D:\cygwin\bin D:\cygwin\usr\X11R6\bin D:\cygwin\usr\local\bin c:\WINNT\system32 c:\WINNT c:\WINNT\system32\Wbem d:\bin d:\Oracle\ora92\bin D:\cygwin\bin\id.exe output (nontsec) UID: 30253(GGUEGUEN)GID: 10513(Utilisa. ine) groupes=545(Utilisateurs) 547(Utilisateurs avec pouvoir) 30221(RLE-Support-Technique) 30120(RLE-Utilisateurs) 10513(Utilisa. du domaine) D:\cygwin\bin\id.exe output (ntsec) UID: 30253(GGUEGUEN)GID: 10513(Utilisa. ine) groupes=545(Utilisateurs) 547(Utilisateurs avec pouvoir) 30221(RLE-Support-Technique) 30120(RLE-Utilisateurs) 10513(Utilisa. du domaine) SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN = `binmode tty ntsec' HOME = `D:\perso\CygwinHome\GGUEGUEN' MAKE_MODE = `unix' PWD = `/home/GGUEGUEN' USER = `GGUEGUEN' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\GGUEGUEN\Application Data' COLORFGBG = `default;default;0' COLORTERM = `rxvt-xpm' COMMONPROGRAMFILES = `C:\Program Files\Fichiers communs' COMPUTERNAME = `PRDRBNO' COMSPEC = `C:\WINNT\system32\cmd.exe' CVS_RSH = `/bin/ssh' CYG_HOME = `D:\perso\CygwinHome\GGUEGUEN' DISPLAY = `:0' HISTCONTROL = `ignoredups' HOMEDRIVE = `K:' HOMEPATH = `\' HOMESHARE = `\\PRDNESA\GGUEGUEN$' HOSTNAME = `prdrbno' INOCULAN = `C:\InocuLAN' LANG = `FR' LC_CTYPE = `ISO-8859-15' LESS = `-R' LESSCHARSET = `latin1' LOGONSERVER = `\\PRDNPAB' LS_COLORS = `no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:ex=01;33:*~=05;31:*.mtxt=05;31:*.ndx=05;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.c=01;36:*.h=01;36:*.pl=01;36:*.pm=01;36:*.cgi=01;36:*.java=01;36:*.html=01;36:*.tar=01;31:*.tgz=01;31:*.gz=01;31:*.tgz=01;31:*.bz2=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.jpeg=01;35:*.JPG=01;35:*.gif=01;35:*.GIF=01;35:*.bmp=01;35:*.BMP=01;35:*.xbm=01;35:*.ppm=01;35:*.xpm=01;35:*.tif=01;35:' MANPATH = `/usr/local/man:/usr/man:/usr/autotool/devel::/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PAGER = `/bin/less -R' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0102' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;[EMAIL PROTECTED] [${DISPLAY}] [${TTY}] \w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SHELL = `/bin/bash' SHLVL = `1' SQLPATH = `D:\oracle\sql' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\DOCUME~1\GGUEGUEN\LOCALS~1\Temp' TERM = `xterm' TEXMF = `{/usr/share/lilypond/1.6.8,/usr/share/texmf}' TMP = `c:\DOCUME~1\GGUEGUEN\LOCALS~1\Temp' USERDNSDOMAIN = `mgen.fij' USERDOMAIN = `MGEN' USERNAME = `GGUEGUEN' USERPROFILE = `C:\Documents and Settings\GGUEGUEN' WF_RESOURCES = `D:\oracle\ora92\WF\RES\WFus.RES' WINDIR = `C:\WINNT' WINDOWID = `168180048' XAUTHORITY = `/home/GGUEGUEN/.Xauthority' _ = `/usr/bin/cygcheck' ftp_proxy = `http://127.0.0.1:5865' http_proxy = `http://127.0.0.1:5865' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home (default) = 0x0002 native = `D:\perso\CygwinHome' HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/INST (default) = `D:\perso\cygwin\http%3a%2f%2fftp.inf.tu-dresden.de%2fsoftware%2fwindows%2fcygwin32' flags = 0x0102 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/info (default) = `D:\cygwin\usr\info' flags = 0x0102 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/man (default) = `D:\cygwin\usr\man' flags = 0x0102 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/sbin (default) = `D:\cygwin\usr\sbin' flags = 0x0042 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/bin (default) = `D:\cygwin\usr\X11R6\bin' flags = 0x0042 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib (default) =
problem
When i execute : ./startxwin.sh i have the following error : Agent pid 2152 XIO: fatal IO error 104 (Connection reset by peer) on X server 127.0.0.1:0.0 twm: unable to open display 127.0.0.1:0.0 after 0 requests (0 known processed) with 0 events remaining i don't understand.
multiwindow + XDMCP + X0.hosts == crash
This is with Cygwin 1.3.22, XFree86-base 4.2.0-1, and XFree86-xserv 4.2.0-42. The crash occurs both with Windows 2000 and XP. I downloaded Cygwin+XFree86 yesterday, and I am able to crash XWin.exe routinely. To reproduce on a fresh Cygwin+XFree86 installation, do: echo localhost /etc/X0.hosts XWin -multiwindow -query remotehost ...where remotehost is a machine running an XDMCP server. Things appear to work at first. But within a few seconds, XWin.exe crashes with an access violation. This does not happen if I remove /etc/X0.hosts. (Are you wondering why I want to do this? I want to run xwinclip, which must run locally, but I also want to use XDMCP to connect to remote machines. When I start XWin with the -query, -indirect, or -broadcast options, it does not permit localhost to connect.) Any suggestions would be appreciated. Also, I would be glad to provide any additional information needed to reproduce and/or debug this problem. Thank you! - Pat
1.3.22/W2000: XDMCP connect problem.
Hi All, As mentioned in the subject, I'm using the version Cygwin 1.3.22 under Windows 2000. I'm trying connect a Linux server running Conectiva Linux 9 (CL9) + KDM as display manager. At the moment win only a gray screen when to connect with it. To connect I'm using the follow line command: XWin -fullscreen -query 103.1.50.63 -from 103.1.50.132 There's attached too the /tmp/XWin.log. I'm already using this same Cygwin with another Linux servers (Conectiva Linux 8 and RH9). And, another gay here can use that server (CL9) from a Cygwin client. Have you idea about ?? Best regards, Nivaldo - Nivaldo Antonio Portela de Vasconcelos [EMAIL PROTECTED] / +55 (92) 614-6607 - (See attached file: XWin.log) XWin.log Description: Binary data
Re: two monitors
vlad, Run XWin with -multiplemonitors option. Kensuke Matsuzaki
src/winsup/w32api ChangeLog include/shlwapi.h
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-06-28 05:34:47 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: shlwapi.h Log message: 2003-06-28 Steven Edwards [EMAIL PROTECTED] * include/shlwapi.h (UrlGetLocationA, UrlGetLocationW, PathFindSuffixArrayA, PathFindSuffixArrayW, PathFindExtensionA, PathFindExtensionW, StrStrW StrStrA): Change unicode-macro'd LP[C]TSTR return values to explicit type. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.398r2=1.399 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/shlwapi.h.diff?cvsroot=srcr1=1.2r2=1.3
Re: Network shares under ssh: some can, some can't
[EMAIL PROTECTED] wrote: I noticed some discussion on the list a while back, where people reported that if they logged in remotely to their Windows PC via slogin, they didn't have access to their network shares. I'd never worried too much about this, since I always just manually mapped the drives. Today I also modified our local /etc/profile.d/cisra.sh to automatically do this for you, since drives you normally map do show up (as Unavailable) in a net use. For me, it worked well. For someone else, it doesn't. Me: : [EMAIL PROTECTED] .../luke; slogin doyle [EMAIL PROTECTED]'s password: Last login: Fri Jun 27 10:10:13 2003 from nevin.research.canon.com.au ... Other person: linn ssh riada Warning: Remote host denied X11 forwarding. Last login: Fri Jun 27 09:35:30 2003 from linn.research.canon.com.au Here you see the difference: password/passwordless. This issue has been covered many *many* times, in the mailing list, and in the user's guide. Max. -- 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: Download from internet = 1Mb?!
There are ways of downloading an installation set that involve temporarily blinding Windows to your installed Cygwin. OK, here goes. You've got Cygwin up and running and maybe even up-to-date. You want to (1) blind Windows to its existence; (2) download a complete installation set; (3) recover your existing installation. (1) From Cygwin: mount -m /bin/remount.txt (This puts an instruction list to achieve (3) into a text file called remount.txt located in c:\Cygwin\bin\. It's a convenient location for picking up later.) Then issue the command umount -A. Exit Cygwin. Now, from Windows Explorer (or however you prefer to do it) rename the Cygwin folder to SomeOtherName. (You need to rename your Cygwin directory otherwise setup will still find c:\Cygwin\setup\etc\installed.db and a few other things. You don't want this!) That completes the blinding. (2) Now run http://cygwin.com/setup.exe and ask for Download from Internet. Download to some well-named directory like c:\Cyg0\ or similar. The default will give you a Base installation set. Change All Default to All Install to download a Full installation set. When the download is over, then I _think_ that as well as the two filled directories c:\SomeOtherName\ and, now, c:\Cyg0\ you will also have a new directory c:\cygwin\ . (I've just tried it, and I did have it, though it was almost empty.) You don't want this, so simply remove it. That completes the Download. (3) Now you want to recover your previous Cygwin installation. Rename SomeOtherName back to Cygwin. Then run c:\Cygwin\bin\bash to obtain a bash window (probably with the prompt bash-2.05b$. You might get a warning: could not find /tmp msg, but this does not matter.) From here, pwd # to confirm your current location /cygdrive/c/Cygwin/bin/ PATH=. # so that the mount command can be found bash remount.txt # to process the remount script Then exit. Then you can start Cygwin just as you used to. Fergus PS. I _think_ this is as simple as you can get. If anybody notices a redundant step or unnecessary complication, please say. -- 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: Mail to cygwin generating subscription requests
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary R. Van Sickle Sent: Friday, June 27, 2003 5:01 AM To: [EMAIL PROTECTED] Subject: RE: Mail to cygwin generating subscription requests Same here. -- Gary R. Van Sickle Brewer. Patriot. Ditto... In case it matters how many there is getting this *garbage*. /Hannu E K Nevalainen, 59~14'N, 17~12'E ~ = degree -- --END OF MESSAGE-- -- 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: Network shares under ssh: some can, some can't
On 27 Jun, Max Bowsher wrote: Me: : [EMAIL PROTECTED] .../luke; slogin doyle [EMAIL PROTECTED]'s password: Last login: Fri Jun 27 10:10:13 2003 from nevin.research.canon.com.au ... Other person: linn ssh riada Warning: Remote host denied X11 forwarding. Last login: Fri Jun 27 09:35:30 2003 from linn.research.canon.com.au Here you see the difference: password/passwordless. This issue has been covered many *many* times, in the mailing list, and in the user's guide. Ah! Thanks, Max. luke -- 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: Download from internet = 1Mb?!
On 27 Jun, [EMAIL PROTECTED] wrote: PS. I _think_ this is as simple as you can get. If anybody notices a redundant step or unnecessary complication, please say. That's all quite clear, Fergus, many thanks. I'll also check out the site that Max mentioned, in case I can learn still more from that: By far the best way to download and maintain an installation set is Michael Chase's clean_setup. http://www.home.ix.netcom.com/~mchase/zip/ luke -- 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: Download from internet = 1Mb?!
Ouch, how silly can one get, and in public too. If all you want is a straight download for subsequent CD burning or whatever, then the umount/mount step is unnecessary. Just (1) rename Cygwin directory SomethingElse; (2) download; (3) remove newly created Cygwin directory; (4) rename SomethingElse directory back to Cygwin. Sorry. Fergus -- 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/
ssh
I have created a RSA pair of keys.it's ok. But i want to automate passphrase. In tclsh : I have the following command line : ssh-agent $SHELL -- can't read SHELL : no such variable ssh-add -- Could not open connection to your authentication agent Child process exited abnormally Can you help me please ? -- 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/
tmp-folder
Hello, when i start cygwin, the program say's i have to create a folder /tmp (C:\tmp). Now my question: Can i change the path from this folder to an other path (for example c:\program files\cygwin\tmp)? What i have to do, to change the path? Thank you for your help. Best regards Volker Stetter extern [s.i.g.] ITC/BT 0731/181-7233 [EMAIL PROTECTED] -- 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: unable to remap C:\cygwin\bin\cygiconv-2.dll to same addressas parent(0x7C0000) != 0x7D0000
Elfyn McBratney wrote: On Thu, 26 Jun 2003, Urs Rau wrote: C:\cygwin\bin\perl.exe: *** unable to remap C:\cygwin\bin\cygiconv-2.dll to same address as parent(0x7C) != 0x7D 3982 [main] perl 276 sync_with_child: child 2308(0x6F4) died before initializ ation with status code 0x1 You need to rebase all of your Cygwin DLL's using the 'rebase' package. If it's not already installed, install it. Then make sure no Cygwin processes are still running (e.g., apps started via cygrunsrv) and then opun up a bash shell in cmd.exe/command.com (not rxvt) and run $ rebaseall -v You should be alright after that. Elfyn Worked like a charm. Thanks a million. Urs Rau -- 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/
_stderr, _stdout, _errno etc.
Hi folks I am trying to compile a file using gcc oin CYGWIN I get undefined refrences to _sdterr, _stdout, dirname, _errno , fputc_unlocked etc. Can you tell me what library are they in Vikram -- 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/
Thanks to all, and Corinna in particular, for cygwin and (open)ssh success
Anyone besides me notice that the once reliable steady stream of I can't get ssh(d) to work on my thrice-reinstalled XP-over-WinME-on-VMWare system messages has pretty much dried up? It's all gone quiet -- this stuff all really works now. I was reminded of this by doing a clean install on a new Windows ME machine, adding openssh, doing ssh-user-config, and connecting via ssh to my server, all in under 10 minutes with 0 (zero, none) fuss, confusion or hiccups. You guys rock! Thanks, ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] -- 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 cron
Thanks for the info, unfortunately it did not solve all my problems. I am still getting the following error at the command prompt when I try and start cron: Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. And the following two enteries are made in the Event log: Event Type: Error Event Source: cron Event Category: None Event ID: 0 Date: 6/27/2003 Time: 11:28:41 AM User: NT AUTHORITY\SYSTEM Computer: LONEWOLF Description: The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: cron : PID 3064 : starting service `cron' failed: execv: 255, error 255. Event Type: Information Event Source: cron Event Category: None Event ID: 0 Date: 6/27/2003 Time: 11:28:41 AM User: NT AUTHORITY\SYSTEM Computer: LONEWOLF Description: The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: cron : PID 3064 : `cron' service stopped. Thanks in advance. -Original Message- From: Harig, Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 11:12 PM To: Jarrod Hermer; [EMAIL PROTECTED] Subject: RE: Problems with cron About your crontab file: * * * * root echo Hello World! 1. 'root' is not a valid value for the fifth field, which should be the day of the week. Possible values: '*', 0-7 (Sunday is 0 or 7), or use names of days. More details can be read in the manual page for crontab. Enter 'man 5 crontab' at the bash prompt. 2. Redirect the output of 'echo' to a file. Output that is not sent to a file is sent by email to the user. This is likely not configured properly yet on your machine and so the Hello World! string is simply lost. Try: * * * * * echo hello world /tmp/hello.txt or * * * * * /usr/bin/date /tmp/date.txt or, to get a list of the environment that your crontab knows about: * * * * * /usr/bin/env /tmp/env.txt -Original Message- From: Jarrod Hermer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 11:37 AM To: [EMAIL PROTECTED] Subject: Problems with cron Hi, I have scoured the net, run cron_diagnose.sh (no reported errors) and followed every suggestion I could find. Yet I cannot get cron to work. At the prompt I get the following error: Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. The Event Logs say that crontab as well as cron could not be found. Attached are the requested files. Please bear in mind that I am a TOTAL Linux/Unix novice, so apologies if it is an obvious problem. Any help would be appreciated. Regards, Jarrod -- 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/
install
Hi, I have just installed cywin, but some commands are no found, like ls,... my installation is in c:\cygwin. all it's ok. it works with tclsh but i need bash. Can you help me ? -- 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: unable to autologin to 2003
On Thu, Jun 26, 2003 at 03:20:30PM -0700, Bruce Dobrin wrote: I hope this isn't a stupid question. I configure cygwin with a script which installs all passwd, hosts.equiv, inetd etc. I have hundreds of machines configured this way on which all is well. I just installed 2003 server, cygwin, and ran the autoconfig script. I am unable to rsh to this machine. I get: [EMAIL PROTECTED]:/home/dobrin rlogin srdalien2 Switching to user dobrin failed! rlogin: connection closed. or [EMAIL PROTECTED]:/home/dobrin rlogin srdalien2 -l dobrin Switching to user dobrin failed! rlogin: connection closed. cygwin settingis : [EMAIL PROTECTED]:/home/dobrin echo $CYGWIN binmode tty ntsec Is there a known 2003 server issue, I searched the mailing lists pretty carefully, but sisn't turn up anything. telnet and non interactive rsh (rather than rlogin), work fine. Bruce Dobrin [EMAIL PROTECTED] There is evidence that password-less logins (as well as exim) fail on Windows 2003 because the SYSTEM account is lacking the CreateToken privilege and can't setuid(). I don't know if/how that privilege can be added, can you investigate? A workaround (reported to work) is to create a new privileged account and to run the daemons under that account (-u switch in cygrunsrv). The new account (you could call it Root) should 1) be in the Administrators group 2) have the Login As A Service privilege 3) Create Token 4) Assign Token 5) Increase Quota (if it exists on your system. Does it?). In addition by being Administrators it should also have the Backup and Restore Files privileges. If not, assign them explicitly. Rebuild /etc/passwd after creating such an account. Pierre -- 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: Mail to cygwin generating subscription requests
On Thu, 26 Jun 2003, Gary R. Van Sickle wrote: Same here. -Original Message- From: cygwin-owner at cygwin dot com On Behalf Of luke dot kendall at cisra dot canon dot com dot au Sent: Thursday, June 26, 2003 9:59 PM To: cygwin at cygwin dot com Subject: Mail to cygwin generating subscription requests I've sent a few emails to the list today. It seems like each time I do, I get an email from either Yahoo! Groups or kde-transl-request saying that someone has attempted to subscribe me to those lists. I don't believe I want to, and I was wondering if there is some mis-configuration of a mailing list gateway or something going on? I'll include examples below. luke From: Yahoo!Groups [EMAIL PROTECTED] Subject: Please confirm your request to join kde-nl Date: 27 Jun 2003 02:41:03 - To: luke dot kendall at cisra dot canon dot com dot au Reply-To: [EMAIL PROTECTED] Hello luke dot kendall at cisra dot canon dot com dot au, We have received your request to join the kde-nl group hosted by Yahoo! Groups, a free, easy-to-use community service. This request will expire in 21 days. TO BECOME A MEMBER OF THE GROUP: 1) Go to the Yahoo! Groups site by clicking on this link: http://groups.yahoo.com/[snip] (If clicking doesn't work, Cut and Paste the line above into your Web browser's address bar.) -OR- 2) REPLY to this email by clicking Reply and then Send in your email program If you did not request, or do not want, a membership in the kde-nl group, please accept our apologies and ignore this message. Regards, Yahoo! Groups Customer Care Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ [snip] FWIW, I'm not getting these, but in theory, all it takes is one of those administrative addresses being subscribed to cygwin at cygwin dot com... Perhaps the subscriber list should be combed for those (don't know how easy or hard it is to do this, though). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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/
Help on Scripts
This is first time I am using this mailing list, so please direct me to right list if I am putting it on wrong place. I am IT professional working in a telecom sector. I have installed Cygwin on Windows Xp. I have file in a folder with names like PPD.20030116.0298, PPD.20030116.0299 , PPD.20030117.0298 etc. Each file contains calls against a Mobile Number. I can grep those record from each file. The file name depicts the date. I am I am asked to grep call details of Mobile number 5100025 for 16 Jan 2003. I need to find files for such dates then need to open each file and have to grep for 5100025. I need to write scripts which solve the purpose. Can anybody help me? Regards, MAB -- 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: CRLF to LF Issue
Hmm, OK. I've tried this again booting off a Knoppix Linux CD and the diff / patch over the CRLF files on the FDD worked fine, applying the patch and preserving the CRLF. This does seem to be something weird with the way Cygwin is dealing with the files. Thanks, Rich -Original Message- From: Richard Bland [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 17:17 To: [EMAIL PROTECTED] Subject: RE: CRLF to LF Issue All, Sorry, no joy - same outcome Here's my mount : [EMAIL PROTECTED] / $ mount C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) a: on /mnt/foo type system (textmode) c: on /cygdrive/c type user (binmode,noumount) I've used the a: drive as the location for patching, just to keep it separate from other mounts. I recreated the patch file using diff on the textmode mount point, just to be sure. My patch file and the target source code files were all under /mnt/foo (a:). I used 'mount -t a:/ /mnt/foo' for the mount. Thanks Rich -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 16:19 To: Richard Bland Cc: [EMAIL PROTECTED] Subject: Re: CRLF to LF Issue On Thu, 26 Jun 2003, Richard Bland wrote: Hi All, I'm trying to use the 'patch' utility to modify some source code files created in MS-Windows Notepad. The source code is designed to ONLY be used in MS-Windows, so I'm not interested in porting between Unix/MS-Windows. The source code files are line terminated with a CR and LF, in the normal MS-DOS fashion. If I use 'patch' to apply a patch file to this source code, the CRLF pair become a single LF for every line in the file. The patch file may only apply to one or two lines and was generated using 'diff -Nur' on this platform. Obviously, I want to retain my CRLF pair instead of it being converted to a single LF. I've checked the FAQ and some of the mailing list archives, but cannot find anything part from references to 'Text and Binary modes' in the user guide. I've tried setting the CYGWIN environment variable to binmode and nobinmode and I've tried the commands within the Cygwin shell as well as a regular MS-DOS prompt. The commands are being run on the local NTFS partition. Version Numbers --- Microsoft Windows XP [Version 5.1.2600] uname -a : CYGWIN_NT-5.1 net251 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin Patch : 2.5.8 TIA Rich Rich, The binmode setting in the CYGWIN environment variable only affects writes to pipes. For disk writes, Cygwin consults the mount table. Check your mounts (using the mount command), and make sure the directory that contains the input/output file of patch is mounted in text mode. If it isn't, use the mount command again to re-mount it. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton Note: ESPO currently uses Microsoft Office 2000/XP. Please make sure that files you send can be read in this format. This message is intended only for the named addressee(s) and may contain confidential and/or privileged information. If you are not the named addressee you should not disseminate, copy, disclose, modify or distribute this e-mail unless authorised to do so by the sender. If you have received this message in error then please notify [EMAIL PROTECTED] and delete the message and any attachments accompanying it immediately. You are also advised that the views and opinions expressed in this e-mail message and any attachments are the author's own, and may not reflect the views and opinions of ESPO. -- 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/ Note: ESPO currently uses Microsoft Office 2000/XP. Please make sure that files you send can be read in this format. This message is intended only for the named addressee(s) and may contain confidential and/or privileged information. If you are not the named addressee you should not disseminate, copy, disclose, modify or distribute this e-mail unless authorised to do so by the sender. If you have received this message in error then please notify [EMAIL PROTECTED] and delete the message and any attachments accompanying it immediately. You are also advised that the views and opinions expressed in this e-mail message and any attachments are the
Mounting cd images
Hi folks, I've been experimenting with using the cdrtools utilities under Cygwin -- thinking of turning them into a proper package for Cygwin setup little a while down the line. So far mkisofs and cdrecord work happily, but it'd be nice to be able to check the ISO cd image has built correctly without mangling the paths too badly. On Linux you can mount it read-only, as described in http://www.tldp.org/HOWTO/CD-Writing-HOWTO-3.html but obviously the Cygwin mount.exe is more of an analogy to the Linux version and doesn't allow this. Does anyone know of an alternative way to mount/navigate/read the contents of a cd image under Cygwin, or that could be ported to Cygwin? I guess the appropriate bits of the Linux mount code could be borrowed, but I don't have the requisite amount of nuts-and-bolts filesystem programming skills to do it. Not just yet anyway. Also, a tangential question (bit off-topic maybe) -- does anyone know of a program that can mount a tar file as a filesystem? Cheers, 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/
mkpasswd for HUGE domains?
Hello, I've had to add a user to /etc/passwd to access my computer by ssh via cygwin on w2k. The main problem was, that a) our modified version of windows (CERN/NICE) doenst allow the creation of new users to the local computer, as such I had to add the domain user b) our domain has over 1 users c) mkpasswd -d doesnt have a way of especifiying a particular user, only the whole list d) getting the whole list takes over 50 minutes (and still counting) Could the tool be rewriten as to have either - a way of especify a particular user from a domain that you want to add - a faster way of getting all the users of such a HUGE domain Cheers: Igor -- Igor Román Mariño -- 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: Mounting cd images
I use Daemon tools for that purpose : http://www.daemon-tools.com/ (Sorry that I got that answered personally - it should have gone only here...) Med venlig hilsen / Regards Franz Wolfhagen -- 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: mkpasswd for HUGE domains?
On Fri, 27 Jun 2003, Igor Román Mariño wrote: Hello, I've had to add a user to /etc/passwd to access my computer by ssh via cygwin on w2k. The main problem was, that a) our modified version of windows (CERN/NICE) doenst allow the creation of new users to the local computer, as such I had to add the domain user b) our domain has over 1 users c) mkpasswd -d doesnt have a way of especifiying a particular user, only the whole list d) getting the whole list takes over 50 minutes (and still counting) Could the tool be rewriten as to have either - a way of especify a particular user from a domain that you want to add - a faster way of getting all the users of such a HUGE domain Cheers: Igor Umm, did you try the -u option? Igor $ mkpasswd --help Usage: mkpasswd [OPTION]... [domain] This program prints a /etc/passwd file to stdout Options: -l,--local print local user accounts -c,--currentprint current account, if a domain account -d,--domain print domain accounts (from current domain if no domain specified) [snip] -u,--username username only return information for the specified user [snip] -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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: Download from internet = 1Mb?! (potential FAQ entry)
On Fri, Jun 27, 2003 at 08:05:13AM +0100, [EMAIL PROTECTED] wrote: There are ways of downloading an installation set that involve temporarily blinding Windows to your installed Cygwin. OK, here goes. You've got Cygwin up and running and maybe even up-to-date. You want to (1) blind Windows to its existence; (2) download a complete installation set; (3) recover your existing installation. (1) From Cygwin: mount -m /bin/remount.txt (This puts an instruction list to achieve (3) into a text file called remount.txt located in c:\Cygwin\bin\. It's a convenient location for picking up later.) Then issue the command umount -A. Exit Cygwin. Now, from Windows Explorer (or however you prefer to do it) rename the Cygwin folder to SomeOtherName. (You need to rename your Cygwin directory otherwise setup will still find c:\Cygwin\setup\etc\installed.db and a few other things. You don't want this!) That completes the blinding. (2) Now run http://cygwin.com/setup.exe and ask for Download from Internet. Download to some well-named directory like c:\Cyg0\ or similar. The default will give you a Base installation set. Change All Default to All Install to download a Full installation set. When the download is over, then I _think_ that as well as the two filled directories c:\SomeOtherName\ and, now, c:\Cyg0\ you will also have a new directory c:\cygwin\ . (I've just tried it, and I did have it, though it was almost empty.) You don't want this, so simply remove it. That completes the Download. (3) Now you want to recover your previous Cygwin installation. Rename SomeOtherName back to Cygwin. Then run c:\Cygwin\bin\bash to obtain a bash window (probably with the prompt bash-2.05b$. You might get a warning: could not find /tmp msg, but this does not matter.) From here, pwd # to confirm your current location /cygdrive/c/Cygwin/bin/ PATH=. # so that the mount command can be found bash remount.txt # to process the remount script Then exit. Then you can start Cygwin just as you used to. Fergus PS. I _think_ this is as simple as you can get. If anybody notices a redundant step or unnecessary complication, please say. FWIW, the above is exactlhy how I would do this. So, that's either very scary or somewhat reassuring, I suppose. Thanks, Fergus. Perhaps we should add this to the FAQ? 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/
Output suppressed with ssh or telnet
Hy Guy, when I'm in telnet or ssh and run Dos programs like Word Star, Norton Commander or a Cobol run-time for dos, I do not receive any Output, but the programs are running !! If i try in local the programs works well. I have read the Email in Mail List, I would like to know if a solution exists. I send you the Cygcheck Output... Thank you Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Jun 27 14:38:43 2003 Windows 98 SE Ver 4.10 Build Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin x:\ACU.521\ACUGT\BIN x:\ACU.521\DOS\BIN x:\ACU.410\ACUGT\BIN c:\WINDOWS c:\WINDOWS\COMMAND c:\TOOLS c:\TOOLS\NC c:\WS6 c:\BATS x:\BATS x:\ACU.242\BIN c:\POSTIE c:\PCPLUS C:\cygwin\usr\X11R6\bin C:\cygwin\bin\id.exe output (nontsec) UID: 35972(mark) GID: 544(all) 544(all) C:\cygwin\bin\id.exe output (ntsec) UID: 35972(mark) GID: 544(all) 544(all) SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS HOME = `C:\cygwin\home\mark' MAKE_MODE = `unix' PWD = `/cygdrive/c' USER = `mark' BLASTER = `A220 I5 D1 T4 P330' CMDLINE = `bash --login -i' COMSPEC = `C:\COMMAND.COM' COPYPATH = `.\;Z:\IS\ACUC' CVS_RSH = `/bin/ssh' HOMEDRIVE = `C:' HOMEPATH = `\cygwin\home\mark' HOSTNAME = `mark' MANPATH = `:/usr/ssl/man' OLDPWD = `/home/mark' PROMPT = `$T$H$H$H$H$H$H $p$g' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SHLVL = `1' TEMP = `c:\WINDOWS\TEMP' TERM = `cygwin' TMP = `c:\WINDOWS\TEMP' WINBOOTDIR = `C:\WINDOWS' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions (default) = (unsupported type) HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\Software\Cygnus Solutions HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin (default) = 0x0800 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd FAT32 13016Mb 97% CPUN d: fd N/AN/A e: cd N/AN/A s: net NTFS 19587Mb 60% CP CS UN PA FC v: net N/AN/A w: net N/AN/A x: net NTFS4532Mb 55% CP CSPApublic1 y: net NTFS 77294Mb 31% CP CSPApublic2 z: net NTFS8562Mb 15% CP CSPApublic . /cygdrive userbinmode,cygdrive C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: c:\WINDOWS\COMMAND\find.exe Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: c:\TOOLS\NC\ld.exe Warning: C:\cygwin\bin\ld.exe hides c:\TOOLS\NC\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: c:\TOOLS\tar.exe Warning: C:\cygwin\bin\tar.exe hides c:\TOOLS\tar.exe 551k 2003/04/02 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0 cygcurl-2.dll v0.0 ts=2003/4/2 23:09 136k 2002/10/17 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0 cygexpat-0.dll v0.0 ts=2002/10/17 17:21 12k 2003/02/17 C:\cygwin\bin\cygioperm-0.dll - os=4.0 img=1.0 sys=4.0 cygioperm-0.dll v0.0 ts=2003/2/17 20:58 47k 2003/03/09 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
Re: Download from internet = 1Mb?!
On Fri, 27 Jun 2003 [EMAIL PROTECTED] wrote: There are ways of downloading an installation set that involve temporarily blinding Windows to your installed Cygwin. OK, here goes. You've got Cygwin up and running and maybe even up-to-date. You want to (1) blind Windows to its existence; (2) download a complete installation set; (3) recover your existing installation. [snip] (2) Now run http://cygwin.com/setup.exe and ask for Download from Internet. Download to some well-named directory like c:\Cyg0\ or similar. The default will give you a Base installation set. Change All Default to All Install to download a Full installation set. When the download is over, then I _think_ that as well as the two filled directories c:\SomeOtherName\ and, now, c:\Cyg0\ you will also have a new directory c:\cygwin\ . (I've just tried it, and I did have it, though it was almost empty.) You don't want this, so simply remove it. [snip] Umm, there shouldn't be a c:\cygwin if you've specified a different local root. It looks like either setup.exe or some packages have a hard-wired dependence on c:\cygwin, and that should be fixed. Could you please post the list of files you have in c:\cygwin after this dummy install? Just a cd c:/cygwin tar cvf /dev/null . should suffice. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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: Reading a Solaris tape created by ufsdump
The only tape drive I have that's capable of reading this tape is an internal drive on a W2K box with Cygwin loaded. I tried doing a remote ufsrestore from a Solaris server but got: blade-100: ufsrestore tf backup:/dev/st0 connect to address 128.57.32.9: Connection refused I probably need some Cygwin service to run to service the request, but which one? -Original Message- From: Elfyn McBratney [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 6:32 PM To: Meier, Daniel W. Cc: '[EMAIL PROTECTED]' Subject: Re: Reading a Solaris tape created by ufsdump On Thu, 26 Jun 2003, Meier, Daniel W. wrote: Any hints on how to get the files off of a SDLT tape created by Solaris ufsdump? I can access the tape handily: $ mt -f /dev/st0 status 3 tape capacity: 34571200 KB remaining: 34571200 KB current block:0 write protected : yes datcompression : off min block size :4 max block size : 16777212 def block size : 8192 cur block size :0 Features: - [...] and I did the mt -f /dev/st0 setblk 0 but what command do I use to pull the data onto disk? I beleive this can be done with GNU tar (tar -xf /dev/st0?). Take a look at main/info tar and `tar --help'. I might be wrong. Elfyn -- -- 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/
Man does not work
Hi, I just installed cygwin on my windows XP Pro machine at home and my Win2K machine at work. Most things work but: 1. man does not work (man: command not found). 2. How do I change the home directory? What else do I need to do when I change the home directory? I would appreciate help on these things as I was not able to find documentation on the same. Thanks, Shubhankar ___ Click below to experience Sooraj Barjatya's latest offering 'Main Prem Ki Diwani Hoon' starring Hrithik Roshan, Abhishek Bachchan Kareena Kapoor http://www.mpkdh.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: Reading a Solaris tape created by ufsdump
Meier, Daniel W. wrote: The only tape drive I have that's capable of reading this tape is an internal drive on a W2K box with Cygwin loaded. I tried doing a remote ufsrestore from a Solaris server but got: blade-100: ufsrestore tf backup:/dev/st0 connect to address 128.57.32.9: Connection refused I probably need some Cygwin service to run to service the request, but which one? inetd is the service you need. Remember to read /usr/doc/Cygwin/inetutils-1.3.2.README HTH Don Sharp -- 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: Man does not work
On Fri, 27 Jun 2003, shubhankar sanyal wrote: Hi, I just installed cygwin on my windows XP Pro machine at home and my Win2K machine at work. Most things work but: 1. man does not work (man: command not found). 2. How do I change the home directory? What else do I need to do when I change the home directory? I would appreciate help on these things as I was not able to find documentation on the same. http://cygwin.com/ http://cygwin.com/faq.html http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html In particular, the fourth paragraph under the heading What's New and How Do I Get it?. If you still don't see what your looking for, then search the mailing list archives (http://cygwin.com/ml/cygwin/). Elfyn -- -- 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: mkpasswd for HUGE domains?
errrmm is OOOops good enough? :S (I read the help, only that i should had read it properly and not diagonaly) Thanks anyway - Original Message - From: Igor Pechtchanski [EMAIL PROTECTED] To: Igor Román Mariño [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, June 27, 2003 3:38 PM Subject: Re: mkpasswd for HUGE domains? On Fri, 27 Jun 2003, Igor Román Mariño wrote: Hello, I've had to add a user to /etc/passwd to access my computer by ssh via cygwin on w2k. The main problem was, that a) our modified version of windows (CERN/NICE) doenst allow the creation of new users to the local computer, as such I had to add the domain user b) our domain has over 1 users c) mkpasswd -d doesnt have a way of especifiying a particular user, only the whole list d) getting the whole list takes over 50 minutes (and still counting) Could the tool be rewriten as to have either - a way of especify a particular user from a domain that you want to add - a faster way of getting all the users of such a HUGE domain Cheers: Igor Umm, did you try the -u option? Igor $ mkpasswd --help Usage: mkpasswd [OPTION]... [domain] This program prints a /etc/passwd file to stdout Options: -l,--local print local user accounts -c,--currentprint current account, if a domain account -d,--domain print domain accounts (from current domain if no domain specified) [snip] -u,--username username only return information for the specified user [snip] -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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 presentation ???
Appreciate the positive recognition of my humerous effort - for a laugh was the only agenda I was pursuing. For all those who might otherwise question my motives, political commentary is often couched in humor. The fact that some find it funny and others offensive means that there is a thread of truth weaving through it. The truth is the truth - whether that truth is self-evident, enlightening, or offensive is left completely up to the interpretation of the individual. Cygwin has some shortcomings. DUH. Of course - it's evolving. The complaint weaved into the humor is that cygwin is not for dummies - and that the dummies find this annoying. I'm kind of a dummy myself, so I can relate to the dummy community's complaints in this regard. Yet, I know that dummies are not the target audience for cygwin but in fact are more recent interlopers - if there is such a thing. That's the curse of success - the more powerful cygwin becomes, the more DUMMIES it's gonna attract. So the complaints about it's user friendliness are only gonna get more frequent and more vocal as time goes on. So for those who get a little bent when someone complains about the lack of wizards and plug and play, the fact is, such rabble wouldn't even be singing if cygwin wasn't first and foremost AN OUTRAGEOUS SUCCESS. Ah well, there's always the bad that comes with the good ... Brian Kelly Gary R. Van Sickle [EMAIL PROTECTED]@cygwin.com on 06/26/2003 10:39:47 PM Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: (bcc: Brian Kelly/WTC1/Empire) Subject:RE: cygwin presentation ??? List Rule #1 Cygwin has no problems - only issues. Rule #2 If you have an issue you can issue it to the list - but only if it is a problem. Wait wait wait - your numbering is off: First rule of Cygwin: You do not talk about Cygwin. Second rule of Cygwin: You DO NOT talk about Cygwin. And one of these IS the new Official Cygwin Slogan: U don't win with Cygwin Perhaps with a subhead: I'm posixtive about that! Or: Cygwin - use it and SHUT UP. Priceless dude! -- Gary R. Van Sickle Brewer. Patriot. -- 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/ WellChoice, Inc. made the following annotations on 06/27/2003 12:44:58 PM -- Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement -- 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: Determining the location of a Cygwin installation
[EMAIL PROTECTED] wrote: We have a .bat script to run setup and the local post-install script for lots of extra tailoring. Much of this can also be found at my personal web page: http://members.optushome.com.au/lukekendall/xwin-network.html Looked at your script. Like many people you assume that the end user will a) read your documentation and b) go through a few manual steps of unpacking and executing the resulting script. I was looking for something a little more automated as I have learned over the years that given any distribution of even computer professionals, about 70% of them will not read the directions nor perform any manual step until and unless it becomes a problem (at which point you're called over to do they thing for them!). -- 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: Download from internet = 1Mb?! (potential FAQ entry)
CGF wrote FWIW, the above is exactly how I would do this. I'll never be so happy again. This makes me think that the first suggested route umount - rename - download - rename - remount is probably better (safer, whatever) than the second suggested route, just rename - download - rename. (And it's what you would do if you wanted to *install*, not just download, a 2nd Cygwin architecture on 1 machine, maybe to compare Base with Full, or something.) If you think it ought to become a FAQ, do I have to do anything, or does somebody else pick it up here? Igor wrote It looks like either setup.exe or some packages have a hard-wired dependence on c:\cygwin, and that should be fixed. The ghost c:\cygwin\ that was created during this blinded download contained exactly one file, being c:\cygwin\etc\setup\timestamp. It was a Default = Base download. I haven't tried it with http://cygwin.com/setup-snapshots/setup-2.364.exe which might behave better. Fergus -- 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: Download from internet = 1Mb?! (potential FAQ entry)
On Fri, Jun 27, 2003 at 03:43:02PM +0100, [EMAIL PROTECTED] wrote: CGF wrote FWIW, the above is exactly how I would do this. I'll never be so happy again. This makes me think that the first suggested route umount - rename - download - rename - remount is probably better (safer, whatever) than the second suggested route, just rename - download - rename. (And it's what you would do if you wanted to *install*, not just download, a 2nd Cygwin architecture on 1 machine, maybe to compare Base with Full, or something.) If you think it ought to become a FAQ, do I have to do anything, or does somebody else pick it up here? I added the FAQ to the subject so that David would see it. I don't know his status, though. He may not be around right now. 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/
pine access problem
I have installed pine with cgywin but when sending mail I receive the following error message pine cannot access user/sbin/sendmail my working directory is home/administrator How is it possible to correct this error. thankyou Alex -- 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: pine access problem
On Fri, 27 Jun 2003, alex hardy wrote: I have installed pine with cgywin but when sending mail I receive the following error message pine cannot access user/sbin/sendmail my working directory is home/administrator How is it possible to correct this error. You mean `/usr/sbin/sendmail', right? If so, then install the ssmtp package (which has a symlink to `/usr/sbin/sendmail') or install the exim package (which is sendmail compatible). Once you have installed one of the above packages, take a look at their respective documentation in /usr/doc/Cygwin . Elfyn -- -- 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: pine access problem
On Fri, 27 Jun 2003, alex hardy wrote: Thanks for your post Elfyn. I already have the ssmtp package installed and the ssmtp application is in `/usr/sbin/sendmail' (in the sbin folder). Alex Then, if it's still not working, you haven't configured ssmtp to send e-mail (which requires an outside smtp server). Once you have configured either ssmtp or exim, you will be able to send e-mail using pine Elfyn -- -- 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/
CygWin adding CRs, hurting CVS client/server communications?
Hey folx...currently using OpenSSH under CygWin on an XP box to communicate with a CVS server on a Linux box. Recently upgraded my CygWin installation (1.3.22(0.78/3/2), including OpenSSH to v3.6.1p1 (the latest available under CygWin), and now CVS client/server communications over SSH (CVS_RSH=ssh) don't work. I've tracked the problem deep enough to suspect that SOMETHING in CygWin converts LF to CR+LF line terminators across SSH. This pretty much hoses CVS client/server communications, as the CVS server interprets all incoming lines as byte strings including a CR at the end (it treats LF as the actual terminator)...especially bad for pathname interpretation, but lots of other things may be affected as well. I've tried altering the CVS server code to eat the extra CRs, but too many other things break (including file data exchange I'd bet...can't tell which CRs are valid data and which are inserted by the system) for that to be effective. Found a reference in the mailing list archives to a similar problem someone was having last October, but the solution was to install a snapshot from that time period which seems to be no longer available. I'm wondering if the fix for this issue never found its way into more recent versions of the CygWin system components? I've upgraded CVS on both client and server, but based on my testing, I don't think CVS itself is adding the CRs...please flame if I'm wrong on that one. g Not sure what else to do right now but do without version control for a bit...any better ideas? - Toscani -- 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: pine access problem
Does this sound correct to configure ssmtp-config and is this how it should appear? root=postmaster mailhub=relay.plus.net hostname=Beta finally a)ISP does not provide my mail service it only supplies access to the Internet. and b) my outgoing mail server requires authtication ie, user name and password. How does the above affect the ssmpt-config file. thankyou Alex Elfyn McBratney [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, 27 Jun 2003, alex hardy wrote: Thanks for your post Elfyn. I already have the ssmtp package installed and the ssmtp application is in `/usr/sbin/sendmail' (in the sbin folder). Alex Then, if it's still not working, you haven't configured ssmtp to send e-mail (which requires an outside smtp server). Once you have configured either ssmtp or exim, you will be able to send e-mail using pine Elfyn -- -- 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: Output suppressed with ssh or telnet
Marco Marcantelli wrote: when I'm in telnet or ssh and run Dos programs like Word Star, Norton Commander or a Cobol run-time for dos, I do not receive any Output, but the programs are running !! If i try in local the programs works well. Those old DOS apps don't use stdin/stdout but rather they write directly to the screen buffer (or use BIOS calls.) That was how things were done in the old days, because no one really had any notion of remote access in DOS. You'll have to use a specialized program such as PC Anywhere that can intercept the BIOS interrupts and/or virtualize the screen buffer and cope with those old programs. Brian -- 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: pine access problem
I may have a look at exim tomorrow, but I do not see why ssmpt should not work, thanks for your suggestions. Alex Elfyn McBratney [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, 27 Jun 2003, alex hardy wrote: Does this sound correct to configure ssmtp-config and is this how it should appear? root=postmaster mailhub=relay.plus.net hostname=Beta finally a)ISP does not provide my mail service it only supplies access to the Internet. and b) my outgoing mail server requires authtication ie, user name and password. How does the above affect the ssmpt-config file. I don't know, I use a local realy (without ssmtp) :-) I'd go with setting up exim. See /usr/doc/exim-VERSION.README (where VERSIOn is the version of exim). Elfyn -- -- 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: _stderr, _stdout, _errno etc.
As it seems right now - This really isn't cygwin-stuff... this is plain gcc - and even beyond that, i.e. plain C programming. In other words; This list isn't the right place to ask about it... :-) (check www.cygwin.com about the scope for these lists!) This of course assumes that you've managed to install _ALL PARTS_ of gcc and it's associated tools. To verify this: read about reporting problems on the webpage (link above). Still - to give you a hint on how to obtain information: $ man printf This shows a 'printf' that has nothing to do with C-programming... as you can see if you read some of the text... The hint is the word shell in the initial NOTE paragraph. $ man 3 printf This one OTOH has a lot of association with C programming... In the first few lines you'll find #include stdio.h - this indicates that you _MUST_ include the stdio header to be able to use printf in C... My guess is that you have not done so, just because stderr and stdout at least are defined in stdio.h ( I guess fputc too). errno OTOH has it's own header, dirname might be in stdlib I guess - maybe or maybe not. Try to find out yourself. All these header files has a home, one of these homes is this: $ ls /usr/include/ press tab-key Display all 207 possibilities? (y or n) n 207 files/dirs... =-) the stdio-header is there too: $ ls /usr/include/std* /usr/include/stdio.h /usr/include/stdlib.h To look for stderr in the stdio-header: $ grep -i stderr /usr/include/stdio.h #define stderr (_REENT-_stderr) #define stderr (_impure_ptr-_stderr) #define _stderr_r(x)((x)-_stderr) Other helpful commands: help - information on bash internal commands info - search/read the info pages, in generel more structured than 'man'-pages man -K keyword - Look for keyword in all installed man pages (takes a while, but may proove helpful) man # keyword - look in section number # for keyword e.g. man 3 printf as above. HTH to get you started. Apart from this I reccomend you to find any good book on ANSI C, e.g. The C Programing Language by B W Kernighan and D M Ritchie (ISBN 0-13-110362-8 for the second edition - which is an OLD one). Note here that I'm not telling you that this is a good learning book, nor that it is the best reference around - but it sure is one that many has used to get into the innards of the C language. /Hannu E K Nevalainen, 59~14'N, 17~12'E ~ = degree -- --END OF MESSAGE-- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vikram Mehta Sent: Thursday, June 26, 2003 6:37 AM To: [EMAIL PROTECTED] Subject: _stderr, _stdout, _errno etc. Hi folks I am trying to compile a file using gcc oin CYGWIN I get undefined refrences to _sdterr, _stdout, dirname, _errno , fputc_unlocked etc. Can you tell me what library are they in Vikram -- 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: Download from internet = 1Mb?! (potential FAQ entry)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christopher Faylor Fergus PS. I _think_ this is as simple as you can get. If anybody notices a redundant step or unnecessary complication, please say. FWIW, the above is exactlhy how I would do this. So, that's either very scary or somewhat reassuring, I suppose. FWIW (once again) I currently have a dual boot Win98SE/Win2000 machine using the very same installation of cygwin for *BOTH* OS'es... - using the mount command similarily to what was mentioned earlier in this thread. (Hmm... does that scary thing apply here? ;-) Things SEEM to be functioning properly. Might be that problems arise if I use setup.exe from W2K one time, then from W98SE next time... Any thoughts? ( i.e. registry entries? timestamp in [cf]:\cygwin\etc\timestamp ? C: = W98SE, F: = W2K ) NOTE HERE: My actual use of cygwin so far has been very limited. Which might be why I have not found any problems with the above yet. (I'm building up steam to get going ;) /Hannu E K Nevalainen, 59~14'N, 17~12'E ~ = degree -- --END OF MESSAGE-- -- 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: ProFTPd usable on WinXP-HE, questionable to me
On Mon, Jun 23, 2003 at 02:13:31PM -0400, Jason Tishler wrote: s/Tischler/Tishler/ Sorry ;-) LocalSystem user. I don't know what OS Jason is talking about as there is no such user LocalSystem on WinXP (yet XP is decended from NT). The built-in Windows LocalSystem account maps to the Cygwin SYSTEM user. So in the /etc/proftpd.conf file I have lines like: User SYSTEM Group Administrators The above should be correct. but when I try to run proftpd, it refuses to start because it won't change user context. The user I run Cygwin as apparently doesn't have sufficient perms to change user context like this. Did you install proftpd as a NT service via cygrunsrv as indicated in the README? Yes. In brief, I did. Followed the instructions to the letter. Then when it didn't work, i wanted to run in in non-detached (undaemon-ized) mode so that I could try to understand where it was failing. Nothing i tried got it to work: neither doing it the usual way (starting it as an NT service via cygrunsrv) nor trying to watch it run stand-alone. http://www.tishler.net/jason/software/proftpd/proftpd-1.2.9rc1.README I don't know how to add such rights to the account: the user IS (*IS* *IS* *IS*) an Administrator on the local system (was created that way). See my next post. Can anyone loan me a clue about what can be done to fix this, i.e. give my user account sufficient perms to run proftpd as SYSTEM? You should be able to run proftpd under SYSTEM on XP Home. However, I do not have access to XP Home so I cannot verify this hypothesis. BTW, can you run other daemons such as inetd or sshd on this box? Not sure, I haven't tried yet. Thanks Soren A. -- See my OpenPGP key at https://savannah.gnu.org/people/viewgpg.php?user_id=6050 GnuPG public key fingerprint | Only when efforts to reform society have as BD26 A5D8 D781 C96B 9936 | their point of departure the reformation of 310F 0573 A3D9 4E24 4EA6 | the inner life -- human revolution -- will they lead us with certainty to a world of lasting peace and true human security. -- Daisaku Ikeda -- 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: _stderr, _stdout, _errno etc.
Hi folks I am trying to compile a file using gcc oin CYGWIN I get undefined refrences to _sdterr, _stdout, dirname, _errno , fputc_unlocked etc. Can you tell me what library are they in basename and dirname (aka libgen) has not yet made it into Cygwin. They will be available in the next in one of the upcoming 1.5 releases. When they are available, you will need to include 'libgen.h'. For the errno and std{err,in,out} symbols you need to include 'errno.h' and 'stdio.h' respectively. Elfyn -- -- 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 on the first statement in main()
Hi ! I don`t have a clue, why this happens, but it seems I have a similar issue and this could be possibly related to your problem - so I post that here: I have problem with rockbox-uisimulator (see rockbox.haxx.se) on windows nt 4.0/sp6. It crashes before I can see the main window, and it also seems to happen when entering main() (or even before) - so for me it seems not just a problem of the application itself. It runs fine on w98/2000/Xp, but it crashes on NT4.0 see http://sourceforge.net/tracker/index.php?func=detailgroup_id=44306atid=439118aid=761446 for further information unfortunatly, regarding use of a debugger i`m a complete greenhorn... What platform are YOU using? regards Roland ps: sorry if i`m wrong here and there is no relation to this problem or to cygwin. crash on the first statement in main() From: Sam Steingold sds at gnu dot org To: cygwin at cygwin dot com Date: 19 Jun 2003 18:27:49 -0400 Subject: crash on the first statement in main() Organization: disorganization Reply-to: sds at gnu dot org I get a segfault on the first executable line in main() (confirmed in the debugger), both when produced by cygwin: gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -falign-functions=4 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DSAFETY=3 -DUNICODE -DEXPORT_SYSCALLS -DDIR_KEY -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none modules.o regexp.o regexi.o regex.o lisp.a -lintl libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv -lm -o lisp.exe ... full/lisp.exe -B . -M base/lispinit.mem -norc -q -i regexp/regexp -x (saveinitmem full/lispinit.mem) Signal 11 make: *** [full] Error 1 and mingw: gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -falign-functions=4 -D_WIN32 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DSAFETY=3 -DUNICODE -DEXPORT_SYSCALLS -DDIR_KEY -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none modules.o regexp.o regexi.o regex.o lisp.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -luuid -o lisp.exe full/lisp.exe -B . -M base/lispinit.mem -norc -q -i regexp/regexp -x (saveinitmem full/lispinit.mem) win32 crash dialog box the lines don't do anything special, in fact, p the offending line executes just fine in gdb right after the crash. comments?! -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! -- 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: Download from internet = 1Mb?! (potential FAQ entry)
On Fri, 27 Jun 2003, Hannu E K Nevalainen (garbage mail) wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christopher Faylor Fergus PS. I _think_ this is as simple as you can get. If anybody notices a redundant step or unnecessary complication, please say. FWIW, the above is exactlhy how I would do this. So, that's either very scary or somewhat reassuring, I suppose. FWIW (once again) I currently have a dual boot Win98SE/Win2000 machine using the very same installation of cygwin for *BOTH* OS'es... - using the mount command similarily to what was mentioned earlier in this thread. (Hmm... does that scary thing apply here? ;-) Things SEEM to be functioning properly. Might be that problems arise if I use setup.exe from W2K one time, then from W98SE next time... Any thoughts? ( i.e. registry entries? timestamp in [cf]:\cygwin\etc\timestamp ? C: = W98SE, F: = W2K ) NOTE HERE: My actual use of cygwin so far has been very limited. Which might be why I have not found any problems with the above yet. (I'm building up steam to get going ;) Hannu, A side note: since the two versions of Windows don't share the registry, you only need to do mount once, on the machine on which you didn't run setup. Now, setup uses the same mount info to find the existing installation, so I don't see why it wouldn't work. What might not work is the saved local package cache directory - as the two versions of Windows have different ideas as to which drive is C:. However, if you had another partition/drive that was seen as the same drive letter (D:) by both Windows versions, you could keep the package cache on that drive and not change anything in setup at all. Another thing to beware of is changing the Cygwin root on either system. As long as you don't do that, and use setup only to upgrade, there should be no difference. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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/
How display graphic by cygwin
Hi, I just installed the minimum set of cygwin and Cygwin/XFree86 on a Window XP. I can startx at the localhost(my Window XP machine). Then I sshed to a remote Linux host and ran acroread. Error: Can't not open display: was displayed. Could somebody help me to fix this problem. Best wishes, Peng -- 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: _stderr, _stdout, _errno etc.
Hi , These are plain C question, that is why I asked them here. These are not due to not including header files. the gcc that comes with CYGWIN cabot find the proper libraries. That is y I asked this question. I thought somebody here might know what library will have thse functions in CYGWIN. Can u help me here Vikram From: Hannu E K Nevalainen \(garbage mail\) [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: RE: _stderr, _stdout, _errno etc. Date: Fri, 27 Jun 2003 22:53:58 +0200 As it seems right now - This really isn't cygwin-stuff... this is plain gcc - and even beyond that, i.e. plain C programming. In other words; This list isn't the right place to ask about it... :-) (check www.cygwin.com about the scope for these lists!) This of course assumes that you've managed to install _ALL PARTS_ of gcc and it's associated tools. To verify this: read about reporting problems on the webpage (link above). Still - to give you a hint on how to obtain information: $ man printf This shows a 'printf' that has nothing to do with C-programming... as you can see if you read some of the text... The hint is the word shell in the initial NOTE paragraph. $ man 3 printf This one OTOH has a lot of association with C programming... In the first few lines you'll find #include stdio.h - this indicates that you _MUST_ include the stdio header to be able to use printf in C... My guess is that you have not done so, just because stderr and stdout at least are defined in stdio.h ( I guess fputc too). errno OTOH has it's own header, dirname might be in stdlib I guess - maybe or maybe not. Try to find out yourself. All these header files has a home, one of these homes is this: $ ls /usr/include/ press tab-key Display all 207 possibilities? (y or n) n 207 files/dirs... =-) the stdio-header is there too: $ ls /usr/include/std* /usr/include/stdio.h /usr/include/stdlib.h To look for stderr in the stdio-header: $ grep -i stderr /usr/include/stdio.h #define stderr (_REENT-_stderr) #define stderr (_impure_ptr-_stderr) #define _stderr_r(x)((x)-_stderr) Other helpful commands: help - information on bash internal commands info - search/read the info pages, in generel more structured than 'man'-pages man -K keyword - Look for keyword in all installed man pages (takes a while, but may proove helpful) man # keyword - look in section number # for keyword e.g. man 3 printf as above. HTH to get you started. Apart from this I reccomend you to find any good book on ANSI C, e.g. The C Programing Language by B W Kernighan and D M Ritchie (ISBN 0-13-110362-8 for the second edition - which is an OLD one). Note here that I'm not telling you that this is a good learning book, nor that it is the best reference around - but it sure is one that many has used to get into the innards of the C language. /Hannu E K Nevalainen, 59~14'N, 17~12'E ~ = degree -- --END OF MESSAGE-- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vikram Mehta Sent: Thursday, June 26, 2003 6:37 AM To: [EMAIL PROTECTED] Subject: _stderr, _stdout, _errno etc. Hi folks I am trying to compile a file using gcc oin CYGWIN I get undefined refrences to _sdterr, _stdout, dirname, _errno , fputc_unlocked etc. Can you tell me what library are they in Vikram -- 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/ _ Smile a little. Enjoy the summer with Joggers' Park! http://server1.msn.co.in/sp03/joggerspark/index.asp -- 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/