Subject: Improper handling of a wyse and wyse50?

From: [email-masked] (Cort)
Date: 10 Oct 1994 03:53:28 GMT

I've had trouble getting pine to use a wyse and wyse50 terminal properly.
I've looked through the technical notes and documentation and haven't found
any references to this problem.

I'm having the problem on suns running sunos 4.1.3 (haven't tried our other
architectures yet) with a wyse and wyse50.

Anyone have any ideas on what might be causing this?  Possibly a problem in
the sunos termcap?

---

From: Brad <[email-masked]>
Date: Mon, 10 Oct 1994 17:18:00 +0100 (BST)

> any references to this problem.

	I'm pretty sure that Pine doesn't support these terminals. 

	--Simon.

---

From: [email-masked] (Andrew Seabolt)
Date: Tue, 11 Oct 1994 21:53:55

>        --Simon. 

We use Wyse60 terminals capable of emulating a VT100/Wyse75 terminal.  I think 
that Simon is right in saying that PINE doesn't support terminals with the 
attributes that "normal" Wyse 50 terminals have.  

We had to completely reconfigure our terminals here so that all our 
applications running off our Sparc 10 (running 4.1.3) would also emulate the 
Wyse75 terminal which is nothing more than a VT100 terminal that gives a few 
plusses with function key and keypad emulation.

Since we've had PINE installed on our system though since version 3.04, I 
haven't looked to see if the support has been expanded to include the Wyse 
native terminal, I have a feeling it might not even now ...

---

From: [email-masked]
Date: 12 Oct 1994 18:35:14 GMT

> architectures yet) with a wyse and wyse50.

The most likely cause of your trouble is that the Wyse50 "highlighting"
commands actually take up a character position on the screen, so the
following text is shifted right by one space.  Pine doesn't realize
that this is happening, so when it redraws the screen, it may put text
in the wrong place.

There *is* a workaround for this.  You can edit the termcap file --
tell Pine to use "set write-protect" instead of "set display attribute"
when it wants to highlight.   Write-protect, unlike the other
attributes, does not take up a character position.

Here's what you need to change in the termcap file.  (Some of this is
from memory, so I may be slightly off).

    1. Change the :so=\EG4: attribute to :so=\E):

    2. Change the :se=\EG0: attribute to :se=\E(:

    3. Change the :sg#1: attribute to :sg#0:

    4. On the terminal's set-up menu, indicate that write-protected
       characters should be displayed as "inverse-video" (instead of the
       factory-default setting of "half-intensity").

This fix also works for Televideo 910/925 terminals, except you may
have to skip step 4.

Andy

-- 
Practice random kindness and senseless acts of beauty.        (Anne Herbert)

Andy Behrens			      <[email-masked]>
P.O. Box 116, South Strafford, Vermont 05070
Burlington Coat Factory, Schoolhouse Rd., Etna, N.H. 03750