Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

core error - bus dumped


devel / comp.os.cpm / Terminal stuck in boldface after using Turbo Pascal

SubjectAuthor
* Terminal stuck in boldface after using Turbo PascalPaolo Amoroso
`* Terminal stuck in boldface after using Turbo PascalUdo Munk
 +* Terminal stuck in boldface after using Turbo PascalPaolo Amoroso
 |`* Terminal stuck in boldface after using Turbo PascalUdo Munk
 | `* Terminal stuck in boldface after using Turbo PascalPaolo Amoroso
 |  +* Terminal stuck in boldface after using Turbo PascalUdo Munk
 |  |`* Terminal stuck in boldface after using Turbo PascalPaolo Amoroso
 |  | `* Terminal stuck in boldface after using Turbo PascalPaolo Amoroso
 |  |  `- Terminal stuck in boldface after using Turbo Pascaldxforth
 |  +* Terminal stuck in boldface after using Turbo Pascalfridtjof.ma...@gmail.com
 |  |`- Terminal stuck in boldface after using Turbo PascalRandy McLaughlin
 |  `- Terminal stuck in boldface after using Turbo PascalAlex Plantema
 `- Terminal stuck in boldface after using Turbo Pascaldxforth

1
Terminal stuck in boldface after using Turbo Pascal

<158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4745&group=comp.os.cpm#4745

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:1c85:b0:4af:7393:3d91 with SMTP id ib5-20020a0562141c8500b004af73933d91mr4833344qvb.74.1665923497762;
Sun, 16 Oct 2022 05:31:37 -0700 (PDT)
X-Received: by 2002:a05:6808:1305:b0:355:13bc:288c with SMTP id
y5-20020a056808130500b0035513bc288cmr2902460oiv.213.1665923497460; Sun, 16
Oct 2022 05:31:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 05:31:37 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2.35.85.208; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 2.35.85.208
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
Subject: Terminal stuck in boldface after using Turbo Pascal
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Sun, 16 Oct 2022 12:31:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2634
 by: Paolo Amoroso - Sun, 16 Oct 2022 12:31 UTC

When I use Turbo Pascal on CP/M in a terminal emulator, text in the terminal gets stuck with boldface turned on.

It's enough to launch Turbo Pascal and execute any command (e.g. Compiler Options), or exit Turbo Pascal, to turn on boldface and leave it stuck both in the IDE (e.g. editing a source file) or in CCP running other programs: everything is in boldface, such as code in a source file edited in Turbo Pascal or CCP itself and the output of transient programs.

A workaround is to resize the terminal emulator window, which forces the reinitialization of the terminal.

Here are the details of my setup.

I use CP/M-80 3.0 on a Z80-MBC2[1] homebrew Z80 computer with Turbo Pascal 3.01A, and CP/M-86 1.1 on a V20-MBC[2] homebrew Nec V20 computer with Turbo Pascal 3.00B. I connect the devices to a Chromebox via serial USB and control them in a Minicom terminal emulator session under Crostini Linux, the Linux container of chromeOS.

On CP/M-80 and CP/M-86 I ran the Turbo Pascal installation utility and set the terminal to ANSI. In Minicom I tried ANSI and VT102 emulation but the issue still occurs. It occurs also with different Linux terminal emulators from which Minicom is run, Terminal (the default Crostini Linux terminal program) and Zutty[3], and Minicom in color or monochrome.

Any fixes or insight?

[1] https://hackaday.io/project/159973-z80-mbc2-a-4-ics-homebrew-z80-computer
[2] https://hackaday.io/project/170924-v20-mbc-a-v20-8088-8080-cpu-homebrew-computer
[3] https://tomscii.sig7.se/zutty/

Re: Terminal stuck in boldface after using Turbo Pascal

<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4746&group=comp.os.cpm#4746

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:15c7:b0:39b:2791:cd44 with SMTP id d7-20020a05622a15c700b0039b2791cd44mr5118965qty.676.1665925592433;
Sun, 16 Oct 2022 06:06:32 -0700 (PDT)
X-Received: by 2002:a05:6870:d6a4:b0:12b:14cb:c758 with SMTP id
z36-20020a056870d6a400b0012b14cbc758mr3447409oap.139.1665925591702; Sun, 16
Oct 2022 06:06:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 06:06:31 -0700 (PDT)
In-Reply-To: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=87.122.5.52; posting-account=RHtB3AoAAABZlu_FJY7ySUmJrtfW41bO
NNTP-Posting-Host: 87.122.5.52
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: udo.munk@freenet.de (Udo Munk)
Injection-Date: Sun, 16 Oct 2022 13:06:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1479
 by: Udo Munk - Sun, 16 Oct 2022 13:06 UTC

This is because not properly patched turbo.com. If you just select VT-100 from the configuration
menu you'll get such behaviour. Instead of that one needs to go though the manual patching
procedure for unknow terminals, and set up everything self.
You can find a properly patched Turbo Pascal 3.01A disk image in the z80pack repository.

Re: Terminal stuck in boldface after using Turbo Pascal

<c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4747&group=comp.os.cpm#4747

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:144a:b0:39c:c974:9522 with SMTP id v10-20020a05622a144a00b0039cc9749522mr5246910qtx.338.1665927052581;
Sun, 16 Oct 2022 06:30:52 -0700 (PDT)
X-Received: by 2002:a9d:f4a:0:b0:661:b88c:9dd2 with SMTP id
68-20020a9d0f4a000000b00661b88c9dd2mr3018514ott.339.1665927052341; Sun, 16
Oct 2022 06:30:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 06:30:52 -0700 (PDT)
In-Reply-To: <e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2.35.85.208; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 2.35.85.208
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com> <e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Sun, 16 Oct 2022 13:30:52 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1426
 by: Paolo Amoroso - Sun, 16 Oct 2022 13:30 UTC

Thanks Udo. If I understand correctly, manual patching for unknown terminals requires entering all the escape sequences for ANSI or VT-100, right? So why did Turbo Pascal provide a preconfigured ANSI entry that doesn't work?

Re: Terminal stuck in boldface after using Turbo Pascal

<tih2nt$qfe$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4748&group=comp.os.cpm#4748

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxforth@gmail.com (dxforth)
Newsgroups: comp.os.cpm
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
Date: Mon, 17 Oct 2022 00:59:25 +1100
Organization: Aioe.org NNTP Server
Message-ID: <tih2nt$qfe$1@gioia.aioe.org>
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="27118"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Sun, 16 Oct 2022 13:59 UTC

On 17/10/2022 12:06 am, Udo Munk wrote:
> This is because not properly patched turbo.com. If you just select VT-100 from the configuration
> menu you'll get such behaviour. Instead of that one needs to go though the manual patching
> procedure for unknow terminals, and set up everything self.
> You can find a properly patched Turbo Pascal 3.01A disk image in the z80pack repository.

Some TP utilities folks might find useful:

DTADMP11.ZIP - Dumps TINST.DTA files
TPINST16.ZIP - Terminal installer for TP executables

https://drive.google.com/drive/folders/1kh2WcPUc3hQpLcz7TQ-YQiowrozvxfGw

Re: Terminal stuck in boldface after using Turbo Pascal

<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4749&group=comp.os.cpm#4749

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:15c7:b0:39b:2791:cd44 with SMTP id d7-20020a05622a15c700b0039b2791cd44mr5907732qty.676.1665940594562;
Sun, 16 Oct 2022 10:16:34 -0700 (PDT)
X-Received: by 2002:a05:6808:171b:b0:34d:444a:fc1e with SMTP id
bc27-20020a056808171b00b0034d444afc1emr11397179oib.85.1665940594366; Sun, 16
Oct 2022 10:16:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 10:16:34 -0700 (PDT)
In-Reply-To: <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=87.122.5.52; posting-account=RHtB3AoAAABZlu_FJY7ySUmJrtfW41bO
NNTP-Posting-Host: 87.122.5.52
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com> <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: udo.munk@freenet.de (Udo Munk)
Injection-Date: Sun, 16 Oct 2022 17:16:34 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1840
 by: Udo Munk - Sun, 16 Oct 2022 17:16 UTC

paolo....@gmail.com schrieb am Sonntag, 16. Oktober 2022 um 15:30:53 UTC+2:
> Thanks Udo. If I understand correctly, manual patching for unknown terminals requires entering all
> the escape sequences for ANSI or VT-100, right? So why did Turbo Pascal provide a preconfigured
> ANSI entry that doesn't work?

Yes, you need to go through the whole terminal configuration and enter all sequences self.
The preconfigured VT-100 does work, but they didn't care about clearing all terminal attributes
when quiting the program. That often leaves bold attribute on, which is annoying.

Re: Terminal stuck in boldface after using Turbo Pascal

<307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4750&group=comp.os.cpm#4750

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:5be6:0:b0:4b3:ff39:7ad4 with SMTP id k6-20020ad45be6000000b004b3ff397ad4mr5828115qvc.126.1665943943884;
Sun, 16 Oct 2022 11:12:23 -0700 (PDT)
X-Received: by 2002:a05:6808:11d0:b0:347:ca40:66ec with SMTP id
p16-20020a05680811d000b00347ca4066ecmr11606370oiv.214.1665943943646; Sun, 16
Oct 2022 11:12:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 11:12:23 -0700 (PDT)
In-Reply-To: <642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2.35.85.208; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 2.35.85.208
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com> <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Sun, 16 Oct 2022 18:12:23 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1615
 by: Paolo Amoroso - Sun, 16 Oct 2022 18:12 UTC

Okay then, I'll reconfigure the terminal.

As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition, but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me change on CP/M-86: https://imgur.com/a/vVhss4o

Re: Terminal stuck in boldface after using Turbo Pascal

<df5a4327-e399-46a4-a1c6-dafeda624491n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4751&group=comp.os.cpm#4751

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:a996:0:b0:6ec:59da:a72 with SMTP id s144-20020a37a996000000b006ec59da0a72mr5423305qke.676.1665946019863;
Sun, 16 Oct 2022 11:46:59 -0700 (PDT)
X-Received: by 2002:aca:6109:0:b0:345:3bd7:7f4d with SMTP id
v9-20020aca6109000000b003453bd77f4dmr3442183oib.69.1665946019625; Sun, 16 Oct
2022 11:46:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 11:46:59 -0700 (PDT)
In-Reply-To: <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=87.122.5.52; posting-account=RHtB3AoAAABZlu_FJY7ySUmJrtfW41bO
NNTP-Posting-Host: 87.122.5.52
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com> <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com> <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <df5a4327-e399-46a4-a1c6-dafeda624491n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: udo.munk@freenet.de (Udo Munk)
Injection-Date: Sun, 16 Oct 2022 18:46:59 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1870
 by: Udo Munk - Sun, 16 Oct 2022 18:46 UTC

paolo....@gmail.com schrieb am Sonntag, 16. Oktober 2022 um 20:12:24 UTC+2:
> Okay then, I'll reconfigure the terminal.
>
> As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition,
> but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me
> change on CP/M-86: https://imgur.com/a/vVhss4o

Send a reset string to the terminal is set to N. Set to Y and escape sequence use what switches all attributes off.

Re: Terminal stuck in boldface after using Turbo Pascal

<d6f79dc3-b15a-40ec-a30f-bc1a55af6c6fn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4752&group=comp.os.cpm#4752

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:768:b0:4b3:91e1:a43c with SMTP id f8-20020a056214076800b004b391e1a43cmr6111695qvz.19.1665947415564;
Sun, 16 Oct 2022 12:10:15 -0700 (PDT)
X-Received: by 2002:a05:6870:591:b0:132:6c20:84f8 with SMTP id
m17-20020a056870059100b001326c2084f8mr13569283oap.214.1665947415190; Sun, 16
Oct 2022 12:10:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 12:10:14 -0700 (PDT)
In-Reply-To: <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9315:f100:47f5:771c:fb0a:bb43;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9315:f100:47f5:771c:fb0a:bb43
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com> <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com> <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d6f79dc3-b15a-40ec-a30f-bc1a55af6c6fn@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: fridtjof.martin.weigel@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Sun, 16 Oct 2022 19:10:15 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2545
 by: fridtjof.ma...@gmail - Sun, 16 Oct 2022 19:10 UTC

On Sunday, October 16, 2022 at 2:12:24 PM UTC-4, paolo....@gmail.com wrote:
> Okay then, I'll reconfigure the terminal.
>
> As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition, but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me change on CP/M-86: https://imgur.com/a/vVhss4o

Yes, the default TINST.COM from Borland leaves the terminal in hi-light (bold).

I use a little utility I named CLS.COM

0100: 0E 09 11 09 01 CD 05 00 C9
0109: 1B 03 1B 3C 1B 5B 3F 33 6C 1B 5B 48 1B 5B 32 4A 1B 5B 30 6D 24

From 100..108 is a little program:
MVI C,09
LXI D,0109
CALL 0005
RET

And 109..11D is data (a string terminated by '$').

This just displays one string to the console, and exits. The string does the following:
Switch to VT100 (if in TEK), Go to VT100 mode (if in VT52) , Go to 80 column mode,
Home cursor, Clear screen, Normal attributes.

You can enter this with DDT (S100, enter bytes. "." at end), ^C to get to prompt, then
"SAVE 1 CLS.COM"

Fred Weigel

Re: Terminal stuck in boldface after using Turbo Pascal

<8ddb7aac-0ebf-4a6a-8f95-21d5fd3a8f40n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4753&group=comp.os.cpm#4753

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a0c:cb8d:0:b0:4b1:7a87:8ad5 with SMTP id p13-20020a0ccb8d000000b004b17a878ad5mr6124756qvk.35.1665948288834;
Sun, 16 Oct 2022 12:24:48 -0700 (PDT)
X-Received: by 2002:a05:6808:1205:b0:354:2815:4f3c with SMTP id
a5-20020a056808120500b0035428154f3cmr11701214oil.26.1665948288558; Sun, 16
Oct 2022 12:24:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 16 Oct 2022 12:24:48 -0700 (PDT)
In-Reply-To: <d6f79dc3-b15a-40ec-a30f-bc1a55af6c6fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:3c7:8201:670:317c:df14:c473:d2b6;
posting-account=PFWPPwoAAACyqfximQYdiAnvYtofle1M
NNTP-Posting-Host: 2601:3c7:8201:670:317c:df14:c473:d2b6
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com> <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com> <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
<d6f79dc3-b15a-40ec-a30f-bc1a55af6c6fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8ddb7aac-0ebf-4a6a-8f95-21d5fd3a8f40n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: randy482@hotmail.com (Randy McLaughlin)
Injection-Date: Sun, 16 Oct 2022 19:24:48 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2794
 by: Randy McLaughlin - Sun, 16 Oct 2022 19:24 UTC

On Sunday, October 16, 2022 at 2:10:16 PM UTC-5, fridtjof.ma...@gmail.com wrote:
> On Sunday, October 16, 2022 at 2:12:24 PM UTC-4, paolo....@gmail.com wrote:
> > Okay then, I'll reconfigure the terminal.
> >
> > As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition, but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me change on CP/M-86: https://imgur.com/a/vVhss4o
> Yes, the default TINST.COM from Borland leaves the terminal in hi-light (bold).
>
> I use a little utility I named CLS.COM
>
> 0100: 0E 09 11 09 01 CD 05 00 C9
> 0109: 1B 03 1B 3C 1B 5B 3F 33 6C 1B 5B 48 1B 5B 32 4A 1B 5B 30 6D 24
>
> From 100..108 is a little program:
> MVI C,09
> LXI D,0109
> CALL 0005
> RET
>
> And 109..11D is data (a string terminated by '$').
>
> This just displays one string to the console, and exits. The string does the following:
> Switch to VT100 (if in TEK), Go to VT100 mode (if in VT52) , Go to 80 column mode,
> Home cursor, Clear screen, Normal attributes.
>
> You can enter this with DDT (S100, enter bytes. "." at end), ^C to get to prompt, then
> "SAVE 1 CLS.COM"
>
> Fred Weigel
FYI call 5, ret is the slower longer way of saying jump 5.

Randy

Re: Terminal stuck in boldface after using Turbo Pascal

<tijaij$3dqkh$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4754&group=comp.os.cpm#4754

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: alex@nl.invalid (Alex Plantema)
Newsgroups: comp.os.cpm
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
Date: Mon, 17 Oct 2022 12:25:24 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <tijaij$3dqkh$2@dont-email.me>
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com>
<c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com>
<307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Oct 2022 10:25:24 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9efd82a69a2dc2c7f45a36c6239dc332";
logging-data="3598993"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18n8z5FdmXUVtTiq3LOon+c"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
Cancel-Lock: sha1:YS0a834wmrfNAHOzaEPPHa5a30k=
Content-Language: nl
In-Reply-To: <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
 by: Alex Plantema - Mon, 17 Oct 2022 10:25 UTC

Op zo 16-10-2022 om 20:12 schreef Paolo Amoroso:
> Okay then, I'll reconfigure the terminal.
>
> As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition, but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me change on CP/M-86: https://imgur.com/a/vVhss4o

Try exchanging the codes for start and end highlighting.

--
Alex.

Re: Terminal stuck in boldface after using Turbo Pascal

<680971a8-4521-49f7-9e87-435c8a0d33a9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4757&group=comp.os.cpm#4757

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:500d:b0:4af:8e3c:d254 with SMTP id jo13-20020a056214500d00b004af8e3cd254mr3225611qvb.36.1666114988076;
Tue, 18 Oct 2022 10:43:08 -0700 (PDT)
X-Received: by 2002:a05:6870:344b:b0:136:6e4b:a81b with SMTP id
i11-20020a056870344b00b001366e4ba81bmr2262099oah.281.1666114987655; Tue, 18
Oct 2022 10:43:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Tue, 18 Oct 2022 10:43:07 -0700 (PDT)
In-Reply-To: <df5a4327-e399-46a4-a1c6-dafeda624491n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2.35.85.208; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 2.35.85.208
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com> <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com> <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
<df5a4327-e399-46a4-a1c6-dafeda624491n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <680971a8-4521-49f7-9e87-435c8a0d33a9n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Tue, 18 Oct 2022 17:43:08 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1937
 by: Paolo Amoroso - Tue, 18 Oct 2022 17:43 UTC

> Send a reset string to the terminal is set to N. Set to Y and escape sequence use what switches all attributes off.

I run TINST, selected the ANSI entry, and modified it to change the terminal reset string to:

$1b $63 $1b $5b $32 $4a

which contains the escape codes:

ESC c ESC [ 2 J
Reset Clear screen

Now text attributes are properly handled and the terminal is no longer stuck in boldface after using Turbo Pascal.

Thanks Udo and all for the suggestions and feedback.

Re: Terminal stuck in boldface after using Turbo Pascal

<a6e9df35-dcd8-4b95-a2bb-de6f65452748n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4758&group=comp.os.cpm#4758

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:6453:0:b0:6ec:5fb8:a882 with SMTP id y80-20020a376453000000b006ec5fb8a882mr2910253qkb.612.1666120726674;
Tue, 18 Oct 2022 12:18:46 -0700 (PDT)
X-Received: by 2002:a54:4899:0:b0:354:add8:52ab with SMTP id
r25-20020a544899000000b00354add852abmr2312890oic.229.1666120726388; Tue, 18
Oct 2022 12:18:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Tue, 18 Oct 2022 12:18:46 -0700 (PDT)
In-Reply-To: <680971a8-4521-49f7-9e87-435c8a0d33a9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2.35.85.208; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 2.35.85.208
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com> <c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com> <307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
<df5a4327-e399-46a4-a1c6-dafeda624491n@googlegroups.com> <680971a8-4521-49f7-9e87-435c8a0d33a9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a6e9df35-dcd8-4b95-a2bb-de6f65452748n@googlegroups.com>
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Tue, 18 Oct 2022 19:18:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1677
 by: Paolo Amoroso - Tue, 18 Oct 2022 19:18 UTC

On Tuesday, October 18, 2022 at 7:43:09 PM UTC+2, Paolo Amoroso wrote:
> ESC c ESC [ 2 J

In case you're wondering ESC c is not enough as the terminal is only reset but not cleared.

Re: Terminal stuck in boldface after using Turbo Pascal

<tinlan$13rg$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4759&group=comp.os.cpm#4759

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxforth@gmail.com (dxforth)
Newsgroups: comp.os.cpm
Subject: Re: Terminal stuck in boldface after using Turbo Pascal
Date: Wed, 19 Oct 2022 12:53:31 +1100
Organization: Aioe.org NNTP Server
Message-ID: <tinlan$13rg$1@gioia.aioe.org>
References: <158a6550-b77b-4a9b-a9e9-4c62a10db2b2n@googlegroups.com>
<e10dfa53-6444-4bdc-af52-7a08daf48976n@googlegroups.com>
<c46777ad-a2d8-440f-9d09-3dfad5398409n@googlegroups.com>
<642c3f1d-160d-4c3b-bc44-e97be7801208n@googlegroups.com>
<307917aa-838b-4970-8781-1c7998eba5e3n@googlegroups.com>
<df5a4327-e399-46a4-a1c6-dafeda624491n@googlegroups.com>
<680971a8-4521-49f7-9e87-435c8a0d33a9n@googlegroups.com>
<a6e9df35-dcd8-4b95-a2bb-de6f65452748n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="36720"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Wed, 19 Oct 2022 01:53 UTC

On 19/10/2022 6:18 am, Paolo Amoroso wrote:
> On Tuesday, October 18, 2022 at 7:43:09 PM UTC+2, Paolo Amoroso wrote:
>> ESC c ESC [ 2 J
>
> In case you're wondering ESC c is not enough as the terminal is only reset but not cleared.

There are similar issues under MS-DOS when exiting a program. Merely
resetting the video attribute byte is often not enough :)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor