Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Ralf Quint
On 6/14/2022 3:18 PM, Zbigniew wrote: Googling around gave no result. It seems it doesn't exist „ready for use”, so just to make sure: does DOS/BIOS offer any possibility to set active screen output „window” — I mean something like BIOS int 10h/06-07 — but trapping cursor inside? What I mean is u

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Mercury Thirteen via Freedos-user
Ah. Perhaps I'm remembering it incorrectly. It's been a long time since I used the BIOS-based windowing functions. :) Sent with Proton Mail secure email. --- Original Message --- On Tuesday, June 14th, 2022 at 8:44 PM, Zbigniew wrote: > > The content will indeed wrap, just on a pe

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Zbigniew
> The content will indeed wrap, just on a per-character basis instead of > per-word. It functions exactly how wrapping does when printing to the entire > screen. Which exactly BIOS/DOS interrupt/function you mean? Just made a short test using int 10h/06 and it doesn't work that way. It makes a "wi

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Mercury Thirteen via Freedos-user
The content will indeed wrap, just on a per-character basis instead of per-word. It functions exactly how wrapping does when printing to the entire screen. Sent with Proton Mail secure email. --- Original Message --- On Tuesday, June 14th, 2022 at 7:53 PM, Zbigniew wrote: > > If yo

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Zbigniew
> If you're speaking purely about limiting the cursor to the bounds of the > current window (which is what I believe you're referring to), yes I believe > it does do that much, if I remember correctly. > > However, if you're referring to some kind of "smart" word wrap ability, the > answer is no. T

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Zbigniew
>> > Do you want to do this as part of a program you are writing (such as >> > conio?) >> >> Indeed, I was pondering is it available as some (at the moment still >> unknown to me) interrupt/function. >> > > I just replied with a sample C program that demonstrates how to do > this with conio in Open

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Mercury Thirteen via Freedos-user
If you're speaking purely about limiting the cursor to the bounds of the current window (which is what I believe you're referring to), yes I believe it does do that much, if I remember correctly. However, if you're referring to some kind of "smart" word wrap ability, the answer is no. The BIOS

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Jim Hall
On Tue, Jun 14, 2022 at 5:42 PM Zbigniew wrote: > > > Do you want to do this as part of a program you are writing (such as > > conio?) > > Indeed, I was pondering is it available as some (at the moment still > unknown to me) interrupt/function. > I just replied with a sample C program that demon

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Jim Hall
On Tue, Jun 14, 2022 at 5:42 PM Zbigniew wrote: > > > Do you want to do this as part of a program you are writing (such as > > conio?) > > Indeed, I was pondering is it available as some (at the moment still > unknown to me) interrupt/function. > I think this TESTWIN.C program demonstrates what

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Zbigniew
> Do you want to do this as part of a program you are writing (such as > conio?) Indeed, I was pondering is it available as some (at the moment still unknown to me) interrupt/function. > or do you want to do this in a batch file? Do you mean some escape-sequence allow this? -- regards, Z. ___

Re: [Freedos-user] Limit text output to specific area

2022-06-14 Thread Jim Hall
Do you want to do this as part of a program you are writing (such as conio?) or do you want to do this in a batch file? On Tue, Jun 14, 2022 at 5:19 PM Zbigniew wrote: > > Googling around gave no result. It seems it doesn't exist „ready for > use”, so just to make sure: > does DOS/BIOS offer any

[Freedos-user] Limit text output to specific area

2022-06-14 Thread Zbigniew
Googling around gave no result. It seems it doesn't exist „ready for use”, so just to make sure: does DOS/BIOS offer any possibility to set active screen output „window” — I mean something like BIOS int 10h/06-07 — but trapping cursor inside? What I mean is using all the ordinary functions that do