Previous Thread
Next Thread
Print Thread
DIR.LIT displays spurious "I1" after files #35777 04 Dec 22 10:05 AM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
A-Shell v6.5 -- on Centos 7.9.2009 -- from AlphaLAN with AM62C terminal driver -- DIR v3.4(172) displays "I1" just in front of dot prompt when its results exceed 24 lines.

The same command -- from ATE with AM62CG driver - does not have this problem. Unfortunately, (AlphaLAN does not support the AM62CG driver.)

The problem is a little more mysterious than this: see below for results under a 50 line display.

Attached Files ash65 dir bug w am62c driver - good w 20 files.JPGash65 dir bug w am62c driver - bad w 21 files.JPGash65 dir bug w am62c driver - bad w 50 line display.JPG
Last edited by Steven Shatz; 04 Dec 22 10:10 AM.
Re: DIR.LIT displays spurious "I1" after files [Re: Steven Shatz] #35779 04 Dec 22 11:12 AM
Joined: Jun 2001
Posts: 11,925
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,925
The garbage is from the ESC sequence sent to the client terminal to activate ATE's vertical scroll bar (in cases where the DIR caused scrolling, which is why it doesn't always happen).

DIR actually had logic to detect whether the client supported the feature, but the logic had a loophole in it that the AM62C driver was falling into.

I've posted an update DIR.LIT 3.4(173) which should resolve that problem. You can download it by running the UPDCUR.LIT command while logged into SYS: within a 6.5 installation. (The DIR.LIT should be backwards compatible, so once you download it onto a 6.5 system, you can manually transfer it to a 6.4 system.)

Re: DIR.LIT displays spurious "I1" after files [Re: Steven Shatz] #35781 04 Dec 22 11:35 AM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
Yay! That did that trick - problem gone! Thank you.

Re: DIR.LIT displays spurious "I1" after files [Re: Steven Shatz] #35792 05 Dec 22 03:36 PM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
I rejoiced too soon. I still get "I1"s when I invoke certain command files which then cause scrolling.

For example: cmd:s.cmd
Code
:r
systat/N/A/P/SU/ATE

The problem does not occur in ATE, nor if I enter the same systat command at a dot prompt.

Attached Files ash65 cmd file bug w am62c driver - bad when scrolling occurs.JPG
Last edited by Steven Shatz; 05 Dec 22 03:37 PM.
Re: DIR.LIT displays spurious "I1" after files [Re: Steven Shatz] #35793 05 Dec 22 05:32 PM
Joined: Jun 2001
Posts: 11,925
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,925
The problem was in a common function shared by DIR, SYSTAT, TYPE, and all the variations of COMPIL. They've now all be updated and can be downloaded via the UPDCUR utility.

Re: DIR.LIT displays spurious "I1" after files [Re: Steven Shatz] #35794 05 Dec 22 05:56 PM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
Thank you. That seems to have solved the latest instance of the problem.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3