🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8603

binding ":sort" to a key?

#8603
From: 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.

Technical Details
Message-ID: <5mhjic$703@zdi.informatik.uni-stuttgart.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5mhjic$703@zdi.informatik.uni-stuttgart.de>
Subject: binding ":sort" to a key?
Date: Wed, 28 May 1997 00:00:00 +0000
From: Friedhelm Waitzmann <Friedhelm.Waitzmann@studbox.uni-stuttgart.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 244503403
Organization: Informatik, Uni Stuttgart, Germany
Newsgroups: news.software.nn