🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #869

Re: Character Based Windows

#869
From: Dan Bernstein
Date: Tue, 18 Sep 1990 20:11
41 lines
1784 bytes
In article <382@ulticorp.UUCP> rick@ulticorp.UUCP (rick/1024000) writes:
> We are currently in the design phase of a character based window interface.

Just to give you a start, here's how pmwindow comes up to your
requirements. pmwindow is the poor man's windowing system, posted
recently to alt.sources. The entire code fits on a couple of pages.

> 	1) Attribute control. ( Underscore, Bold, etc )

Yep.

> 	2) Color control. ( 16 colors would be adequate )

Yep. This is all handled by the terminal, without interference from the
window system.

> 	3) Boxes for the windows. ( Control of border required also ).

No, pmwindow doesn't handle this. But you could easily configure it to
put in the border.

> 	4) Standard cursor positioning, clear screen, etc.

Of course.

> 	5) Window selection, stacking, and hiding control.
> 	6) Capability to read a window internal map.

No. pmwindow only supports two non-overlapping windows.

> 	7) Correct operation on terminals with magic cookie problem.

Yes.

(My point is that you should base your window manager on the terminal
sequence for changing scrolling regions, if it's available. This lets
you depend on the terminal for all the dirty work. Use add-line and
delete-line otherwise or if you want better control. If you don't scroll
at close to the terminal's natural speed, people won't use your system.)

---Dan
Technical Details
Message-ID: <28954:Sep1820:11:0790@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <382@ulticorp.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.unix.programmer
Subject: Re: Character Based Windows
Message-ID: <28954:Sep1820:11:0790@kramden.acf.nyu.edu>
Date: 18 Sep 90 20:11:07 GMT
References: <382@ulticorp.UUCP>
Organization: IR
Lines: 41