Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Green Screen
  New Posts New Posts RSS Feed - Extra Characters when clearing screen
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedExtra Characters when clearing screen

 Post Reply Post Reply
Author
Message
randrx1 View Drop Down
Newbie
Newbie


Joined: February 02 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote randrx1 Quote  Post ReplyReply Direct Link To This Post Topic: Extra Characters when clearing screen
    Posted: March 02 2005 at 11:24am
Extra characters show on screen when @(-1) or @(-3) are used in Universe on ACCUTERM 2K2 (WYSE 50 emulation) on solaris.

See Example:
OUTPUT in Up arrow mode. The $<20> shows on the screen when @(-1) and @(-3) are used.
0002: :RUN RAR CURSOR1
0003: (wyse50)
0004: Width : 79
0005: Depth : 24
0006: ^027=!!CLEAR SCREEN BEFORE
0007: ^027*$<20>
0008: ^027=!!CLEAR SCREEN AFTER
0009: ^027=#!CLEAR AREA BEFORE
0010: ^027y$<20>
0011: ^027=#!CLEAR AREA AFTER
0012: ^027=*!CLEAR AREA BELOW BEFORE
0013: ^027t
0014: CLEAR AREA BELOW AFTER


ROUTINE
0001: EXECUTE "GET.TERM.TYPE"
0002: CRT @(1,1): "CLEAR SCREEN BEFORE";CRT @(-1);CRT @(1,1): "CLEAR SCREEN AFTER"
0003: CRT @(1,3): "CLEAR AREA BEFORE";CRT @(-3);CRT @(1,3):"CLEAR AREA AFTER"
0004: CRT @(1,10): "CLEAR AREA BELOW BEFORE";CRT @(-4);CRT "CLEAR AREA BELOW AFTER"
0005: END
Back to Top
jgold View Drop Down
Moderator Group
Moderator Group

Moderator

Joined: December 29 2003
Location: United States
Status: Offline
Points: 48
Post Options Post Options   Thanks (0) Thanks(0)   Quote jgold Quote  Post ReplyReply Direct Link To This Post Posted: March 03 2005 at 7:43am
Hi randrx1,

Terminal setup on Unix/Linux is a pain! Basically, there's a terminfo file that contains tables for each terminal type. It looks like you're trying to use a term type of "wyse50" and it's not set up correctly. Fixing the terminfo table is almost a black art. It's difficult to find anyone who knows how to do it anymore. To make matters worse, Universe seems to have it's own terminfo file in the UV folder. I don't know how to fix a terminfo table and I don't know anyone else who knows. Luckily for me, I was able to work around the problem by finding a terminfo record that works correctly with AccuTerm - as long as AccuTerm is running in Wyse 60 mode.

I'm emailing you two items. The first - wy60.src -is the terminfo source file. There's a Unix command that will compile it but I don't remember what it is. The second file is the compiled terminal table. All you should have to do is copy the second item (wy60) to your \UV\terminfo\w folder. After that, set your term type to wy60. Hopefully, that will get you running.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.