Thread View: news.software.readers
29 messages
29 total messages
Started by asf... Lloyd Zusman
Sun, 29 Jun 1997 00:00
Wish list for slrn.
Author: asf... Lloyd Zusman
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
58 lines
2834 bytes
2834 bytes
I'm a happy, long-time user of slrn, and yet I still find myself wishing
for a few more pieces of functionality in this great product. I'm posting
my wish list here so that I can get some feedback as to your opinions
about these proposed features:
(1) In 'pre_article_mode_hook', I'd like to be able to optionally
cause the newsreader to abort its article-mode processing and
go back to the groups buffer. I can fake this now by setting a
flag in 'pre-article_mode_hook' which, when later read within
'article_mode_hook', triggers a ...
call("quit");
But all the headers in the newsgroup get processed between
'pre_article_mode_hook' and 'article_mode_hook', and I'd
sometimes like to be able to quit back to the groups buffer
from the "pre" hook, thereby avoiding this processing.
[Note that I can't do a 'call("quit")' from within
the "pre" hook, because I'm still in group mode at that
time, and this causes me to get prompted for whether
or not I want to leave slrn].
(2) I'd very much like a 'pre_posting' hook that runs upon leaving
the text editor and before a new article (or a reply) actually
gets posted. I want to do some article parsing, and based on the
results, decide whether I actually want the article to go out,
or whether I want be put back into my text editor to make some
revisions.
(3) I'd like to be able to have more color granularity so I can
set different headers to different colors, set the header name
and the header text to different colors on a header-by-header
basis, etc.
(4) How about a way to embed Jed so that we don't have to start up
a separate process every time we invoke an editor for our posts
and replies?
(5) Is there a way to scroll an article line-by-line in addition
to scrolling page-by-page? If not, I'd like to add this to my
wish list.
(6) There's an X version of Jed, so how about an X version of slrn?
(7) In slrnpull, I'd like to be able to optionally download articles
without rebuilding the xover data base, and to optionally
rebuild the xover data base without downloading articles.
Thanks in advance for your feedback.
--
Lloyd Zusman
l...@asfast.com
Re: Wish list for slrn.
Author: asf... Lloyd Zusman
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
79 lines
3557 bytes
3557 bytes
First of all, before I respond to your post, I want to add one more
request to my wish list. I recently noticed that '%n' doesn't
currently get expanded in 'cc_followup_string', as you can see in the
courtesy copy of this post that you should have received.
On 29 Jun 1997 03:07:11 GMT, John E. Davis <da...@space.mit.edu> wrote:
> On 29 Jun 1997 00:54:53 GMT, Lloyd Zusman <asf...@asfast.com>
> wrote:
> >(1) In 'pre_article_mode_hook', I'd like to be able to optionally
> > cause the newsreader to abort its article-mode processing and
> > go back to the groups buffer. I can fake this now by setting a
>
> The next release will allow you do do, e.g.,
>
> error ("Aborted from pre_article_mode_hook");
Great! This is exactly what I want.
> >(2) I'd very much like a 'pre_posting' hook that runs upon leaving
> > the text editor and before a new article (or a reply) actually
>
> 0.9.4.2 will include a new hook called `post_filter_hook'. As an
> example, the macros/ispell.sl will contain an example that filters
> the article through ispell.
>
> > [ ... ]
>
> You might simply want to see the appropriate editor variable to a
> shell script.
I already do this. But there is one aspect of this method which
has me stumped:
In my script, I make a 3-way choice ...
(A) Post the article as is.
or (B) Send me back into the text editor to make some changes.
or (C) Don't post the article at all.
(A) and (B) are easy. But (C) is the one that I get stuck on. Once
the shell script returns control to slrn, how can slrn be notified
that I don't want the article posted? The best I have been able to
come up with in this case is to have the shell script delete the
article file, and for me to then remember to specify "No" to slrn's
question about whether I want to post the article (the deletion
ensures that if I accidentally answer "Yes", an error will get
generated and no posting will occur).
This is certainly do-able, but it's kind of messy and requires me to
make use of an extra human interaction with slrn. I'm hoping that
the upcoming 'post_filter_hook' will make this process easier.
> [ ... ]
>
> >(4) How about a way to embed Jed so that we don't have to start up
> > a separate process every time we invoke an editor for our posts
> > and replies?
>
> When I first announced the availability of slrn to the jed
> community, they thought that it was integrated into jed and hated
> the idea. Do not count upon the integration.
Oh well ...
I wonder, however, if the jed community still feels this way. How
about it, jed users? Do you folks still believe that slrn/jed
integration is a Bad Thing?
> [ ... remainder deleted to save space, and I appreciate all
your feedback ... ]
--
Lloyd Zusman
l...@asfast.com
Re: Wish list for slrn.
Author: dmc... David M. Cook
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
9 lines
681 bytes
681 bytes
I'd like to be able to sort by author. Dave Cook
Re: Wish list for slrn.
Author: da... John E. Davis
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
61 lines
2969 bytes
2969 bytes
On 29 Jun 1997 00:54:53 GMT, Lloyd Zusman <asf...@asfast.com>
wrote:
>(1) In 'pre_article_mode_hook', I'd like to be able to optionally
> cause the newsreader to abort its article-mode processing and
> go back to the groups buffer. I can fake this now by setting a
The next release will allow you do do, e.g.,
error ("Aborted from pre_article_mode_hook");
>(2) I'd very much like a 'pre_posting' hook that runs upon leaving
> the text editor and before a new article (or a reply) actually
0.9.4.2 will include a new hook called `post_filter_hook'. As an
example, the macros/ispell.sl will contain an example that filters
the article through ispell.
> gets posted. I want to do some article parsing, and based on the
> results, decide whether I actually want the article to go out,
> or whether I want be put back into my text editor to make some
> revisions.
You might simply want to see the appropriate editor variable to a
shell script.
>(3) I'd like to be able to have more color granularity so I can
> set different headers to different colors, set the header name
> and the header text to different colors on a header-by-header
> basis, etc.
>
>(4) How about a way to embed Jed so that we don't have to start up
> a separate process every time we invoke an editor for our posts
> and replies?
When I first announced the availability of slrn to the jed
community, they thought that it was integrated into jed and hated
the idea. Do not count upon the integration.
>(5) Is there a way to scroll an article line-by-line in addition
> to scrolling page-by-page? If not, I'd like to add this to my
> wish list.
Use RETURN instead of SPACE.
>(6) There's an X version of Jed, so how about an X version of slrn?
There is no X equivalent of the SLsmg routines.
>(7) In slrnpull, I'd like to be able to optionally download articles
> without rebuilding the xover data base, and to optionally
> rebuild the xover data base without downloading articles.
It only recreates the xover database when running in expire mode.
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Re: Wish list for slrn.
Author: burn... bskin
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
33 lines
1794 bytes
1794 bytes
Lloyd Zusman <asf...@asfast.com> wrote:
: I'm a happy, long-time user of slrn, and yet I still find myself wishing
: for a few more pieces of functionality in this great product. I'm posting
: my wish list here so that I can get some feedback as to your opinions
: about these proposed features:
<snip suggestions>
:
: Thanks in advance for your feedback.
:
Hmm, while we're doing wishlists, there's one thing i've always wanted that
I'm pretty sure isn't there yet...
Just a preference to set the number of subject lines to show by default while
you're reading articles...i like it to only show the subject of the article
you're reading, but i've never seen a way to set this as default, so i have
to do it by hand every time i start up. If there is a way, my mistake, but
if not, i think it'd make a good minor feature for the next version.
:
: --
: Lloyd Zusman
: l...@asfast.com
--b.
--
'I love it when somebody's own sig describes how much they suck so much
more concisely and elegantly than I possibly ever could.'
-- The Honourable Mister Piranha
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Hrvoje Niksic
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
14 lines
1581 bytes
1581 bytes
lahvak+n@math.ohio-state.edu (Jan Hlavacek) writes: > Maybe some smaller simpler embedded editor, possibly with jed-like > look/feel, and some special support for news messages would do. XEmacs is surely the right choice for this! :-) -- Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- The end of the world is coming... SAVE YOUR BUFFERS!
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Jan Hlavacek
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
40 lines
2807 bytes
2807 bytes
(comp.editors added to the Newsgroups:)
On 30 Jun 1997 03:08:51 GMT, Lloyd Zusman <asfast@asfast.com> wrote:
>For those people who are concerned about the slrn executable becoming
>too large, this "embedded jed" capability could be a compile-time
>option: by default, slrn could be constructed as is, but by changing
>an option in slrnfeat.h, the larger "embedded jed" version would be
>built. And I re-iterate that even in this case, the user would be able
>to specify a different editor if he or she so chooses.
>
I guess some people would like this option, and I am not strictly against
it, as long as you leave it as a compile time option. However, why jed? Jed
is a "programer's editor", very powerfull, with a lot of capabilities. On the
other hand, at least in the current version, the syntax color highlighting
isn't very friendly towards e-mail/news messages. You don't need all the
power of jed to compose messages, do you? Maybe some smaller simpler
embedded editor, possibly with jed-like look/feel, and some special support
for news messages would do. And in the case you need to post something big
and complicated, you can always start jed as an external editor every once
a while.
Another solution would be a jedserv, something like gnuserv for emacs. That
way you can start jed once, and use just a tiny client program as your
editor in slrn, which should be much faster to start. Did enybody try to do
something like that? I have a somewhat working jedserv/jedclient, but it is
still to bugy, and I also had to modify jed little bit in order to make it
work. I don't have much time right now, but I'll keep working on it, and
hopefully I'll eventually get a usable version.
lahvak
--
Jan Hlav\'{a}\v{c}ek
lahvak+n@math.ohio-state.edu (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/ is back!
Re: Wish list for slrn.
Author: Huber... Hubert Canon
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
15 lines
1091 bytes
1091 bytes
Lloyd Zusman ecrivait :
> I'm a happy, long-time user of slrn, and yet I still find myself wishing
> for a few more pieces of functionality in this great product. I'm posting
> my wish list here so that I can get some feedback as to your opinions
> about these proposed features:
[...]
(n+1) Why the "postpone" feature is not implemented for "reply" or
"forward" (it is only for "follow-up") ?
--
Hubert Canon
Re: Wish list for slrn.
Author: jgo... John Gotts
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
30 lines
1723 bytes
1723 bytes
On 29 Jun 1997 14:04:44 GMT, Lloyd Zusman <asf...@asfast.com> wrote: >On 29 Jun 1997 03:07:11 GMT, John E. Davis <da...@space.mit.edu> wrote: >> On 29 Jun 1997 00:54:53 GMT, Lloyd Zusman <asf...@asfast.com> >> wrote: >> >(4) How about a way to embed Jed so that we don't have to start up >> > a separate process every time we invoke an editor for our posts >> > and replies? >> When I first announced the availability of slrn to the jed >> community, they thought that it was integrated into jed and hated >> the idea. Do not count upon the integration. >Oh well ... >I wonder, however, if the jed community still feels this way. How >about it, jed users? Do you folks still believe that slrn/jed >integration is a Bad Thing? Please keep the two separate for those of us who prefer to use another editor with slrn. -- John GOTTS <jgo...@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts Senior, EE/Motif Programmer/SysAdmin/Linux Hacker/Amateur Radio Callsign N8QDW
Re: Wish list for slrn.
Author: asf... Lloyd Zusman
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
46 lines
2524 bytes
2524 bytes
On 30 Jun 1997 02:32:02 GMT, John Gotts <jgo...@engin.umich.edu> wrote: > On 29 Jun 1997 14:04:44 GMT, Lloyd Zusman <asf...@asfast.com> wrote: > > >On 29 Jun 1997 03:07:11 GMT, John E. Davis <da...@space.mit.edu> wrote: > > >> On 29 Jun 1997 00:54:53 GMT, Lloyd Zusman <asf...@asfast.com> > >> wrote: > > >> >(4) How about a way to embed Jed so that we don't have to start up > >> > a separate process every time we invoke an editor for our posts > >> > and replies? > > >> When I first announced the availability of slrn to the jed > >> community, they thought that it was integrated into jed and hated > >> the idea. Do not count upon the integration. > > >Oh well ... > > >I wonder, however, if the jed community still feels this way. How > >about it, jed users? Do you folks still believe that slrn/jed > >integration is a Bad Thing? > > Please keep the two separate for those of us who prefer to use another editor > with slrn. Well, I'm not looking to eliminate the capability of your using the editor of choice, but rather, to simply embed jed in slrn for those who don't want to use any other editor. In other words, you'd still have the option to use your own editor if you choose, but in the absence of an external editor, jed would be the default. For those people who are concerned about the slrn executable becoming too large, this "embedded jed" capability could be a compile-time option: by default, slrn could be constructed as is, but by changing an option in slrnfeat.h, the larger "embedded jed" version would be built. And I re-iterate that even in this case, the user would be able to specify a different editor if he or she so chooses. -- Lloyd Zusman l...@asfast.com
Re: Wish list for slrn.
Author: lah... Jan Hlavacek
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
22 lines
1268 bytes
1268 bytes
On 30 Jun 97 04:42:54 GMT, J.B. Nicholson-Owens
<j...@pop-a-wheelie.midwest.net> wrote:
>Lloyd Zusman <asf...@asfast.com> wrote:
>> (5) Is there a way to scroll an article line-by-line in addition
>> to scrolling page-by-page? If not, I'd like to add this to my
>> wish list.
>
>Check out these intrinsics:
^^^^^^^^^^
internals!
You have to use call("article_lineup") ...
lahvak
--
Jan Hlav\'{a}\v{c}ek
lah...@math.ohio-state.edu (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/ is back!
Re: Wish list for slrn.
Author: Huber... Hubert Canon
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
17 lines
1093 bytes
1093 bytes
John E. Davis wrote : > On 29 Jun 1997 00:54:53 GMT, Lloyd Zusman <asf...@asfast.com> > wrote: [...] > >(3) I'd like to be able to have more color granularity so I can > > set different headers to different colors, set the header name > > and the header text to different colors on a header-by-header > > basis, etc. [...] And what about proposition 3 ? -- Hubert Canon
Re: Wish list for slrn.
Author: nick... Thorsten Nicklaus
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
20 lines
1147 bytes
1147 bytes
On 30 Jun 1997 07:20:21 GMT, Jan Hlavacek <lah...@math.ohio-state.edu> wrote: >>> (5) Is there a way to scroll an article line-by-line in addition >>> to scrolling page-by-page? If not, I'd like to add this to my >>> wish list. I'm too! -- -- bye Thorsten Diese Nachricht besteht zu 100% aus chlorfrei gebleichten, gluecklichen und zufriedenen Elektronen | Thorsten Nicklaus <nick...@os-net.de> -PGP-
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Steve Lamb
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
16 lines
1508 bytes
1508 bytes
lahvak+n@math.ohio-state.edu
in <<slrn5ren4e.kpb.lahvak+n@math.mps.ohio-state.edu>> wrote:
>isn't very friendly towards e-mail/news messages. You don't need all the
>power of jed to compose messages, do you? Maybe some smaller simpler
Joe! :)
--
Steve C. Lamb | Opinions expressed by me are not my
http://www.calweb.com/~morpheus | employer's. They hired me for my
| skills and labor, not my opinions!
---------------------------------------+-------------------------------------
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Drazen Kacar
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
19 lines
1786 bytes
1786 bytes
Hrvoje Niksic wrote:
> lahvak+n@math.ohio-state.edu (Jan Hlavacek) writes:
>
> > Maybe some smaller simpler embedded editor, possibly with jed-like
> > look/feel, and some special support for news messages would do.
>
> XEmacs is surely the right choice for this! :-)
The only thing I miss in slrn and you can have it in XEmacs is embeded
X-Face. Of course, slrn & SLang & rxvt could probably cooperate on that...
--
.-. .-. Life is a sexually transmitted disease.
(_ \ / _)
| dave@srce.hr
| dave@fly.cc.fer.hr
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Hrvoje Niksic
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
18 lines
1815 bytes
1815 bytes
dave@pc-damir.srce.hr (Drazen Kacar) writes: > The only thing I miss in slrn and you can have it in XEmacs is > embeded X-Face. Oh, come on, you can do better than that... Don't forget that I can spend much more time in silent meditation while Gnus is running. -- Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- "Silence!" cries Freydag. "I did not call thee in for a consultation!" "These are my newsreaders! I will not have them misread by a poseur!"
Re: Wish list for slrn.
Author: guc... Sven Guckes
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
35 lines
1719 bytes
1719 bytes
nick...@kaffee.pulver.de (Thorsten Nicklaus): > Jan Hlavacek <lah...@math.ohio-state.edu> wrote: > >>> Is there a way to scroll an article line-by-line in addition to > >>> scrolling page-by-page? If not, I'd like to add this to my wish list. > I'm too! You misspelled "me, too" - and it already exists. Sven === % Scroll to previous page of article setkey article scroll_dn " " setkey article scroll_dn "\r" % Scroll to next page of article setkey article scroll_up "^?" setkey article scroll_up "^H" setkey article scroll_up "b" % Scroll article one line up setkey article article_lineup "\e[A" setkey article article_lineup "\eOA" setkey article article_lineup "^Y" % Scroll article one line down setkey article article_linedn "\e\e[B" setkey article article_linedn "\eOB" setkey article article_linedn "^E" ===
Re: Wish list for slrn.
Author: Petri Haapio
Date: Thu, 03 Jul 1997 00:00
Date: Thu, 03 Jul 1997 00:00
8 lines
693 bytes
693 bytes
If there is already a way to see only the killed articles (Score -9999) then this one is in the wrong thread. -- Petri Haapio
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Drazen Kacar
Date: Thu, 03 Jul 1997 00:00
Date: Thu, 03 Jul 1997 00:00
22 lines
1895 bytes
1895 bytes
Hrvoje Niksic wrote:
> dave@pc-damir.srce.hr (Drazen Kacar) writes:
>
> > The only thing I miss in slrn and you can have it in XEmacs is
> > embeded X-Face.
>
> Oh, come on, you can do better than that...
>
> Don't forget that I can spend much more time in silent meditation
> while Gnus is running.
I don't use Gnus and I've really forgotten about its amazing speed. However,
I see that you are now well trained to remember those little things. :)
--
.-. .-. Life is a sexually transmitted disease.
(_ \ / _)
| dave@srce.hr
| dave@fly.cc.fer.hr
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Hrvoje Niksic
Date: Fri, 04 Jul 1997 00:00
Date: Fri, 04 Jul 1997 00:00
10 lines
1520 bytes
1520 bytes
dave@pc-damir.srce.hr (Drazen Kacar) writes: > I don't use Gnus and I've really forgotten about its amazing speed. > However, I see that you are now well trained to remember those > little things. :) In a cloud, bones of steel.
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: lah... Jan Hlavacek
Date: Sat, 05 Jul 1997 00:00
Date: Sat, 05 Jul 1997 00:00
30 lines
2055 bytes
2055 bytes
On 1 Jul 1997 17:48:47 GMT, Drazen Kacar <da...@pc-damir.srce.hr> wrote:
>Hrvoje Niksic wrote:
>> lah...@math.ohio-state.edu (Jan Hlavacek) writes:
>>
>> > Maybe some smaller simpler embedded editor, possibly with jed-like
>> > look/feel, and some special support for news messages would do.
>>
>> XEmacs is surely the right choice for this! :-)
>
>The only thing I miss in slrn and you can have it in XEmacs is embeded
>X-Face. Of course, slrn & SLang & rxvt could probably cooperate on that...
>
One way would be to introduce something like "escape" in addition to "color"
and "mono", where one would be able to attach an escape sequence to an
object. Slang can do it, SLtt_set_color_esc, JED does it, why not slrn.
Then you could leave the actual X-Face/color/emphasis interpretation to the
terminal, where it belongs. Of course, there will be problems with
non-fixed width fonts, and so on.
lahvak
--
Jan Hlav\'{a}\v{c}ek
lah...@math.ohio-state.edu (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/ is back!
Re: Wish list for slrn.
Author: da... John E. Davis
Date: Sun, 06 Jul 1997 00:00
Date: Sun, 06 Jul 1997 00:00
14 lines
1117 bytes
1117 bytes
On 29 Jun 1997 14:04:44 GMT, Lloyd Zusman <asf...@asfast.com> wrote: >First of all, before I respond to your post, I want to add one more >request to my wish list. I recently noticed that '%n' doesn't >currently get expanded in 'cc_followup_string', as you can see in the >courtesy copy of this post that you should have received. The cc_followup_string was never documented as having this property. Nevertheless, 0.9.4.2 will endow it with this feature. --John
Re: embedded jed in slrn (was Re: Wish list for slrn.)
Author: Drazen Kacar
Date: Sun, 06 Jul 1997 00:00
Date: Sun, 06 Jul 1997 00:00
19 lines
1847 bytes
1847 bytes
Hrvoje Niksic wrote:
> dave@pc-damir.srce.hr (Drazen Kacar) writes:
>
> > I don't use Gnus and I've really forgotten about its amazing speed.
> > However, I see that you are now well trained to remember those
> > little things. :)
>
> In a cloud, bones of steel.
Sorry, my news reader doesn't give me the time to mediate about it. :)
--
.-. .-. Life is a sexually transmitted disease.
(_ \ / _)
| dave@srce.hr
| dave@fly.cc.fer.hr
Re: Wish list for slrn.
Author: ol... Olly Betts
Date: Mon, 07 Jul 1997 00:00
Date: Mon, 07 Jul 1997 00:00
30 lines
1724 bytes
1724 bytes
In article <slrn5s13q...@ljz.asfast.net>, Lloyd Zusman wrote:
>And I have a question: could you show how to use 'select_list_box' in
>a macro? I couldn't find any examples of this in the sample macros
>that come with the 0.9.4.2 release.
Look in slrn/doc/README.macros (in 0.9.4.1 at least):
: get_select_box_response
: Prototype: Integer get_select_box_response (title, item_1, ..., n_items);
:
: This function pops a selection box and queries the user for a
: response. An integer is returned which indicates the user's choice.
: For example:
:
: variable rsp = get_select_box_response (
: "Pick a number:",
: "one", "two", "three", "four",
: 4);
:
: message (Sprintf ("You chose %d", rsp, 1));
One caveat: the numbering actually seems to start from 0, so the above will
display a number one less than you probably expect.
Olly
--
Don't send a man to do a buoy's job.
Re: Wish list for slrn.
Author: asf... Lloyd Zusman
Date: Mon, 07 Jul 1997 00:00
Date: Mon, 07 Jul 1997 00:00
33 lines
1978 bytes
1978 bytes
On 6 Jul 1997 20:33:35 GMT, John E. Davis <da...@space.mit.edu> wrote: > On 29 Jun 1997 14:04:44 GMT, Lloyd Zusman <asf...@asfast.com> > wrote: > >First of all, before I respond to your post, I want to add one more > >request to my wish list. I recently noticed that '%n' doesn't > >currently get expanded in 'cc_followup_string', as you can see in the > >courtesy copy of this post that you should have received. > > The cc_followup_string was never documented as having this property. > Nevertheless, 0.9.4.2 will endow it with this feature. I know that cc_followup_string was not originally specified to have this property, and that's why I requested this in my "wish list" instead of treating it as a bug. And my wish has been granted now in 0.9.4.2, which should be apparent to you, John, by the expansion of "%n" which you should seeing atop your courtesy reply to this message. Thank you for all the work you did to put all the new features into this latest release! And I have a question: could you show how to use 'select_list_box' in a macro? I couldn't find any examples of this in the sample macros that come with the 0.9.4.2 release. Thanks in advance. -- Lloyd Zusman l...@asfast.com
Re: Wish list for slrn.
Author: ol... Olly Betts
Date: Mon, 07 Jul 1997 00:00
Date: Mon, 07 Jul 1997 00:00
32 lines
1993 bytes
1993 bytes
In article <slrn5s1i...@noxious.muscat.co.uk>, Olly Betts wrote: >In article <slrn5s13q...@ljz.asfast.net>, Lloyd Zusman wrote: >>And I have a question: could you show how to use 'select_list_box' in >>a macro? I couldn't find any examples of this in the sample macros >>that come with the 0.9.4.2 release. >: get_select_box_response >: [snip] Oops, quoted the wrong function. Correct snippet from slrn/doc/README.macros: : select_list_box : Prototype: String select_list_box (String title, : String s_1, ... String s_n, Integer n, : Integer active_n); : : This purpose of this function is to present a list of `n' strings, : specified by the `s_1', ... `s_n' parameters to the user and have : the user select one. The user interface for this operation is that : of a box of strings. The title of the box is specified by the : `title' parameter. The `active_n' parameter specifies which string : is to be the default selection. It returns the string selected by : the user. This one doesn't have an example, but it looks fairly obvious. Olly -- Don't send a man to do a buoy's job.
Re: Wish list for slrn.
Author: asf... Lloyd Zusman
Date: Mon, 07 Jul 1997 00:00
Date: Mon, 07 Jul 1997 00:00
40 lines
2188 bytes
2188 bytes
On 7 Jul 1997 10:57:21 GMT, Olly Betts <ol...@muscat.co.uk> wrote:
> In article <slrn5s13q...@ljz.asfast.net>, Lloyd Zusman wrote:
> >And I have a question: could you show how to use 'select_list_box' in
> >a macro? I couldn't find any examples of this in the sample macros
> >that come with the 0.9.4.2 release.
>
> Look in slrn/doc/README.macros (in 0.9.4.1 at least):
>
> : get_select_box_response
> : Prototype: Integer get_select_box_response (title, item_1, ..., n_items);
> :
> : This function pops a selection box and queries the user for a
> : response. An integer is returned which indicates the user's choice.
> : For example:
> :
> : variable rsp = get_select_box_response (
> : "Pick a number:",
> : "one", "two", "three", "four",
> : 4);
> :
> : message (Sprintf ("You chose %d", rsp, 1));
>
> One caveat: the numbering actually seems to start from 0, so the above will
> display a number one less than you probably expect.
Thanks. However, 'get_select_box_response' is different from
'select_list_box'. In slrn/changes.txt, the 'select_list_box'
function is mentioned, and I see it in slrc/src/interp.c. However, I
can't figure out how to use this 'select_list_box' function. Any
ideas?
Thanks in advance.
--
Lloyd Zusman
l...@asfast.com
Re: Wish list for slrn.
Author: df... David E. Fox
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
33 lines
2216 bytes
2216 bytes
In article <slrn5re8i...@ljz.asfast.net>, Lloyd Zusman wrote: >Well, I'm not looking to eliminate the capability of your using the >editor of choice, but rather, to simply embed jed in slrn for those >who don't want to use any other editor. In other words, you'd still Well, I'm not a jed user (I use vi) but that's not really relevant. As a Unix (Linux) user though, I really don't like the idea of embedding an editor into a newsreader. (We all know how big and bloated Netscape is: patently because it wants to be just like a garden-variety DOS type application that does everything.) Part of what makes Unix worth using is that each tool is designed to do one thing well, and one crafts whatever one wants to do by mixing the tools in ones toolbox. It's kind of like being a carpenter or other tradesman: you have a toolbox consisting of a hammer, a pair of pliers, a few types of screwdrivers, drill bits, etc. You don't want a super plierscrewdriverhammer gizmo (unless you own Ronco) :). > Lloyd Zusman > l...@asfast.com -- ------------------------------------------------------------------------ David E. Fox Tax Thanks for letting me df...@belvdere.vip.best.com the change magnetic patterns ro...@belvedere.sbay.org churches on your hard disk. -----------------------------------------------------------------------
Re: Wish list for slrn.
Author: som... William R. Somsky
Date: Wed, 09 Jul 1997 00:00
Date: Wed, 09 Jul 1997 00:00
35 lines
2463 bytes
2463 bytes
In article <slrn5s3i...@belvdere.vip.best.com>, David E. Fox <df...@belvdere.vip.best.com> wrote: > > Well, I'm not a jed user (I use vi) but that's not really relevant. As > a Unix (Linux) user though, I really don't like the idea of embedding > an editor into a newsreader. (We all know how big and bloated > Netscape is: patently because it wants to be just like a garden-variety > DOS type application that does everything.) > > Part of what makes Unix worth using is that each tool is designed to > do one thing well, and one crafts whatever one wants to do by mixing > the tools in ones toolbox. It's kind of like being a carpenter or > other tradesman: you have a toolbox consisting of a hammer, a pair of > pliers, a few types of screwdrivers, drill bits, etc. You don't want > a super plierscrewdriverhammer gizmo (unless you own Ronco) :). > Furthermore, _you_ might want an Stanley hammer, and a Craftsman screwdriver, while I might want a Stanley hammer but with some other brand of screwdriver. Or maybe I want a powered screwdriver. Or maybe I want a combination screwdriver/nutdriver/socket set. Or... Don't bother embedding an editor into a newsreader. Your "serious" users are too varied, and 95% of them won't agree with whatever editor you choose to embed in -- no matter which one you choose. And your "non-serious"/novice/"newbie" users? Well, 75% are using Windows/DOS/Macs anyway, and most all the rest are using netscape... ________________________________________________________________________ Dr. William R. Somsky som...@phys.washington.edu Department of Physics, Box 351560 B432 Physics-Astro Bldg Univ. of Washington, Seattle WA 98195-1560 206/616-2954
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