Missing include in mntent.h
Hello I think #include is needed in mntent.h for definition of FILE. Here is patch for it. --- mntent.h.old2006-06-12 19:39:27.0 +0400 +++ mntent.h2006-06-12 19:56:23.015625000 +0400 @@ -26,6 +26,7 @@ }; #ifndef _NOMNTENT_FUNCS +#include /* needed for FILE */ FILE *setmntent (const char *__filep, const char *__type); struct mntent *getmntent (FILE *__filep); int addmntent (FILE *__filep, const struct mntent *__mnt); -- 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/
Problem with mined 2000.12-1
Hello It seems to me that mined.exe in latest mined package is broken. It gives access violation when running and content of it doesn't really look like valid .exe file. -- 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/
Problem with poll function
Hello I've tried to build latest Curl on Cygwin and encountered problem reason of which is very nicely summarized on the following page http://www.greenend.org.uk/rjk/2001/06/poll.html It shows that behaviour of cygwin poll when socket is closed (fourth column in table) is only compatible with one old version of linux. Though curl developer probably will make workaround for this, maybe fix it also in Cygwin to avoid further problems. I've attached the patch for it. --- poll.cc.old 2005-11-13 09:05:20.640625000 +0300 +++ poll.cc 2005-11-13 09:05:32.31250 +0300 @@ -119,7 +119,7 @@ fds[i].revents |= POLLIN; break; case 0: /* Closed on the read side. */ - fds[i].revents |= POLLHUP; + fds[i].revents |= (POLLHUP | POLLIN); break; default: fds[i].revents |= POLLIN; -- 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/
Question for cURL maintainer
Hello Could you please update cURL to latest upstream version? -- 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/
Patch for variable page width in man
Hello I've made small patch for man with which it uses screen width when displaying man pages. Also there seems to be missing build dependency in readme for lndir which is in xorg-x11-bin-lndir package. diff -upr man-1.5o1/configure man-1.5o1-patched/configure --- man-1.5o1/configure 2005-03-07 14:50:28.921875000 +0300 +++ man-1.5o1-patched/configure 2005-03-07 14:29:29.03125 +0300 @@ -229,6 +229,15 @@ if test -s conftest && ./conftest 2>/dev fi rm -f conftest conftest.c +echo checking for sys/termios.h +echo "#include +main() { exit(0); }" > conftest.c +eval $compile +if test -s conftest && ./conftest 2>/dev/null; then + DEFS="$DEFS -DTERMIOS_HEADER" +fi +rm -f conftest conftest.c + echo checking for POSIX.1 header files echo "#include main() { diff -upr man-1.5o1/src/man.c man-1.5o1-patched/src/man.c --- man-1.5o1/src/man.c 2005-03-07 14:50:29.0 +0300 +++ man-1.5o1-patched/src/man.c 2005-03-07 14:29:40.87500 +0300 @@ -30,6 +30,9 @@ #include #include #include +#ifdef TERMIOS_HEADER +#include +#endif #ifndef R_OK #define R_OK 4 -- 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 localization
Hello I want to see localized messages from cygwin programs. I've set environment variables LANG=ru_RU.CP1251 and OUTPUT_CHARSET=CP1251. While most programs work with such settings some of them do not, namely grep and programs from binutils package. They understand language part of LANG variable, but don't understand charset. Could this be fixed? grep can be fixed by recompiling with newer version of libintl, but I don't know about binutils. -- 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/
Problem with ssmtp / procmail / cygwin 1.5.10-3
Hello I have problem using ssmtp from procmail after upgrading to cygwin 1.5.10-3. It only exists when ssmtp is called from procmail, when it is called directly it works fine. Does anyone have any idea what's wrong with it? Such problem was already posted recently to this maillist, but there was no resolution to it. PATH=/bin MAILDIR=$HOME/Mail DEFAULT=$MAILDIR/mbox LOGFILE=$MAILDIR/from SENDMAIL=/usr/sbin/ssmtp VERBOSE=on :0 * From:[EMAIL PROTECTED] ! [EMAIL PROTECTED] # # /etc/ssmtp.conf -- a config file for sSMTP sendmail. # # The person who gets all mail for userids < 10 root=ekot # The place where the mail goes. The actual machine name is required # no MX records are consulted. Commonly mailhosts are named mail.domain.com # The example will fit if you are in domain.com and you mailhub is so named. mailhub=mail.protek # Where will the mail seem to come from? #rewriteDomain=om-080.protek # The full hostname hostname=protek.ru # Set this to never rewrite the "From:" line (unless not given) and to # use that address in the "from line" of the envelope. FromLineOverride=YES procmail: [1340] Wed Aug 11 11:46:49 2004 procmail: Match on "From:[EMAIL PROTECTED]" procmail: Assigning "LASTFOLDER=/usr/sbin/ssmtp -oi [EMAIL PROTECTED]" >From EKOT Wed Aug 11 11:46:49 2004 Subject: test Folder: /usr/sbin/ssmtp -oi [EMAIL PROTECTED] 901 procmail: Executing "/usr/sbin/ssmtp,-oi,[EMAIL PROTECTED]" ssmtp: Cannot open mail.protek:25 Cygwin Configuration Diagnostics Current System Time: Wed Aug 11 11:45:48 2004 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\Program Files\Far c:\oracle\ora817\bin C:\Program Files\Oracle\jre\1.1.7\bin C:\WINNT\system32 C:\WINNT C:\WINNT\System32\Wbem C:\Program Files\Microsoft SQL Server\80\Tools\BINN C:\Program Files\Starbase\StarGate SDK\Lib C:\Program Files\Starbase\StarGate SDK\Bin c:\programs\pgp\gnupg c:\cygwin\bin c:\cygwin\ocamlmgw\bin C:\Program Files\Borland\Delphi7\Bin C:\Program Files\Borland\Delphi7\Projects\Bpl\ C:\PROGRA~1\Borland\CBUILD~1\Bin C:\PROGRA~1\Borland\CBUILD~1\Projects\Bpl C:\PROGRAms\MICROS~1.NET\COMMON7\IDE C:\PROGRAms\COMMON~1\MICROS~1\VSA\7.1\VSAENV C:\Programs\Microsoft Visual Studio .NET 2003\vc7\bin "C:\Programs\Borland\Delphi5\Bin" C:\Programs\Borland\Delphi7\Bin C:\Programs\Borland\Delphi7\Projects\Bpl\ "C:\Programs\Borland\CBuilder6\Bin" c:\cygwin\lcc\bin C:\WINNT\Microsoft.NET\Framework\v1.1.4322 Output from C:\cygwin\bin\id.exe (nontsec) UID: 19404(EKOT) GID: 10513(Domain Users) 10513(Domain Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 19404(EKOT) GID: 10513(Domain Users) 547(Îïûòíûå ïîëüçîâàòåëè) 545(Ïîëüçîâàòåëè) 10513(Domain Users)18338(DSK_OM_RO) 12347(FIL_UDRV_FC) 17685(GR_DM) 12464(MARKETING) SysDir: C:\WINNT\system32 WinDir: C:\WINNT CYGWIN = `nontsec' Path = `C:\Program Files\Far;c:\oracle\ora817\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Starbase\StarGate SDK\Lib;C:\Program Files\Starbase\StarGate SDK\Bin;c:\programs\pgp\gnupg;c:\cygwin\bin;c:\cygwin\ocamlmgw\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\;C:\PROGRA~1\Borland\CBUILD~1\Bin;C:\PROGRA~1\Borland\CBUILD~1\Projects\Bpl;C:\PROGRAms\MICROS~1.NET\COMMON7\IDE;C:\PROGRAms\COMMON~1\MICROS~1\VSA\7.1\VSAENV;C:\Programs\Microsoft Visual Studio .NET 2003\vc7\bin;"C:\Programs\Borland\Delphi5\Bin";C:\Programs\Borland\Delphi7\Bin;C:\Programs\Borland\Delphi7\Projects\Bpl\;"C:\Programs\Borland\CBuilder6\Bin";c:\cygwin\lcc\bin;C:\WINNT\Microsoft.NET\Framework\v1.1.4322' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\EKOT\Application Data' BASH_ENV = `/etc/profile' CommonProgramFiles = `C:\Program Files\Common Files' COMPUTERNAME = `OM-080' ComSpec = `C:\WINNT\system32\cmd.exe' FARLANG = `English' HOMEDRIVE = `C:' HOMEPATH = `\' INCLUDE = `"C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\include"' LIB = `"C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\lib"' LOGONSERVER = `\\NETSRV1' NLS_DATE_FORMAT = `DD.MM.' NLS_LANG = `AMERICAN_CIS.CL8MSWIN1251' NUMBER_OF_PROCESSORS = `1' OCAMLLIB = `c:/cygwin/ocamlmgw/lib' OCAMLMAKEFILE = `c:/cygwin/ocamlmgw/ocamlmakefile' OS = `Windows_NT' Os2LibPath = `C:\WINNT\system32\os2\dll;' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 7, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0207' ProgramFiles = `C:\Program Files' PROMPT = `$P$G' StarTeamApp = `C:\Program Files\Starbase\StarTeam 5.4' SystemDrive = `C:' SystemRoot = `C:\WINNT' TEMP = `C:
Re: PATH and HOME in cygwin
Hello David Fay wrote: I am trying to set my PATH and HOME in cygwin. Under the /etc/profile file it says to change the bashrc.bash file and I have amended this but still no change. I also see there is a .bash_profile file in both the /etc/defaults/etc/skel and /etc/skel. I originally thought that this is the file I would amend but I expected this to be in my home directory. Any suggestions? Processing of bash startup files is rather complicated. It depends on how it was called and with what options. You should view man or info pages for bash, section about startup files. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setting up Cygwin to install ecos
Ajit Bhanot, Gurgaon wrote: I am trying to use the wget function on Cygwin. The internet access is through a proxy server. Can I configure cygwin to access the internet through the proxy to download the ecos installation files? You can configure wget by setting following parameters in your ~/.wgetrc file # You can set the default proxies for Wget to use for http and ftp. # They will override the value in the environment. http_proxy = http://proxy:3128/ ftp_proxy = http://proxy:3128/ proxy_user=usrename proxy_passwd=password # If you do not want to use proxy at all, set this to off. use_proxy = on -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
some missing defines in .h files
Hello Recently I've ported some NetBSD soft to Cygwin and encountered some incompatibilites in header files that are not caught by configure. I wonder whether this should be fixed in Cygwin? #define TM_YEAR_BASE1900 Is not defined in tzfile.h #define _PATH_TMP "/tmp/" or P_tmpdir Is not defined in paths.h In grp.h (which is taken from NetBsd) char*group_from_gid (gid_t, int); But in current NetBsd it is const char *group_from_gid (gid_t, int); same for gid_from_group //Eugene ICQ 191276239 -- 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/