I've attached a new patch that puts the msg_identify_data change in an ifdef. Also, in compat.h, I moved the "undef b64_ntop" for cygwin into the "ifndef HAVE_B64_NTOP" check so that if cygwin ever gets a working b64_ntop tmux will continue to compile.
If I do "tmux new </dev/null" then tmux doesn't start and doesn't print out an error. Using -v flags, I see that the server gets a -1 when trying to open the terminal. This is because ttyname(STDIN_FILENO) in client.c doesn't get something valid, so it passes something worthless to the server. Should the "ifdef __CYGWIN__" check in client.c do isatty before passing the ttyname?
tmux-cygwin.patch
Description: Binary data
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users