Re: [OpenIndiana-discuss] stty source code

2012-10-01 Thread Jim Klimov
2012-09-04 7:05, Reginald Beardsley пишет: Where does one find the source for the stty in 151a? https://hg.openindiana.org/ really isn't very helpful in this regard. All I want is what's needed to recompile stty w/ -g and run it under dbx. I'll deal w/ the dependencies if and when I have to.

Re: [OpenIndiana-discuss] stty source code

2012-09-10 Thread Andrew Gabriel
James Carlson wrote: Reginald Beardsley wrote: I don't want any inbound connections. But the documentation I read suggested that one had to setup ttymon on the port. Possibly for no reason other than, "This is what I did when it finally worked." Where'd you read that? Even when it

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread James Carlson
Reginald Beardsley wrote: > I don't want any inbound connections. But the documentation I read suggested > that one had to setup ttymon on the port. Possibly for no reason other than, > "This is what I did when it finally worked." Where'd you read that? Even when it's active, ttymon just camp

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread Reginald Beardsley
ses can eat you alive. --- On Fri, 9/7/12, James Carlson wrote: > From: James Carlson > Subject: Re: [OpenIndiana-discuss] stty source code > To: openindiana-discuss@openindiana.org > Date: Friday, September 7, 2012, 8:39 AM > On 09/07/12 08:47, Reginald Beardsley > wrote: &

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread Udo Grabowski (IMK)
On 07/09/2012 16:03, Reginald Beardsley wrote: Thanks. I've not looked at the source yet, but it doesn't appear to be in the last (9.x) release. James Carlson is right, 'set terminal lf-display crlf' is available in the 9.0.302 release (Unix), no need to fiddle with source code. -- Dr.Udo Gr

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread Reginald Beardsley
Udo Grabowski (IMK) > Subject: Re: [OpenIndiana-discuss] stty source code > To: "Discussion list for OpenIndiana" > Date: Friday, September 7, 2012, 8:00 AM > On 07/09/2012 14:47, Reginald > Beardsley wrote: > > Perhaps you can direct me to kermit documentation that > tells

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread James Carlson
On 09/07/12 08:47, Reginald Beardsley wrote: > The pathological complexity is in the morass of sac/saf stuff. It was much > simpler in 4.1.1. And is simpler on other *nix. SAC/SAF is horrible, awful stuff from New Jersey. The less said about that, the better. If you have any dial-in service at

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread Udo Grabowski (IMK)
On 07/09/2012 14:47, Reginald Beardsley wrote: Perhaps you can direct me to kermit documentation that tells how to > convert NL from the remote host to NL-CR on the terminal. I presume that NL is meant to be LF, this may helps you: A re

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread Reginald Beardsley
The pathological complexity is in the morass of sac/saf stuff. It was much simpler in 4.1.1. And is simpler on other *nix. C-Kermit installed from source was my immediate response to the problem but I found it didn't seem to have the ability to do anything either which *really* surprised me.

Re: [OpenIndiana-discuss] stty source code

2012-09-07 Thread James Carlson
On 09/06/12 20:37, Reginald Beardsley wrote: > The real issue is the pathologically complex handling of serial lines in > Solaris and the ambiguous documentation. I am not convinced that anyone, > myself included, knows which direction is which. I know which direction is > in and out for commu

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Roel_D
our explanation. -Original Message- From: Reginald Beardsley [mailto:pulask...@yahoo.com] Sent: vrijdag 7 september 2012 2:38 To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] stty source code The MCU is 3.3V, so it requires a level shifter to match the 5V coming from the

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Reginald Beardsley
The MCU is 3.3V, so it requires a level shifter to match the 5V coming from the USB-serial adapter to the MCU. The level shifter and Keyspan work just fine, though the USB driver may not be playing nice. The real issue is the pathologically complex handling of serial lines in Solaris and the am

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Roel_D
: [OpenIndiana-discuss] stty source code Roel_D wrote: > "never" use USB-> Serial when you're testing something. There is a > huge difference between products, and the bad products behave very unpredictable. > > Don't forget that the voltage of USB is 5V MAXIMUM bu

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread James Carlson
Roel_D wrote: > "never" use USB-> Serial when you're testing something. There is a huge > difference between products, and the bad products behave very unpredictable. > > Don't forget that the voltage of USB is 5V MAXIMUM but can be much lower > depending on the hardware, legacy serialports need a

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Roel_D
for OpenIndiana Subject: Re: [OpenIndiana-discuss] stty source code Sorry, I missed that detail. I just opened the connection w/ tip, went to the window where I was setuid to uucp and did "stty olcuc wrote: > From: Andrew Gabriel > Subject: Re: [OpenIndiana-discuss] stty source code

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Gary Mills
On Thu, Sep 06, 2012 at 11:45:45AM -0400, James Carlson wrote: > > By far, I believe the best way to solve the problems you're having here > are to either (a) use something with more sophisticated terminal > emulation processing than just 'tip', which inherently assumes that > you've configured th

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread James Carlson
Reginald Beardsley wrote: > Sorry, I missed that detail. I just opened the connection w/ tip, went to > the window where I was setuid to uucp and did "stty olcuc back to the tip window. No effect. Everything is still lower case. Don't forget opost. And don't forget that the "output" options y

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Reginald Beardsley
Sorry, I missed that detail. I just opened the connection w/ tip, went to the window where I was setuid to uucp and did "stty olcuc wrote: > From: Andrew Gabriel > Subject: Re: [OpenIndiana-discuss] stty source code > To: "Discussion list for OpenIndiana" > Date:

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Andrew Gabriel
The stty changes will be lost when the last stream closes and the port settings are reset, which is probably the very instant that the stty command which makes the changes exits in your example. So this will only work if something else is holding the port open. That's why I said try it when tip

Re: [OpenIndiana-discuss] stty source code

2012-09-06 Thread Reginald Beardsley
Andrew, There are no serial ports and hence no /dev/term/b on this system. In fact if the USB<->RS-232 adapter is not plugged in, there is no /dev/term or /dev/cua either. Which may explain some of the weirdness when I was setting up the port as I don't think I had plugged in the Keyspan adapt

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread Andrew Gabriel
Reginald Beardsley wrote: Having established that the stty behavior is a red herring produced by /bin/tcsh here is a precis of the situation (pwd is /etc): oi%rhb {180} /app/bin/rcsdiff remote ttydefs === RCS file: RCS/remote,v re

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread Reginald Beardsley
Having established that the stty behavior is a red herring produced by /bin/tcsh here is a precis of the situation (pwd is /etc): oi%rhb {180} /app/bin/rcsdiff remote ttydefs === RCS file: RCS/remote,v retrieving revision 1.1 diff -

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread Reginald Beardsley
--- On Wed, 9/5/12, James Carlson wrote: > From: James Carlson > Subject: Re: [OpenIndiana-discuss] stty source code > To: "Discussion list for OpenIndiana" > Date: Wednesday, September 5, 2012, 1:26 PM > Reginald Beardsley wrote: > > This is an example of

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread James Carlson
Reginald Beardsley wrote: > This is an example of one symptom: > > oi%rhb {9} stty -a | egrep opost > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel > oi%rhb {10} stty -onlcr > oi%rhb {11} stty -a | egrep opost > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel You're probably bes

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread Reginald Beardsley
This is an example of one symptom: oi%rhb {9} stty -a | egrep opost opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel oi%rhb {10} stty -onlcr oi%rhb {11} stty -a | egrep opost opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel Notice that stty did *not* toggle onlcr. As noted earlier,

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread James Carlson
Reginald Beardsley wrote: > I find that I am unable to convert a newline returned by a remote host to > NL-CR for display in a terminal window. > > So instead of: > > ok > ok > ok > > I get: > > ok >ok > ok It's unclear to me what problem you're trying to solve. A "terminal windo

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread Reginald Beardsley
in my plans at this time. Thanks for the pointers. Have Fun! Reg --- On Wed, 9/5/12, James Carlson wrote: > From: James Carlson > Subject: Re: [OpenIndiana-discuss] stty source code > To: "Discussion list for OpenIndiana" > Date: Wednesday, September 5, 2012, 7:52 AM

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread Reginald Beardsley
Thanks. --- On Wed, 9/5/12, Yuri Pankov wrote: > From: Yuri Pankov > Subject: Re: [OpenIndiana-discuss] stty source code > To: "openindiana-discuss" > Date: Wednesday, September 5, 2012, 7:57 AM > On Tue, 4 Sep 2012 14:40:29 -0700 > (PDT), Reginald Beardsle

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread Yuri Pankov
On Tue, 4 Sep 2012 14:40:29 -0700 (PDT), Reginald Beardsley wrote: I've cloned the repository but find that the Makefile is expecting state to be set in the shell. Where would I find details on what I need to have set to compile just the things in usr/src/cmd/ttymon Is that possible? I'm re

Re: [OpenIndiana-discuss] stty source code

2012-09-05 Thread James Carlson
Reginald Beardsley wrote: > I've cloned the repository but find that the Makefile is expecting state to > be set in the shell. Where would I find details on what I need to have set > to compile just the things in > > usr/src/cmd/ttymon > > Is that possible? Look for the "bldenv" and "ws" scr

Re: [OpenIndiana-discuss] stty source code

2012-09-04 Thread Reginald Beardsley
box is a dual core Atom. Thanks. Reg --- On Mon, 9/3/12, Bill Sommerfeld wrote: > From: Bill Sommerfeld > Subject: Re: [OpenIndiana-discuss] stty source code > To: openindiana-discuss@openindiana.org > Date: Monday, September 3, 2012, 11:17 PM > On 09/03/12 20:05, Reginald Bea

Re: [OpenIndiana-discuss] stty source code

2012-09-04 Thread Reginald Beardsley
Thanks. It was a rather daunting array of possibilities. --- On Mon, 9/3/12, Bill Sommerfeld wrote: > From: Bill Sommerfeld > Subject: Re: [OpenIndiana-discuss] stty source code > To: openindiana-discuss@openindiana.org > Date: Monday, September 3, 2012, 11:17 PM > On 09/03/12

Re: [OpenIndiana-discuss] stty source code

2012-09-03 Thread Bill Sommerfeld
On 09/03/12 20:05, Reginald Beardsley wrote: Where does one find the source for the stty in 151a? https://hg.openindiana.org/ check out a copy of illumos-gate from https://hg.openindiana.org/sustaining/oi_151a/illumos-gate/ (which looks like it's OI's copy of illumos-gate) and look i

[OpenIndiana-discuss] stty source code

2012-09-03 Thread Reginald Beardsley
Where does one find the source for the stty in 151a? https://hg.openindiana.org/ really isn't very helpful in this regard. All I want is what's needed to recompile stty w/ -g and run it under dbx. I'll deal w/ the dependencies if and when I have to. Thanks, Reg __