Subject: Pine 3.91 on Wyse 50 terminals ?

From: Austin Adamson - IS <[email-masked]>
Date: Fri, 2 Jun 1995 09:29:17 -0600

I have compiled and installed Pine 3.91 on our system (Unix SVR4) 
and it seems to work great.  The only problem that we've been having is 
the way Pine functions on some Wyse 50 terminals that we have.  

	Pine does not repaint the screen correctly and none of the keys 
seem to work correctly.  The arrow keys will not move around in the menus 
or do what they are supposed to do.  

	Can anyone help or is this just a problem where Pine won't work 
with a Wyse 50 terminal?  Any help would be appreciated.  

	Thanks in advance.

				Austin F. Adamson
				System/Network Administrator
				BYU Bookstore
				[email-masked]

---

From: [email-masked] (Emre Brookes)
Date: 7 Jun 1995 15:05:28 GMT

Austin Adamson - IS (austina@bookstore) wrote:
: 	Pine does not repaint the screen correctly and none of the keys 
: seem to work correctly.  The arrow keys will not move around in the menus 
: or do what they are supposed to do.  

I have the same problem.  I think it's the fact that wy50 have a problem
with reverse video (It takes up a character space to turn it on and off).
I need to get this working also.  

--
[email-masked]

---

From: "Brian P. Hampson" <[email-masked]>
Date: Thu, 8 Jun 1995 12:19:58 -0700 (PDT)

> I need to get this working also.  

Have you had a look at:

---
#!/bin/sh
wpinesetup(){

echo "\nSetting up Wyse arrow and function keys..."

# Next/Prev Page

echo "\033Z1r \0177\c"
echo "\033Z1w-\0177\c"

# Char/Line delete

echo "\033Z15\04\0177\c"
echo "\033Z16\013\0177\c"

# Arrow keys

echo "\033Z1+\033[A\0177\c"
echo "\033Z1,\033[B\0177\c"
echo "\033Z1.\033[C\0177\c"
echo "\033Z1-\033[D\0177\c"

echo "Done\n"
}

wpinereset() {

echo "\nResetting standard Wyse arrow/function keys..."

#t/Prev Page

echo "\033Z1r\0177\c"
echo "\033Z1w\0177\c"

# Char/Line delete

echo "\033Z15\0177\c"
echo "\033Z16\0177\c"

# Arrow keys

echo "\033Z1+\0177\c"
echo "\033Z1.\0177\c"
echo "\033Z1,\0177\c"
echo "\033Z1-\0177\c"

echo "Done.\n"
}
if [ "$TERM" != "wyse50" ]
then
	/local/bin/pine1 $*  
	clear
	exit 
fi
	trap wpinereset 0 1 2 3 15
	wpinesetup
	/local/bin/pine1 $*  
	wpinereset
	clear 
	exit

----------------
if you have any questions....I MIGHT be able to help, although I am just 
a modifier of the script..someone else did the key figuring.

B.

   ------------------------------------------------------------------------
   |Brian P. Hampson                  Internet: [email-masked]      |
   |System Administrator,	                      			  |
   |Analytical Service Labs           Fidonet : Brian Hampson 1:153/733   |
   |Vancouver, BC                                                         |
   |+604-253-4188                                                         |
   |               Specialists in Environmental Chemistry                 | 
   |                                                                      |
   ------------------http://www.asl-labs.bc.ca/----------------------------

---

From: [email-masked] (Thorn Roby)
Date: Fri, 9 Jun 1995 09:27:12 -0600 (MDT)

In my experience, the script to modify the Wyse arrow keys only works
on terminals that support Wyse50+ mode. I think this means Wyse60 and
later. If someone knows a way to make it work on a plain Wyse50, I'd
be interested to hear about it.
-- 

Thorn Roby                              [email-masked]
CARL Corporation
3801 E. Florida Ave.,Suite 300,Denver CO 80210  (303) 758-3030 x125

---

From: "Brian P. Hampson" <[email-masked]>
Date: Fri, 9 Jun 1995 10:30:22 -0700 (PDT)

> be interested to hear about it.

Ah...That MUST be it. Sorry for the misleading notions.

B.

   ------------------http://www.asl-labs.bc.ca/----------------------------