This is the mail archive of the cygwin mailing list for the Cygwin 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: stty under cygwin


On Thu, Apr 22, 2004 at 11:03:12AM -0400, Christopher Faylor <cgf-no-personal-reply-please@cygwin.com> wrote:
> On Thu, Apr 22, 2004 at 04:38:18PM +0200, bertrand marquis wrote:
> >Christopher Faylor a ?crit:
> >
> >>On Thu, Apr 22, 2004 at 09:10:46AM +0200, bertrand marquis wrote:
> >> 
> >>
> >>>First of all stty 
> >>>1:0:cbd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 
> >>>< /dev/ttyS0 is a regular linux command, you can try. In fact i'm trying 
> >>>to porting some stuff from linux to cygwin and it seem that the stty 
> >>>under cygwin doesn't accept to have settings in input.
> >>
> >>To repeat what I said in a previous message, Cygwin's stty does accept
> >>this kind of input.  You can't generate the string on linux and use it
> >>on Cygwin, however.
> >
> >In fact you are right cygwin stty accept this kind of input but it seems 
> >that the 1:..:0 has to be be shorter under cygwin
> 
> That falls under the "You can't generate the string on linux and use it
> on Cygwin".  You are doomed to failure if you try this.  Really.

Perhaps some kind soul can feed his string to stty on linux (assuming,
probably incorrectly, that all linuxen share the same format) and then
do stty -a, replicate those settings under cygwin, and report what the
cygwin equivalent stty -g would be?

--
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/


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