This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MultiWindow Mode: stty speed = 0 on xterm cause rlogin to fail


On Wed, 25 Feb 2004, Danilo Turina wrote:

> Thomas Dickey wrote:
>
> > On Wed, 25 Feb 2004, Danilo Turina wrote:
> >
> >
> >>In effect this modification solves the problem for rlogins launched
> >>manually by an xterm, but I does not affect at all commands inserted
> >>into .XWinrc (they look like "xterm -e rlogin machine -l user").
> >>
> >>I tried several ways to put the speed to 38400 for those menu entries
> >>but I have always failed.
> >>
> >>Is there a way to do that?
> >
> >
> > A shell script could do that (which in turn does the rlogin, etc.)
> >
>
> In effect I use a script to open the terminals, but if I try to put
> "stty 38400" into that script it does not work when invoked by the XWin
> menu, it reports an error related to the fact that stdin is not a terminal.

hmm - I don't use rlogin much any more, but it sounds as if that's working
around that issue.  Looking at the code, it seems that if BAUD_0 is
defined (e.g., in the header files), that stops xterm from setting a baud
rate.

You should be able to compile xterm with that turned off (by adding an
#undef BAUD_0 before its first use in main.c).  xterm's ttyModes resource
would be a suitable place to make that configurable, but currently it's
done at compile time).

I made a note to check on that (it's been that way for a long time).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]