Subject: Re: Solaris emulation
To: None <port-sparc@NetBSD.ORG>
From: Stefan Monnier <stefan.monnier@lia.di.epfl.ch>
List: port-sparc
Date: 02/20/1996 18:34:20
This is a multipart MIME message.

--===_0_Tue_Feb_20_18:20:11_MET_1996
Content-Type: text/plain


Well, things haven't improved much.
The problem with stty is still here. Actually the behavior is really weird
since sttty settings tend to be changed by the mere fact of running Solaris
applications. And even this is not necessary: I have had MH's scan work
in a brand new xterm and not work in another brand new xterm even though the
two should have been in the very same state (started from the exact same shell
with the exact same config files, with no Xresources changes...).
I've also experienced two MH scan's run consecutively in the very same xterm
and have the first one run fine while the second (and all the nexts) had the
"NL without CR" problem.

Anyway, I can easily reproduce strange behavior, so I have appended an example.
In the example, it should be noted that stty and printf are normal NetBSD
executables while scan is a Solaris executable (and that the same behavior
appears without the printf). As you can see at the end, the stty settings
eventually get into a stable state.

Is that a known problem in NetBSD-1.1 ?

	
	Stefan


--===_0_Tue_Feb_20_18:20:11_MET_1996
Content-Type: text/plain

~-0> rlogin liasun13
~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
eof     eol     eol2    kill    min     reprint time    
^A      ^@      ^@      <undef> <undef> <undef> <undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
eof     eol     eol2    erase   kill    min     reprint start   time    
^@      ^@      ^@      <undef> <undef> <undef> <undef> <undef> <undef> 
werase  
<undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
eof     eol     erase   intr    kill    lnext   min     reprint start   
^@      ^@      <undef> <undef> <undef> <undef> <undef> <undef> <undef> 
time    werase  
<undef> <undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
discard eof     eol     erase   intr    kill    lnext   min     reprint 
<undef> <undef> ^@      <undef> <undef> <undef> <undef> <undef> <undef> 
start   time    werase  
<undef> <undef> <undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
discard eof     eol     erase   intr    kill    lnext   min     reprint 
<undef> <undef> ^@      <undef> <undef> <undef> <undef> <undef> <undef> 
start   stop    time    werase  
<undef> <undef> <undef> <undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
discard eof     eol     erase   intr    kill    lnext   min     quit    
<undef> <undef> ^@      <undef> <undef> <undef> <undef> <undef> <undef> 
reprint start   stop    time    werase  
<undef> <undef> <undef> <undef> <undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
discard eof     erase   intr    kill    lnext   min     quit    reprint 
<undef> <undef> <undef> <undef> <undef> <undef> <undef> <undef> <undef> 
start   stop    time    werase  
<undef> <undef> <undef> <undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

~-0> stty; /logiciels/public/cognac/bin/scan +mlists/gc; printf "\n\r"
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: istrip
cflags: cs7 parenb
discard eof     erase   intr    kill    lnext   min     quit    reprint 
<undef> <undef> <undef> <undef> <undef> <undef> <undef> <undef> <undef> 
start   stop    time    werase  
<undef> <undef> <undef> <undef> 
    1  19-Feb-1996  Majordomo@iecc.com   Welcome to gclist
                                                              2+ 20-Feb-1996  John R Levine <john  [gclist] GC topics

--===_0_Tue_Feb_20_18:20:11_MET_1996--