9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Bringing nile's menuless mode to Lola
@ 2026-01-25 21:22 penny
  2026-01-25 22:10 ` hiro
  0 siblings, 1 reply; 12+ messages in thread
From: penny @ 2026-01-25 21:22 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 2020 bytes --]

I've written a patchset to bring the menuless mode from Antohy's Nile [1] to Lola. Start in menuless mode with -m, it can also be toggled in the 13 lola menu, the patches are available at

shithub.us/penny/lola/HEAD/info.html

This patch enables creating windows by right click and sweeping the desktop, in windows middle click always plumbs and right click always sends. When in Nomenu mode, Lola will apply Nile's scrolling behavior to all windows. That is, windows will always autoscroll if you are at the bottom of the output, but will not if you are scrolled up.

In addition, Lola offers a system menu on mouse chord 1->3 and I have added a Nomenu option to this menu to allow toggling Nomenu mode at runtime.
No special accommodations were made for tabification, however on certain themes(including simple.c, and the patched win95.c in that repo) you may right click the title bar to yoink a window for tabification and I have found this more than suitable.
Changes were made to accommodate lola's system menu, the hidden window menu on the desktop has been moved to mouse 2, and includes the Delete and Hide verbs as I think it makes sense to make them available. The "menuless" notion only really applies to the windows themselves, and the creation thereof.

While this patchset is functionality a complete port of Nile's menuless mode to lola, Nile was based on 4th edition which does not offer "look", and therefore that functionality is not currently exposed in menuless operation. I am considering options for integrating it with these patches, including offering a keyboard combination.

Questions comments jeering bug reports and suggestions welcome

- Penny, aka, "panini"

1 - https://web.archive.org/web/20251119033354/http://a.9srv.net/src/nile/index.html
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-M5e062cd644d045f08821d57b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2982 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-25 21:22 [9fans] Bringing nile's menuless mode to Lola penny
@ 2026-01-25 22:10 ` hiro
  2026-01-25 22:17   ` [9fans] " penny
  0 siblings, 1 reply; 12+ messages in thread
From: hiro @ 2026-01-25 22:10 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 2660 bytes --]

" in windows middle click always plumbs and right click always sends"

Isn't this the opposite of how it's done in ACME?

On Sunday, January 25, 2026, <penny@limitedideas.org> wrote:

> I've written a patchset to bring the menuless mode from Antohy's Nile [1]
> to Lola. Start in menuless mode with -m, it can also be toggled in the 13
> lola menu, the patches are available at
>
> shithub.us/penny/lola/HEAD/info.html
>
> This patch enables creating windows by right click and sweeping the
> desktop, in windows middle click always plumbs and right click always
> sends. When in Nomenu mode, Lola will apply Nile's scrolling behavior to
> all windows. That is, windows will always autoscroll if you are at the
> bottom of the output, but will not if you are scrolled up.
>
> In addition, Lola offers a system menu on mouse chord 1->3 and I have
> added a Nomenu option to this menu to allow toggling Nomenu mode at runtime.
> No special accommodations were made for tabification, however on certain
> themes(including simple.c, and the patched win95.c in that repo) you may
> right click the title bar to yoink a window for tabification and I have
> found this more than suitable.
> Changes were made to accommodate lola's system menu, the hidden window
> menu on the desktop has been moved to mouse 2, and includes the Delete and
> Hide verbs as I think it makes sense to make them available. The "menuless"
> notion only really applies to the windows themselves, and the creation
> thereof.
>
> While this patchset is functionality a complete port of Nile's menuless
> mode to lola, Nile was based on 4th edition which does not offer "look",
> and therefore that functionality is not currently exposed in menuless
> operation. I am considering options for integrating it with these patches,
> including offering a keyboard combination.
>
> Questions comments jeering bug reports and suggestions welcome
>
> - Penny, aka, "panini"
>
> 1 - https://web.archive.org/web/20251119033354/http://a.9srv.
> net/src/nile/index.html
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-M5e062cd644d045f08821d57b>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-M3213736f9c7552f2a2dedb08
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 4109 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [9fans] Re: Bringing nile's menuless mode to Lola
  2026-01-25 22:10 ` hiro
@ 2026-01-25 22:17   ` penny
  2026-01-25 22:31     ` penny
  0 siblings, 1 reply; 12+ messages in thread
From: penny @ 2026-01-25 22:17 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

On Sunday, January 25, 2026, at 5:10 PM, hiro wrote:
> Isn't this the opposite of how it's done in ACME?
Yes, and in fact,  I did get the patch reversed! I'll change it to that way ha ha
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-M789d515b87ef0ff8995bb89a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 986 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [9fans] Re: Bringing nile's menuless mode to Lola
  2026-01-25 22:17   ` [9fans] " penny
@ 2026-01-25 22:31     ` penny
  2026-01-28  0:58       ` penny
  0 siblings, 1 reply; 12+ messages in thread
From: penny @ 2026-01-25 22:31 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

The uh, corrected code has been committed to the repo
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-M5207fc295d1a1a9a05edf992
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 769 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [9fans] Re: Bringing nile's menuless mode to Lola
  2026-01-25 22:31     ` penny
@ 2026-01-28  0:58       ` penny
  2026-01-28  9:29         ` [9fans] " hiro
  0 siblings, 1 reply; 12+ messages in thread
From: penny @ 2026-01-28  0:58 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

I've committed a modified version of nile's scrolling suggested by yvyvy on the 9fans discord, autoscrolling is now enabled by hitting "end" and disabled by all scrolling operations, rather than being based on the current scroll position. This improves compatibility with modern plan 9 software like git/log that takes advantage of the no scroll behavior, and I think proves to be an even more transparent way to manage the scroll state.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-Mab48d3ef669a5452eca8ed81
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1177 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-28  0:58       ` penny
@ 2026-01-28  9:29         ` hiro
  2026-01-28 16:42           ` penny
  0 siblings, 1 reply; 12+ messages in thread
From: hiro @ 2026-01-28  9:29 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

On my keyboard theres a samscroll button. On some localizations its called
scroll-lock.

On Wednesday, January 28, 2026, <penny@limitedideas.org> wrote:

> I've committed a modified version of nile's scrolling suggested by yvyvy
> on the 9fans discord, autoscrolling is now enabled by hitting "end" and
> disabled by all scrolling operations, rather than being based on the
> current scroll position. This improves compatibility with modern plan 9
> software like git/log that takes advantage of the no scroll behavior, and I
> think proves to be an even more transparent way to manage the scroll state.
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-Mab48d3ef669a5452eca8ed81>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-Md979f4157d3a148335fc4eb0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2178 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-28  9:29         ` [9fans] " hiro
@ 2026-01-28 16:42           ` penny
  2026-01-28 19:29             ` Stuart Morrow
  0 siblings, 1 reply; 12+ messages in thread
From: penny @ 2026-01-28 16:42 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

On Wednesday, January 28, 2026, at 4:29 AM, hiro wrote:
> On my keyboard theres a samscroll button. On some localizations its called scroll-lock. 
While the scroll lock key has become increasingly unavailable I would be interested in supporting it! But scroll lock acts a toggle switch with an indicator, which would need to be updated as you switch between windows. This is possible on PCs but I am unsure if there is any interface on Plan 9 that would make it possible.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-Me6df36c76d4b9e7389595526
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1248 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-28 16:42           ` penny
@ 2026-01-28 19:29             ` Stuart Morrow
  2026-01-28 21:56               ` penny
  0 siblings, 1 reply; 12+ messages in thread
From: Stuart Morrow @ 2026-01-28 19:29 UTC (permalink / raw)
  To: 9fans

To me you're making the case against not bothering with scroll lock.
The Nile way is subjectively the better interface, but what really
convinced me of it is you'd get to delete a line from keyboard(6) (and
avoid future deliberations about whether to mention Fn-K on
ThinkPads).

In other words,
DON'T KEEP ROLLEN↓ ROLLEN↓ ROLLEN↓ ROLLEN↓
DON'T KEEP ROLLEN↓ ROLLEN↓ ROLLEN↓ ROLLEN↓

A lot of Plan 9 simplicity comes from just not having a thing in the
first place.  For example: drag and drop has never meant anything in
Plan 9, so a window manager also doesn't need to think about
cross-window drag and drop.

Or: with our push-to-talk popup menus, you never have to unstick a
menu because of a click in a different window.  I'd hate to see
someone solve touchscreens by making those menus sticky (and putting
them on something arbitrary like a two-finger tap).  (The rio menu
should really be pulled in from a screen edge like going to aeroplane
mode on a phone -- but then, does that translate well to other
programs?)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-M4c233a6bc7dda6d1e8e9b6a7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-28 19:29             ` Stuart Morrow
@ 2026-01-28 21:56               ` penny
  2026-01-28 23:07                 ` Stuart Morrow
  0 siblings, 1 reply; 12+ messages in thread
From: penny @ 2026-01-28 21:56 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

On Wednesday, January 28, 2026, at 2:30 PM, Stuart Morrow wrote:
>  To me you're making the case against not bothering with scroll lock.
I'm actually having some trouble being sure what you're suggesting, but if you mean you think I should support the scroll lock key without worrying the toggle- call me picky but it simply would really bother me that the key would toggle the global state of an indicator irrespective of the window's scroll state.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-Mb083d265d60d8667d44f8d5d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1259 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-28 21:56               ` penny
@ 2026-01-28 23:07                 ` Stuart Morrow
  2026-01-29 17:38                   ` penny
  2026-01-29 18:36                   ` hiro
  0 siblings, 2 replies; 12+ messages in thread
From: Stuart Morrow @ 2026-01-28 23:07 UTC (permalink / raw)
  To: 9fans

My mistake.
/making the case against not bothering with scroll lock/ s/against/for/
or:
/making the case against not bothering with scroll lock/ /not/d

Basically: there's a dev for the PS/2 LEDs, but you can avoid using it
by avoiding scroll lock altogether.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-Me03fefc5ee516e3cf062544e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-28 23:07                 ` Stuart Morrow
@ 2026-01-29 17:38                   ` penny
  2026-01-29 18:36                   ` hiro
  1 sibling, 0 replies; 12+ messages in thread
From: penny @ 2026-01-29 17:38 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

On Wednesday, January 28, 2026, at 6:07 PM, Stuart Morrow wrote:
> making the case against
Yeah I agree, supporting scroll lock just doesn't bring anything meaningful to the table
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-Mff83c6b9f4cee2a028053e9f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 955 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] Bringing nile's menuless mode to Lola
  2026-01-28 23:07                 ` Stuart Morrow
  2026-01-29 17:38                   ` penny
@ 2026-01-29 18:36                   ` hiro
  1 sibling, 0 replies; 12+ messages in thread
From: hiro @ 2026-01-29 18:36 UTC (permalink / raw)
  To: 9fans

suggestion: "making the case for scroll lock"

On Thu, Jan 29, 2026 at 2:03 AM Stuart Morrow <morrow.stuart@gmail.com> wrote:
> 
> My mistake.
> /making the case against not bothering with scroll lock/ s/against/for/
> or:
> /making the case against not bothering with scroll lock/ /not/d
> 
> Basically: there's a dev for the PS/2 LEDs, but you can avoid using it
> by avoiding scroll lock altogether.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcff5f5374fb94ee2-M2ac316734e0700a55d2c628d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-01-29 19:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-25 21:22 [9fans] Bringing nile's menuless mode to Lola penny
2026-01-25 22:10 ` hiro
2026-01-25 22:17   ` [9fans] " penny
2026-01-25 22:31     ` penny
2026-01-28  0:58       ` penny
2026-01-28  9:29         ` [9fans] " hiro
2026-01-28 16:42           ` penny
2026-01-28 19:29             ` Stuart Morrow
2026-01-28 21:56               ` penny
2026-01-28 23:07                 ` Stuart Morrow
2026-01-29 17:38                   ` penny
2026-01-29 18:36                   ` hiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).