From: M DOT H DOT M DOT Michels AT kub DOT nl (Tijs Michels) Subject: Re: rxvt no pseudo ttys (ptys) 31 Jan 1998 03:16:41 -0800 Message-ID: <199801311046.LAA25870.cygnus.gnu-win32@mailnews.kub.nl> References: <199801301907 DOT TAA16879 AT gilberto DOT physik DOT RWTH-Aachen DOT DE> Reply-To: M DOT H DOT M DOT Michels AT kub DOT nl Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT To: Christoph Kukulies Cc: gnu-win32 AT cygnus DOT com Christoph Kukulies wrote: > Date: Fri, 30 Jan 1998 19:07:41 GMT > From: Christoph Kukulies > To: gnu-win32 AT cygnus DOT com > Subject: rxvt no pseudo ttys (ptys) > I'm running MI/X successfully under NT 4.0 with coolview. > Only when I run rxvt (starting from a cmd box prompt) > I'm getting > > can't open pseudo-tty > aborting > > When I start inetd.exe and try to login from outside > I'm getting (maybe related) > > telnetd: all network ports in use > > Can someone fill me in? > > Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de Hi, Get ftp.math.fu-berlin.de/pub/rxvt/rxvt-2.4.5.tar.gz. Thanks to Geoff Wing it has sound cygwin32 support. Also be sure to apply his huge patch ftp.math.fu-berlin.de/pub/rxvt/patches/rxvt-2.4.5-mason3.diff.gz. It contains a host of important improvements in both the setuid/getuid department and the tty department. Next patch config.h with a patch like the one attached (and possibly also /src/feature.h) and things should be fine. On my directory tree the following script produces a stable executable. #!/bin/sh # tar xfz rxvt_245.tgz patch /* #define HAVE_UTMP_HOST 1 */ 97c97 < #define RXVT_UTMP_FILE "/var/run/utmp" --- > /* #define RXVT_UTMP_FILE "/var/run/utmp" */ 100c100 < #define RXVT_WTMP_FILE "/var/log/wtmp" --- > /* #define RXVT_WTMP_FILE "/var/log/wtmp" */ 115c115 < #define HAVE_SETEUID 1 --- > /* #define HAVE_SETEUID 1 */ -------------------------------------------------------- I used to set XTerm.utmpInhibit: True in .Xdefaults. With the patch above this is no longer necessary. With the configure option --with-term=rxvt no XTerm.termname resource setting is called for. So now the Rxvt part of my .Xdefaults looks like this: *background: LightGrey ! ! Rxvt ! XTerm.cursorColor: red ! XTerm.font: cour14r XTerm.boldFont: cour14b XTerm.geometry: +62-68 XTerm.loginShell: False XTerm.title: rxvt ! XTerm.saveLines: 32 XTerm.scrollBar_right: True ! XTerm.termname: rxvt ! XTerm.utmpInhibit: True XTerm.visualBell: True XTerm.menu: /usr/X11R6.3/bin/rxvt.tijs.menu XTerm.backgroundPixmap: /usr/X11R6.3/bin/pyrenees.xpm - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".