APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > stallion switch screens ––>Re: WY-60 displayproblem
Printer Friendly Version




News Group Posts

stallion switch screens




From: Jerad Stoops <jms@sofnet.com>
Subject: Re: WY-60 display problem
Date: Tue, 13 Nov 2001 20:54:34 -0600
References: <tun172vq8oof1@corp.supernews.com> 

Jerad Stoops wrote:

> System Info:
> 
> OSR5.0.5
> Stallion Easy Connection Serial Boards (ISA internal card)
> WY-60 Dumb Terminals
> FoxBASE+ 2.1.2 Application
> 
> We have ran this setup for about two years. Many of the terminals have
> two sessions enabled on the stallion board. The user switches sessions
> using ctrl+e and ctrl+o on the dumb terminal keyboard.
> 
> When the user logs in it automatically starts our FoxBASE+
> application. Each users .profile is setup for wy-60 terminals.
> 
> At seemingly random times, when a user switches sessions (let's say
> from session A to session B), screen B gets completely munged....



<snip details>

Well, I called Stallion to see if they had seen this problem before. 
They hadn't. But during the conversation mention was made about how the 
terminal escape sequences were setup on the stallion board for 
switching sessions. I checked them and the only escape sequences 
present were only for switching the sessions, not to redraw the session 
after it had been switched.

I sat down and tested swapping sessions with this idea in mind and 
found that I could consistently reproduce the following results.

What was happening is that when the user would switch sessions the 
terminal would actually make the switch from session A to session B, 
but it would not redraw the screen to display session B. Without 
realizing what they were really doing the user would press the enter 
key which did two things; first it had the side effect of redrawing the 
screen and displaying session B, and second it acted on the FoxBASE+ 
application which was hidden from them before the redraw. If the 
"hidden" session had a screen running in the FoxBASE+ application and 
it had something like a menu or a selection grid going, in which the 
enter key would take them to another FoxBASE+ screen, it would appear 
that they were getting information displayed on the terminal from some 
unknown source, but really wasn't, it was just session B. Sometimes the 
terminal wouldn't redraw correctly because it didn't have the proper 
escape sequences sent to it and would display parts of session A and B 
inter-mixed on the screen.

I'm sure glad to get to the bottom of this. But it still leaves the 
curious problem about the line of text getting sent to the printer. Oh 
well... one thing at a time :-)

Thanks for the posts














Jerad
 

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here