🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Friedhelm Waitzmann Wed, 28 May 1997 00:00
binding ":sort" to a key?
#8603
Author: Friedhelm Waitzmann
Date: Wed, 28 May 1997 00:00
35 lines
1120 bytes
Dear Nn Experts,

is it possible, to bind the :sort command to a key in menu
mode, where the sort mode should be prompted from the user?

In other words, I want a shortcut for typing
:sort<TAB>.

The following did not work:

# define new map for prefix key _

make map menu-_
map menu _ prefix menu-_

map menu-_ S (
	:set consolidated-menu on
	prompt "enter sort mode"
	sort input
	echo "resorted"
)

Neither did

map menu-_ S (
	:set consolidated-menu on
	prompt "enter sort mode"
	command sort input
	echo "resorted"
)

Thank You, Friedhelm.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads