From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 31 Dec 2015 18:08:15 +0100 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20151231170815.GA106@polynum.com> MIME-Version: 1.0 User-Agent: Mutt/1.5.24 (2015-08-30) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [9fans] Rio: possibility to forbid resizing a window? Topicbox-Message-UUID: 7c89fd2e-ead9-11e9-9d60-3106f5b1d025 Hello, After a long delay, I'm working back on kerTeX and I'm adding the display for METAFONT (it's more interesting than one could think, since METAFONT is the program mainly ignored while being a drawing program and a rasterizer engine...). But once the size of the root window for display (the user can subdivise this root window from METAFONT) is given and the window created, the dimension should not be altered. There is the possibility, in X11, to give the window manager hints and to disallow resizing the window. Is there such possibility with rio? TIA -- Thierry Laronde http://www.kergis.com/ http://www.arts-po.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C -- Thierry Laronde http://www.kergis.com/ http://www.arts-po.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <20151231170815.GA106@polynum.com> In-Reply-To: <20151231170815.GA106@polynum.com> From: Skip Tavakkolian Date: Thu, 31 Dec 2015 19:33:42 +0000 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a113edfa80a5f03052836bc6d Subject: Re: [9fans] Rio: possibility to forbid resizing a window? Topicbox-Message-UUID: 7c9195ac-ead9-11e9-9d60-3106f5b1d025 --001a113edfa80a5f03052836bc6d Content-Type: text/plain; charset=UTF-8 I wonder if it would work if wctl was chmod to read-only? Might break other things. On Thu, 31 Dec 2015, 9:08 a.m. wrote: > Hello, > > After a long delay, I'm working back on kerTeX and I'm adding the > display for METAFONT (it's more interesting than one could think, since > METAFONT is the program mainly ignored while being a drawing program > and a rasterizer engine...). > > But once the size of the root window for display (the user can subdivise > this root window from METAFONT) is given and the window created, the > dimension should not be altered. > > There is the possibility, in X11, to give the window manager hints and > to disallow resizing the window. > > Is there such possibility with rio? > > TIA > -- > Thierry Laronde > http://www.kergis.com/ > http://www.arts-po.fr/ > Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C > > -- > Thierry Laronde > http://www.kergis.com/ > http://www.arts-po.fr/ > Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C > > --001a113edfa80a5f03052836bc6d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I wonder if it would work if wctl was chmod to read-only? Might break other= things.

On Thu, 31 Dec = 2015, 9:08 a.m.=C2=A0 <tlaronde@= polynum.com> wrote:
Hello,
After a long delay, I'm working back on kerTeX and I'm adding the display for METAFONT (it's more interesting than one could think, since=
METAFONT is the program mainly ignored while being a drawing program
and a rasterizer engine...).

But once the size of the root window for display (the user can subdivise this root window from METAFONT) is given and the window created, the
dimension should not be altered.

There is the possibility, in X11, to give the window manager hints and
to disallow resizing the window.

Is there such possibility with rio?

TIA
--
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Thierry Laronde <tlaronde +AT+ polynum +dot+= com>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0= http://www.kergis.com/
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0= http://www.arts-po.fr/
Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89=C2=A0 250D 52B1 AE95 6006 F40C=

--
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Thierry Laronde <tlaronde +AT+ polynum +dot+= com>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0= http://www.kergis.com/
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0= http://www.arts-po.fr/
Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89=C2=A0 250D 52B1 AE95 6006 F40C=

--001a113edfa80a5f03052836bc6d-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 31 Dec 2015 21:22:40 +0100 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20151231202240.GA1950@polynum.com> References: <20151231170815.GA106@polynum.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Re: [9fans] Rio: possibility to forbid resizing a window? Topicbox-Message-UUID: 7c960876-ead9-11e9-9d60-3106f5b1d025 On Thu, Dec 31, 2015 at 07:33:42PM +0000, Skip Tavakkolian wrote: > I wonder if it would work if wctl was chmod to read-only? Might break other > things. Hum... Thanks for the suggestion, but I imagine that rio, when a user resizes with the mouse a window, does not send commands, pixel by pixel, to the window for resizing but call the very code called for the command passed via wctl? Actually, I will not use neither wctl, nor cons or mouse, since the window is just for the graphical display. I will not fork either a process and will just draw using the $wsys hierachy (since the namespace is the one of METAFONT and the particular window files in the namespace will be the ones of the shell where mf was called). > > On Thu, 31 Dec 2015, 9:08 a.m. wrote: > > > Hello, > > > > After a long delay, I'm working back on kerTeX and I'm adding the > > display for METAFONT (it's more interesting than one could think, since > > METAFONT is the program mainly ignored while being a drawing program > > and a rasterizer engine...). > > > > But once the size of the root window for display (the user can subdivise > > this root window from METAFONT) is given and the window created, the > > dimension should not be altered. > > > > There is the possibility, in X11, to give the window manager hints and > > to disallow resizing the window. > > > > Is there such possibility with rio? > > > > TIA > > -- > > Thierry Laronde > > http://www.kergis.com/ > > http://www.arts-po.fr/ > > Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C > > > > -- > > Thierry Laronde > > http://www.kergis.com/ > > http://www.arts-po.fr/ > > Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C > > > > -- Thierry Laronde http://www.kergis.com/ http://www.arts-po.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 1 Jan 2016 14:58:07 -0800 To: 9fans@9fans.net Message-ID: In-Reply-To: <20151231170815.GA106@polynum.com> References: <20151231170815.GA106@polynum.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Rio: possibility to forbid resizing a window? Topicbox-Message-UUID: 7cce20e4-ead9-11e9-9d60-3106f5b1d025 > Is there such possibility with rio? yes, this is implemented by games/sudoku. just refuse to resize. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 2 Jan 2016 01:05:25 +0100 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20160102000525.GA397@polynum.com> References: <20151231170815.GA106@polynum.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Re: [9fans] Rio: possibility to forbid resizing a window? Topicbox-Message-UUID: 7cdaf698-ead9-11e9-9d60-3106f5b1d025 On Fri, Jan 01, 2016 at 02:58:07PM -0800, erik quanstrom wrote: > > Is there such possibility with rio? > > yes, this is implemented by games/sudoku. just refuse to resize. > Thanks. I will give a look to the code. -- Thierry Laronde http://www.kergis.com/ http://www.arts-po.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C