[comp.unix.wizards] SCREEN problems...

thoyt@ddn-wms.arpa (Thomas Hoyt) (04/21/89)

	I am having difficulties using the screen window manager utility mentioned
in this publication earlier this week.  I am running under Sun Unix 4.2.

	The program runs fine.  It seems to be doing everything as advertised.
USING the windows it creates is the problem.  Here are the symptoms:
When I more a large file, after several pages, more starts paging by itself.
Something is sending more input repeatedly.  Sometimes it will continue for
a spell and stop.  When I tap the space bar for another page, it's off to the
races once more--sometimes all the way to the end of the file.
	
	What's more irritating, the same thing happens in vi.  When I do a page down
or several returns, the editor starts zipping down the file helter-skelter.
From what I can deduce, something(?) is sending these two programs "60"<CR>
over and over, as if it were coming from my terminal.  Returning to the
shell ends this input.

	While there may be termcap incompatibilities, this doesn't sound like
your typical termcap problem.  Anyone else experienced this problem or
problems like it with this windowing package?  Did I install it wrong?
Is there something strange about Sun 4.2?  I've already spent a day peering
into the code with no luck.  Respond to the net or directly to 
thoyt@ddn-wms.arpa.  Thanks.

									-- Thomas Hoyt
										CRC Systems, Inc.
										Fairfax, VA (thoyt@ddn-wms.arpa)
------------------------------------------------------------------------------

allbery@ncoast.ORG (Brandon S. Allbery) (04/27/89)

As quoted from <19217@adm.BRL.MIL> by thoyt@ddn-wms.arpa (Thomas Hoyt):
+---------------
| 	I am having difficulties using the screen window manager utility mentioned
| in this publication earlier this week.  I am running under Sun Unix 4.2.
| 
| 	What's more irritating, the same thing happens in vi.  When I do a page down
| or several returns, the editor starts zipping down the file helter-skelter.
| From what I can deduce, something(?) is sending these two programs "60"<CR>
| over and over, as if it were coming from my terminal.  Returning to the
| shell ends this input.
+---------------

Are you by any chance using a Wyse 60 terminal?  If so, make sure that your
termcap isn't trying to send the sequence <ESC><SPACE>.  (ESC SPACE means
"identify terminal" to Wyse terminals; the response is (model-number) <CR>.)

++Brandon
-- 
Brandon S. Allbery, moderator of comp.sources.misc	     allbery@ncoast.org
uunet!hal.cwru.edu!ncoast!allbery		    ncoast!allbery@hal.cwru.edu
      Send comp.sources.misc submissions to comp-sources-misc@<backbone>
NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser

thoyt@ddn-wms.arpa (Thomas Hoyt) (04/29/89)

>+--------------------------------
>|      I am having difficulties using the screen window manager...
>|...
>+-----------------------
>...
>      Are you by any chance using a wyse 60 terminal?....
>...

    Bingo.  Something is sending <ESC><SPACE> which the produces a
"60" <CR> and sending an <ESC> "c" which resets the terminal periodically.
I have confirmed this with Wyse documentation.

    Trouble is, neither code appears in the vt100 termcap entry that comes
with SCREEN or in the entry I normally use.  Even if I reset TERM to the
latter, the same symptoms appear.

	Do I need a new terminal, a new vt100 emulation...or just a new brain?:-)

---------------------------------------------------------------------------
Thomas Hoyt             |  "Government Computers for Government business..."
CRC Systems, Inc.       |  "NO FUN ALLOWED..."
thoyt@ddn-wms.arpa
---------------------------------------------------------------------------