[comp.binaries.ibm.pc.d] Telix 80x50 mode Bug

deen@romulus.rutgers.edu (Cinnamon Raisin) (10/13/90)

Greetings,

	Has anyone found a cure for the 80x50 blues?

	When I use Telix in the 80x50 or 80x43 mode to call our local
	Sun4, it bombs after a while causing LF/CR to be interpreted
	as a LF, I think.  The result is a very messed up looking
	screen.  It seems to happen whenever I run emacs, but it
	happened just at the shell level also.

	I am using Telix 3.12
		on a Tandy 1000sx ;-<
		640k
		Paradise 16+ VGA

	Our Sun4 is running BSD 4.3 I think, (SunOS 4.0.3)
		with whatever the current version of Emacs is (18.*).
	and I am using vt100 term, although it happens with ansi
	term also.

					...LATER...

					-Z Raisin
-- 
---
"May The Prezent Tenz Be With You."
-The Super Amazin Cinnamon Raisin
 deen@romulus.rutgers.edu

brabec@gauss.Princeton.EDU (Charles Brabec) (10/15/90)

In article <Oct.13.10.58.37.1990.5399@romulus.rutgers.edu> deen@romulus.rutgers.edu (Cinnamon Raisin) writes:
>	When I use Telix in the 80x50 or 80x43 mode to call our local
>	Sun4, it bombs after a while causing LF/CR to be interpreted
>	as a LF, I think.  The result is a very messed up looking
>	screen.  It seems to happen whenever I run emacs, but it
>	happened just at the shell level also.

 I've had similar problems with Telix. I still don't have a solution, but 
I've narrowed it down a bit more. Usually this happens while I'm in vi.
Somehow Telix decides to shift all the entries in the beginning of the 
incoming translation table. The result is that all the escape codes sent
to my terminal come in a chr(26) instead or chr(27) causing a real mess.

I don't know of a permanent solution, but each time it happens, just hit
alt-W followed by 'I' followed by 'C' followed by 'X'.

Anyone know of a better way to handle this, or a different com program
that can use 80x50 mode?

-------------------------------------------------------------------------------
-- Charles J. Brabec        -- "I know now that there's one thing you've all --
-- Graduate Student (Slave) -- overlooked: intelligence and education that   --
-- Princeton University     -- hasn't been tempered by human affection isn't --
-- brabec@acm.princeton.edu -- worth a damn."                                --
--                          --    -Daniel Keyes, _Flowers_for_Algernon_      --
-------------------------------------------------------------------------------
-- All opinions expressed are entirely my own.                               --
-------------------------------------------------------------------------------

nelson@sgi.com (Nelson Bolyard) (10/16/90)

In article <Oct.13.10.58.37.1990.5399@romulus.rutgers.edu> 
deen@romulus.rutgers.edu (Cinnamon Raisin) writes:
>	When I use Telix in the 80x50 or 80x43 mode to call our local
>	Sun4, it bombs after a while causing LF/CR to be interpreted
>	as a LF, I think.  The result is a very messed up looking
>	screen.  It seems to happen whenever I run emacs, but it
>	happened just at the shell level also.
>
>	I am using Telix 3.12
>		on a Tandy 1000sx ;-<
>		640k
>		Paradise 16+ VGA
>
>	Our Sun4 is running BSD 4.3 I think, (SunOS 4.0.3)
>		with whatever the current version of Emacs is (18.*).
>	and I am using vt100 term, although it happens with ansi
>	term also.

When Telix is operating in the 43 or 50 line mode, the escape sequences
sent to a VT-100 terminal to do an "insert line" function alter the Telix
input character translate tables.  To observe this, while the screen is
"very messed up looking", type ALT-W I  .

This shows you the incoming translate table.  Normally, every number is
matched with it's own value, that is, 1=>1, 2=>2, etc.  When the table
gets altered, you find 1=>0, 2=>1, 3=>2, etc. 

To temporarily fix the problem, type ALT-W I C X.
This puts the table back in its pristine state.  Unfortunately, the next
time you insert a line, it gets altered again.  The insert line function
occurs every time your editor tries to put another line in the middle of a
screen, e.g. you're typing a new paragraph in the middle of a file with vi.

What can you do about it?
1.  Be sure you have the "registered" version of telix.  
    The makers of Telix claim this is fixed in the "registered" version.
2.  Use 25-line mode.
3.  Wait for the next version of Telix.
4.  Use a different program.  I recently discovered QMODEM 4.2.  It seems to
    have all of the desired features (50-lines, ZModem, scrollback), and I
    haven't felt the desire to curse its terminal emulation.

Here's another Telix VT-100 emulation feature you may wish to compensate.
Configure Telix for black characters on white (well, gray) background.
Run vi, notice that the top line of the screen is reverse video after the
last non-blank character.  Workaround: change your terminfo/termcap file, 
e.g. change 
	:cd=\E[J: 
to 
	:cd=\E[J\E[K:   
or for terminfo, change to
	clear=\E[H\E[J$<50>\E[K,
	ed=\E[J$<50>\E[K

Once in a while, my system would stop sending keystrokes to the remote host
right after a successful Telix Zmodem download.  After about the fifth
time, I discovered the following solution, type Alt-J (Jump to DOS) then
immediately type exit.  Voila.  

Hope this helps.
-----------------------------------------------------------------------------
Nelson Bolyard      nelson@sgi.COM      {decwrl,sun}!sgi!whizzer!nelson
Disclaimer: Views expressed herein do not represent the views of my employer.
-----------------------------------------------------------------------------