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


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.

cgf



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 and after i can at least do the stty command but the input don't seem to work:

$ stty 1:0:1cb2:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0 < /dev/ttyS0
stty: standard input: unable to perform all requested operations

i will have to find an other way to do that



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