Re: 1.7.0: read() blocking with VMIN = VTIME = 0
daniel åkerud wrote: > With my example program below the read() is blocking even though > canonical input is set and VMIN = VTIME = 0. > It is supposed to act in a non-blocking way. > ... I had a similar problem. Code looking like yours worked fine in an xterm, but not in a bash inside a windows console. After a bit trial and error i found this code working well in both cases: struct termios ttystate; // get the terminal state tcgetattr(STDIN_FILENO, &ttystate); // turn off canonical mode ttystate.c_lflag &= ~ICANON; // minimum number of characters for non-canonical read ttystate.c_cc[VMIN] = 0; // timeout in deciseconds for non-canonical read ttystate.c_cc[VTIME] = 0; int oldstat = fcntl(STDIN_FILENO, F_GETFL, 0 ); fcntl(STDIN_FILENO, F_SETFL, oldstat | O_NONBLOCK ); Steffen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: cygwin 1.7.0-40: Socket operation on non-socket
Allan Schrum wrote: Using "msconfig" from the "Run" command restart your machine with all non-Microsoft programs stopped. On the "Services" tag, click "Hide all Microsoft Services", then "Disable All". On the "Startup" tag, click "Disable All". Click "OK" and reboot. Does the problem still occur? If not, then BLODA may be to blame. If so, then the problem space is smaller and maybe easier to find a test case. I've tried this in a much harder way. I chose "Diagnostic Startup - load basic devices and services only" which results in nearly every service was disabled (only "DCOM Server Process Launcher", "Remote Procedure Call (RPC) Locator", and "Remote Procedure Call (RPC)" were running) and nothing was started up. But the problem still occurred. :( $ rsync.exe hid hod rsync: Failed to dup/close: Socket operation on non-socket (108) rsync error: error in IPC code (code 14) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/pipe.c(147) [receiver=3.0.4] rsync: read error: Connection reset by peer (104) rsync error: error in IPC code (code 14) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(791) [sender=3.0.4] Grr! Steffen -- 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/
Emacs maintainer [was Re: POP Rmail in Emacs]
Eli Zaretskii wrote: Let me rephrase: we need a more active maintainer of the Cygwin Emacs. As a matter of fact, reports of Cygwin-related problems on the Emacs development and bug-reporting lists don't get any responses from Steffen Sledz. Searching the emacs-devel and bug-gnu-emacs archives for his name yields zero hits. I'm really sorry for my low activity. I'm a bit depressed because of my unsuccessful fighting with the build system (see some other threads in cygwin-apps). This detained (and detains) me from working on the emacs problems. But i hope there will come better times. Also my try to take over maintainership for emacs was made out of necessity because no one else was willing to do this. And i don't want to see emacs vanish from cygwin. May be the task is a bit to big for me. So if there is somebody else interested in taking over the maintainership or to share it with me, you're welcome. Steffen -- 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 bind-9.6.0-1 in cygwin-1.7
I get this error when calling dig in cygwin-1.7. :( $ dig @192.5.6.30 cygwin.com /usr/src/ports/net/bind/bind-9.6.0-1/src/bind-9.6.0/lib/isc/unix/socket.c:4525: bind: Socket operation on non-socket dig: isc_socket_bind: unexpected error $ which dig /usr/bin/dig $ cygcheck -f /usr/bin/dig.exe bind-9.6.0-1 $ cygcheck -c cygwin bind Cygwin Package Information Package VersionStatus bind 9.6.0-1OK cygwin 1.7.0-39 OK -- 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 Emacs 22.1.3 missing lisp/subdirs.el
John Paul Wallington schrieb: > The emacs-22.1-3.tar.bz2 package (35eaabd503b22d5c9a34a23ad88125bf), > snarfed from http://mirrors.xmission.com, doesn't contain the > /usr/share/emacs/22.1/lisp/subdirs.el file that is essential to the > proper functioning of Emacs. That file adds several subdirectories > within the lisp directory to Emacs' load path. It erroneously ships > with the emacs-el-22.1-3 package instead. Thanx for this hint. I'll have a look at this. But unfortunately we have some more and bigger problems with the stability of emacs 22.1 compiled with gcc3 under cygwin. So this version will stay as experimental for some more time. :( Sorry, Steffen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Harig schrieb: > If you discover a repeatable set of steps that you can follow that will > cause Emacs to crash, would you please post those to this list? They > could be used as a test to tell whether Emacs has been built correctly. > In addition, your steps might be tested with Emacs on another platform > (most commonly, a UNIX-like system) to determine whether the problem is > specific to the Cygwin implementation of Emacs. Yes, that would be really helpfully. > My guess is that the problem that you are seeing cannot be resolved > easily. Here are three approaches that might be taken, none of which > is trivial: I completely agree. > 1. Identify the C code in the Emacs 22 source that needs to be > "back-ported" to gcc 3.4.4 so that the problem you are seeing > does not occur. A patch could then be applied to Emacs 22 so > that it could run error free on Cygwin. I'll try to setup a debug environment to go this way. But I cannot guarantee for fast results. So if someone else is making gcc4 ready for cygwin, I wouldn't be averse to it. :) Steffen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGrMYZlSfCk8EgCzgRAjSHAJ45IPIS0tHh6cMou2pwM+YZ8A9LvACfVy38 7eGqEwABwvTFRFjoVi9Yc+0= =4bA6 -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Emacs takes 100% CPU
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Nicolas, I'm the guy who tries to revive emacs in cygwin after a long time. Because emacs is not the simplest package this will need some time. But I hope that I can upload a non-experimental version in the near future. Sorry that I did not answer earlier to your message, but I was out of town for a few days. I hope the list could help with your problem (thx to Ken, René and Mark). Steffen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGrHdolSfCk8EgCzgRAkCGAJ9l2BiUpK4SWZ22k7I6YAbTQcvuwQCfduJz TGTNU0hEChoBS2q6zy53+8A= =BUQo -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo everyone After a long time a new *TEST* version of 'emacs' has been uploaded to a server near you. DESCRIPTION: Emacs is a powerful, customizable, self-documenting, modeless text editor. Emacs contains special code editing features, a scripting language (elisp), and the capability to read mail, news and more without leaving the editor. Some binaries normally part of the emacs distribution are separated to avoid conflicts with other packages. If you need b2m or rcs-ckeckin install xemacs-emacs-common package. If you need ctags or etags install ctags package. LEIM is now part of emacs package and no longer an own package. So emacs-leim is obsolete now. CYGWIN NEWS: This is the first release after a long time and a maintainer change. Emacs NEWS: === see http://lists.gnu.org/archive/html/info-gnu-emacs/2007-06/msg0.html INSTALLATION: = To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up the above mentioned package from the 'Editors' category. DOWNLOAD: = Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update. These mirrors already got the package, the others will probably have the latest version of this package fairly soon: In the US ftp://mirrors.rcn.net/pub/sourceware/cygwin/ has reliable high bandwidth connections. QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] Enjoy Steffen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGpQ+OlSfCk8EgCzgRAnVXAKDb5NbtKtoKslQRSqJL3e4kFqNlJACeLIio UtmpEa9lo2TNjKAtrSjlMaQ= =WfGN -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwins' emacs does not work in multi-language environment (mule)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ariel Burbaickij schrieb: > experimental version 22.1 just fails to start as it > misses several directories. Can you be a bit more precise. I'm really interested in any feedback at this point. Thx, Steffen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGkofzlSfCk8EgCzgRAtJFAJwMHiJLvUZ4gwpG3ZyGJ+pEJLTvIQCgrKy1 1tu81aTuvzqTHz7/pnrzw7g= =rPog -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: build problem - cygwin1.dll/cygncurses-8.dll bug?
Angelo Graziosi schrieb: > Have you build Emacs configuring with auto-image-base enabled: > ... > See the etc/PROBLEMS. Thanx Angelo. It looks like this was the problem. I'm really mortified, not to find it myself. Steffen -- 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: build problem - cygwin1.dll/cygncurses-8.dll bug?
Steffen Sledz schrieb: > I've an odd problem building the emacs 22.1 binary without X11 support. > > The compiling works without any problems. But in a late stage of the > build process the new emacs binary is called in batch mode to compile > some of the lisp files of the distribution. There the process hangs. > > I checked the new binary. It ever hangs and uses 100%CPU when started. > ... Nobody an idea what's wrong here? Or how to debug this? Steffen -- 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/
build problem - cygwin1.dll/cygncurses-8.dll bug?
I've an odd problem building the emacs 22.1 binary without X11 support. The compiling works without any problems. But in a late stage of the build process the new emacs binary is called in batch mode to compile some of the lisp files of the distribution. There the process hangs. I checked the new binary. It ever hangs and uses 100%CPU when started. I've tried to debug it with gdb without success: % gdb emacs GNU gdb 6.5.50.20060706-cvs (cygwin-special) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... DISPLAY = 127.0.0.1:0.0 TERM = xterm Breakpoint 1 at 0x20056bf6: file emacs.c, line 431. Breakpoint 2 at 0x2006eecf: file sysdep.c, line 1385. (gdb) break main Breakpoint 3 at 0x20057b0e: file emacs.c, line 804. (gdb) run Starting program: /usr/src/emacs-22.1/src/emacs.exe -geometry 80x40+0+0 Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll Loaded symbols for /usr/bin/cygncurses-8.dll Loaded symbols for /usr/bin/cygwin1.dll Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll Here it hangs and never reaches main. :( Then i tried strace: ** Program name: C:\cygwin\usr\src\emacs-22.1\src\emacs.exe (pid 1016, ppid 1) App version: 1005.24, api: 0.156 DLL version: 1005.24, api: 0.156 DLL build:2007-01-31 10:57 OS version: Windows NT-5.1 Heap size:402653184 Date/Time:2007-06-26 22:47:56 ** 61 458 [main] emacs 1016 set_myself: myself->dwProcessId 1016 56 514 [main] emacs 1016 time: 1182890876 = time (0) 7341248 [main] emacs 1016 environ_init: GetEnvironmentStrings returned 0x2452E0 - "=C:=C:\Cygwin\bin" 1351383 [main] emacs 1016 environ_init: 0x20464000: !C:=C:\Cygwin\bin 1131496 [main] emacs 1016 environ_init: 0x203D8240: ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users 981594 [main] emacs 1016 environ_init: 0x20322A00: APPDATA=C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten 3881982 [main] emacs 1016 environ_init: 0x203D8440: APR_ICONV_PATH=C:\Programme\Subversion\iconv 1042086 [main] emacs 1016 environ_init: 0x203D8B00: CLASSPATH=.;C:\Programme\Java\jre1.5.0_11\lib\ext\QTJava.zip 1002186 [main] emacs 1016 environ_init: 0x204642E0: CLIENTNAME=Console . something snipped out here 95 139757 [main] emacs 1016 pinfo_init: Set nice to 0 54 139811 [main] emacs 1016 pinfo_init: pid 1016, pgid 1016 1035 140846 [main] emacs 1016 set_privilege: 0 = set_privilege ((token 734) SeRestorePrivilege, 1) 934 141780 [main] emacs 1016 set_privilege: 0 = set_privilege ((token 734) SeBackupPrivilege, 1) 110 141890 [main] emacs 1016 set_privilege: 1 = set_privilege ((token 734) SeChangeNotifyPrivilege, 1) 152 142042 [main] emacs 1016 dtable::extend: size 32, fds 0x611676C0 90 142132 [main] emacs 1016 normalize_posix_path: src /etc/passwd 55 142187 [main] emacs 1016 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd) 55 142242 [main] emacs 1016 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd) 56 142298 [main] emacs 1016 set_flags: flags: binary (0x2) 51 142349 [main] emacs 1016 mount_info::conv_to_win32_path: src_path /etc/passwd, dst C:\cygwin\etc\passwd, flags 0xA, rc 0 119 142468 [main] emacs 1016 symlink_info::check: not a symlink 57 142525 [main] emacs 1016 symlink_info::check: 0 = symlink.check (C:\cygwin\etc\passwd, 0x22C610) (0xA) 59 142584 [main] emacs 1016 path_conv::check: this->path(C:\cygwin\etc\passwd), has_acls(1) 188 142772 [main] emacs 1016 etc::test_file_change: FindFirstFile succeeded And here it hangs. Every try to cancel it using Ctrl-C shows --- Process 1016, exception 40010005 at 7C87534D 284186670 284329442 [unknown (0xF34)] emacs 1016 _cygtls::remove: wait 0x0 65 284329507 [unknown (0xF34)] emacs 1016 _cygtls::remove: removed 0x1865CE64 element 1 What's wrong here? A bug in cygwin1.dll? Or cygncurses-8.dll? Thx for any help, Steffen PS: Building emacs with X11 support works fine. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: emacs 22.1?
Brian Dessent schrieb: > [*] cygport is one of the newest packaging methods and isn't currently > mentioned on the setup.html page, but it's essentially a refinement on > the generic-build-script method, so if you understand that then you will > probably get cygport. I had a look at cygport and looks really nice. I'll try this. >> How to mark obsolete packages? In emacs 22.1 leim is integrated. So the >> extra leim package is obsolete. > > The general method is to upload an empty (but still valid) .tar.bz2 file > and bump the version number so that the obsolete package is essentially > removed and replaced by nothing. You can then change its category to > "_obsolete" and it will no longer be visible in setup. Hmmm? I'm not sure if this is a practical solution because the old emacs-leim package is just obsolete, if a new emacs package is installed. How can i describe this inter-package dependency? And a last question: It's not fully clear to me what's the best mailing list to ask for problems maintaining e.g. the emacs packages or looking for testers? cygwin? or cygwin-apps? Steffen -- 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: emacs 22.1?
Hello Christopher, On Mon, 18 Jun 2007, Christopher Faylor wrote: > This is one of those situations where a certain amount of core > competence is required. If you are not really familiar with the concept > of building packages (especially a package as presumably large and > complicated as emacs) you might want to think twice about what you're > volunteering to do. How can you possibly maintain and support a package > if you don't have any idea about how to build it? How are you going to > deal with bug reports? > > I'm *really* not trying to be mean here. I'm just trying to make sure > that you understand what you're getting into. thanx for your warning. It is clear to me that this is not an easy job and i'm not sure now to do this work. I'm just doing some examinations about the amount of work waiting for me. ;-) But i believe i've a good core competence. I'm a software developer and familiar with building packages for other distributions (e.g. RPM or fli4l). I've also studied the mentioned http://cygwin.com/setup.html. But there are some open distribution specific questions: Is there a suggested build environment (may be a prepared VMware image)? Or just installing cygwin base and devel? What about file ownership and permissions? Under which user account (uid) the packages should be build? How to mark obsolete packages? In emacs 22.1 leim is integrated. So the extra leim package is obsolete. The old emacs package is neither build using method One nor method Two mentioned on http://cygwin.com/setup.html. Is there something to pay attention to in the new package to avoid update problems? May be some more... Regards, Steffen -- 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: emacs 22.1?
Corinna Vinschen schrieb: > The latest is the emacs source package you get when choosing to download > the package source with setup.exe. Other than that, have a close look > into http://cygwin.com/setup.html OK, I've done this. But i miss some information for a newbie like me (e.g. What is the best way to setup an environment for building the packages? What toolchain to use? ...?). May be there is a maintainer tutorial and/or FAQ? Or something like a mentoring program for new maintainers? Regards, Steffen PS: What's the better to discuss such probs? cygwin? or cygwin.apps? -- 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: emacs 22.1?
> We don't have an emacs maintainer anymore. Either you volunteer to > maintain emacs in the Cygwin distro, or you use xemacs, which is > perfectly maintained thanks to Volker Zell. May be i can do the job. Where can i find the "inheritance" of the last emacs maintainer to have a look on it and decide? Steffen -- 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/
emacs 22.1?
Hello, is there a chance to get emacs 22.1 for cygwin in the next time. The current repository offers just 21.2 (stable) which is very old (2002) and has some problems with unicode stuff or 21.3.50 (experimental) which is from 2003. :( Regards, Steffen -- 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: bug in tcsh 6.15.00-4
On Mon, 18 Jun 2007, Corinna Vinschen wrote: > It would be better in the long run *not* to use spaces in path names, > though. It's not very tricky to set up and it helps to avoid annoying > problems with shell scripts, etc. Sorry, i do not believe that this is acceptable. Nowadays it's quit common to use spaces in path names (e.g. $HOME often points to "C:\Documents and Settings\User" in XP). And shell script can (and should) be aware of this if they are written carefully. Regards, Steffen -- 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/
bug in tcsh 6.15.00-4
I've found a small bug in /etc/profile.d/complete.tcsh of tcsh package 6.15.00-4, which makes some problems if $HOME contains white spaces. The fix for this is an easy one as this diff shows: % diff /etc/profile.d/complete.tcsh /etc/profile.d/complete.tcsh.org 42,43c42,43 < if ( -r "$f" ) then < set hosts = ($hosts `grep -v "+" "$f" | grep -E -v "^#" | tr -s " " " " | cut -f 1`) --- > if ( -r $f ) then > set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s " " " > " | cut -f 1`) I'm not familiar with cygwin development. I've reported this in cygwin-apps before, but i was told to post it here again. I hope that's the right way. Regards, Steffen Sledz -- 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/