🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
19 messages
19 total messages Started by Christian R Molls Thu, 16 Mar 2000 00:00
[SLRN] Customizing
#59283
Author: Christian R Molls
Date: Thu, 16 Mar 2000 00:00
37 lines
1911 bytes
Hi,

I started using slrn a while ago and like it a lot. However, one thing
about slrn that I don't like at all is how the actual reading of
articles is done. I think the separation into article and summary
windows is pretty confusing: I frequently  use <Cursor-Up> and
<Cursor-Down> when reading an article, but in fact it is not the
article window that scrolls then as I tend to expect, but the
threading tree list in the summary window does.

I would prefer a one-window, cursor-driven solution with the following
key-bindings.

When on the thread list:
<Cursor-Left>  Change to group selection
<Cursor-Right> View an article full-screen (!!!)
<Cursor-Down>  Article down
<Cursor-Up>    Article up

When viewing an article:
<Cursor-Left>  Show thread list, current thread uncollapsed (!!!)
<Cursor-Right> Nop
<Cursor-Up>    Scroll one line up
<Cursor-Down>  Scroll one line down

I configured mutt to do so, and found tin to be preconfigured quite
similarly (did not like tin though), yet I can't quite manage with
slrn. What functions do I have to call to achieve (!!!)?

Regards,
Chris
-- 
christian molls
student of laws
univ of cologne

Re: [SLRN] Customizing
#59262
Author: Sylvan Butler
Date: Thu, 16 Mar 2000 00:00
25 lines
1708 bytes
On 16 Mar 2000 10:36:01 GMT, Chris Green <cgreen@shell.x-1.net> wrote:
>commands to move through the articles and groups. The 'natural'
>commands for moving about can only work either for articles or for
>groups but not for both as both group view and article view are the

Not true...

>This can be alleviated to some extent by clever S-Lang macro

And that is why.

>programming but it's not an ideal solution.

Not ideal, but it works fine.

sdb

-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Re: [SLRN] Customizing
#59266
Author: Dawn Owens-Nicholson
Date: Thu, 16 Mar 2000 00:00
7 lines
1034 bytes
Christopher Splinter wrote:
> Use tin. slrn doesn't provide this kind of feature.

That's not true at all.  That hasn't been true since slrn supported S-Lang
macros (and editing the source has always been an option).

Re: [SLRN] Customizing
#59274
Author: Christopher Splinter
Date: Thu, 16 Mar 2000 00:00
17 lines
1263 bytes
* Christian R Molls <CMolls@smail.uni-koeln.de> wrote:

[slrn]

>I would prefer a one-window, cursor-driven solution with the
>following key-bindings.

Use tin. slrn doesn't provide this kind of feature.

Ciao,
	Christopher
-- 
Christopher | I am Hamlet of Borg. To assimilate or not to assimlate,|
   Splinter + that is the question.                                  +
____________|________________________________________________________|

Re: [SLRN] Customizing
#59278
Author: Sylvan Butler
Date: Thu, 16 Mar 2000 00:00
77 lines
3297 bytes
On Thu, 16 Mar 2000 01:19:24 +0100, Christian R Molls <CMolls@smail.uni-koeln.de> wrote:
>I would prefer a one-window, cursor-driven solution with the following
>key-bindings.
>
>When on the thread list:
><Cursor-Left>  Change to group selection
><Cursor-Right> View an article full-screen (!!!)
><Cursor-Down>  Article down
><Cursor-Up>    Article up
>
>When viewing an article:
><Cursor-Left>  Show thread list, current thread uncollapsed (!!!)
><Cursor-Right> Nop
><Cursor-Up>    Scroll one line up
><Cursor-Down>  Scroll one line down

You should be able to make slrn do that, but it gets a bit tricky...

I have mine set up mostly the mimic tin, with some vi thrown in.  :)
So in "article mode" <j> and <k> scroll one line down and up, but on the
list of articles they go article down/up.  I use <enter> to get to
"article mode" and <q> to get back to the list.

My functions to do this are the ones included with slrn in the
tin-art.sl macros.  For example, tin_article_down :

define tin_article_down ()
{
   if (is_article_visible ())
     {
    call ("article_linedn");    % spirit of tin anyway  ;)
     }
   else
     {
    ERROR_BLOCK
      {
         _clear_error ();
         header_bob ();
      }
    call ("down");
    return;
     }
}
definekey ("tin_article_down","j","article");
definekey ("tin_article_down","\e[B","article"); % down arrow
definekey ("tin_article_down","\eOB","article"); % down arrow


or tin_art_quit :
define tin_art_quit ()
{
   if (is_article_visible ())
     {
    art_hide_article_window ();
    return;
     }

   art_quit ();
}
definekey ("tin_art_quit", "q", "article");

The key is the test for "is_article_visible" which allows you to pretend
there is an article reading mode and a list of articles mode.  You
should be able to customize these by changing the definekey to map to
your choice of keystrokes.  You will need additional supporting
functions which are automatically included by the tin-*.sl's, so don't
expect to just use the above two functions standalone.

sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Re: [SLRN] Customizing
#59279
Author: Sven Guckes
Date: Thu, 16 Mar 2000 00:00
21 lines
1356 bytes
* Christian R Molls <CMolls@smail.uni-koeln.de>:
> I started using slrn a while ago and like it a lot.
> However, one thing about slrn that I don't like at all is ...
> the separation into article and summary windows
> I would prefer a one-window, cursor-driven
> solution with the following key-bindings.

FAQ.  JED's answer:  This won't change.

You'll have to make up your mind and decide
whether a key shall affect the article
or the pointer to the current article.
So, for now, you just have to get used to it.

Then again, maybe all this can be changed by
means of slang, re-binding keys when you are
viewing an article in "zoom" mode.  Anyone?

Sven

Re: [SLRN] Customizing
#59280
Author: Chris Green
Date: Thu, 16 Mar 2000 00:00
47 lines
2634 bytes
On Thu, 16 Mar 2000 01:19:24 +0100, Christian R Molls <CMolls@smail.uni-koeln.de> wrote:
>Hi,
>
>I started using slrn a while ago and like it a lot. However, one thing
>about slrn that I don't like at all is how the actual reading of
>articles is done. I think the separation into article and summary
>windows is pretty confusing: I frequently  use <Cursor-Up> and
><Cursor-Down> when reading an article, but in fact it is not the
>article window that scrolls then as I tend to expect, but the
>threading tree list in the summary window does.
>
>I would prefer a one-window, cursor-driven solution with the following
>key-bindings.
>
>When on the thread list:
><Cursor-Left>  Change to group selection
><Cursor-Right> View an article full-screen (!!!)
><Cursor-Down>  Article down
><Cursor-Up>    Article up
>
>When viewing an article:
><Cursor-Left>  Show thread list, current thread uncollapsed (!!!)
><Cursor-Right> Nop
><Cursor-Up>    Scroll one line up
><Cursor-Down>  Scroll one line down
>
>I configured mutt to do so, and found tin to be preconfigured quite
>similarly (did not like tin though), yet I can't quite manage with
>slrn. What functions do I have to call to achieve (!!!)?
>
This is essentially the slrn feature/problem I was posting about a
month or so ago.  There is no separation of group view mode and
article view mode in slrn and so there have to be different navigation
commands to move through the articles and groups. The 'natural'
commands for moving about can only work either for articles or for
groups but not for both as both group view and article view are the
same place so to speak.

This can be alleviated to some extent by clever S-Lang macro
programming but it's not an ideal solution.

-- 
Chris Green (cgreen@x-1.net)
  Home: chris@isbd.demon.co.uk		 Work: cgreen@bcs.org.uk
  WWW: http://www.isbd.co.uk/

Re: [SLRN] Customizing
#59289
Author: Ralf Arens
Date: Fri, 17 Mar 2000 00:00
95 lines
3351 bytes
Sylvan Butler <nospam+_no_Zs__0003@hpb13799z.zboi.hpz.com.invalid> wrote:
> On Thu, 16 Mar 2000 01:19:24 +0100, Christian R Molls <CMolls@smail.uni-koeln.de> wrote:
>>I would prefer a one-window, cursor-driven solution with the following
>>key-bindings.
[...]

> You should be able to make slrn do that, but it gets a bit tricky...

Yep.

> I have mine set up mostly the mimic tin, with some vi thrown in.  :)
[...]

I'll add some macros to Sylvan's. They won't complete the task, but
maybe they'll help solving it. The first two were posted (I don't use
them myself but they helped me understanding slrn/slang for this
problem), the last three I wrote myself some time ago. (Since
Christian's mail address is from Germany I don't translate the german
comments.)

,----
| % Mit diesen Makros kann man im Group-Mode navigieren, aber sobald ein
| % Artikel angezeigt wird, wird dieser zeilenweise gescrollt
| define smart_up ()
| {
|    if (is_group_mode ())
|      error (_function_name () + " doesn't work in group mode!");
|
|    if (is_article_visible())
|      call("article_lineup");
|    else
|      call("up");
| }
|
| define smart_down()
| {
|    if (is_group_mode ())
|      error (_function_name () + " doesn't work in group mode!");
|
|    if (is_article_visible())
|      call("article_linedn");
|    else
|      call("down");
| }
|
| % Mit Pageup/down rauf/runterbl�ttern, falls Artikel gezeigt, diesen
| % rauf/runterbl�ttern
| define smart_pageup ()
| {
|     if (is_article_visible ())
|         call("scroll_up");
|     else
|         call("pageup");
| }
| definekey ("smart_pageup", "\e[5~", "article");
|
| define smart_pagedown ()
| {
|     if (is_article_visible ())
|         call("scroll_dn");
|     else
|         call("pagedn");
| }
| definekey ("smart_pagedown", "\e[6~", "article");
|
|
| % Cursor links / h / i: von Artikel zur Headeranzeige,
| % von dort zur Gruppenansicht
| define smart_cursleft ()
| {
|     if (is_article_visible ())
|         call("hide_article");
|     else
|         call("quit");
| }
| definekey ("smart_cursleft", "\e[D", "article");
| definekey ("smart_cursleft", "h", "article");
| definekey ("smart_cursleft", "i", "article");
`----

To view an article full screen, press "z", zoom. You should read also
read /usr/local/doc/slrn/slrnfuns.txt (or whereever you installed
slrn).


HTH,
Ralf

-- 
Progress (n.):
The process through which the Internet has evolved
from smart people in front of dumb terminals
to dumb people in front of smart terminals.

Re: [SLRN] Customizing
#59315
Author: Ralf Arens
Date: Fri, 17 Mar 2000 00:00
28 lines
1376 bytes
Christopher Splinter <chris@splinter.inka.de> wrote:
> * Christian R Molls <CMolls@smail.uni-koeln.de> wrote:

>>I would prefer a one-window, cursor-driven solution with the
>>following key-bindings.

> Use tin. slrn doesn't provide this kind of feature.

Wrong (again :-). You can program slrn to behave like that, see the
other postings.

But don't use tin! It can't mimick slrn! (OK, I only said it in fun,
/I/ wouldn't use slrn with default keybindings. ;-)

Oh, BTW, Christopher, it's quite a while since I used tin, how can I
edit its key-bindings (I just only took a quick look on 1.4.2, I
didn't find anything)? Is it a bad newsreader?


Ciao,
Ralf

-- 
Hard work has a future payout.
Lazyness pays off now.
-- Dieter Bruegmann

Re: [SLRN] Customizing
#59371
Author: No Name
Date: Mon, 20 Mar 2000 00:00
30 lines
1704 bytes
On 16 Mar 2000 20:55:55 GMT, Sylvan Butler said:
>On 16 Mar 2000 10:36:01 GMT, Chris Green <cgreen@shell.x-1.net> wrote:
>>commands to move through the articles and groups. The 'natural'
>>commands for moving about can only work either for articles or for
>>groups but not for both as both group view and article view are the
>
>Not true...
>
>>This can be alleviated to some extent by clever S-Lang macro
>
>And that is why.
>
>>programming but it's not an ideal solution.
>
>Not ideal, but it works fine.
>

How?


>sdb
>
>-- 
> | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
> | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
>    They that can give up essential liberty to obtain a little temporary
>    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
> "Don't Tread On Me!"

Re: [SLRN] Customizing
#59394
Author: Sylvan Butler
Date: Tue, 21 Mar 2000 00:00
18 lines
1577 bytes
On 20 Mar 2000 11:18:03 GMT, No Name <none@machine.invalid> wrote:
>On 16 Mar 2000 20:55:55 GMT, Sylvan Butler said:
>>Not ideal, but it works fine.
>>
>
>How?

Read the other posts in the thread.  Use deja.com if necessary.

sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Re: [SLRN] Customizing
#59405
Author: Dawn Owens-Nicholson
Date: Tue, 21 Mar 2000 00:00
10 lines
1160 bytes
Sylvan Butler said:
> [S-Lang extensions are] [n]ot ideal, but it works fine.

No Name replied:
> How?

I already know how to do what the original poster asked for but I'd like to
know how S-Lang extensions are not ideal for this purpose.

Re: [SLRN] Customizing
#59409
Author: Sylvan Butler
Date: Tue, 21 Mar 2000 00:00
40 lines
2607 bytes
On Tue, 21 Mar 2000 06:05:42 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
>Sylvan Butler said:
>> [S-Lang extensions are] [n]ot ideal, but it works fine.
>
>No Name replied:
>> How?
>
>I already know how to do what the original poster asked for but I'd like to
>know how S-Lang extensions are not ideal for this purpose.

Ahh.  That way of phrasing the question is more clear.  So are you then
"No Name" or was that someone else?

I consider ideal would be to have totally seperate bindings for the
group list, the subject list, and article viewing.  I think that is the
entire list of typical slrn contexts, but if not then a seperate binding
for the others is needed as well.

Instead there are only two recognized contexts, article or group.  So I
have to fake seperate context bindings by using an if/then/else
construct in every binding where the same key is used in different
contexts.

If slrn did have the seperate bindings and you wanted the present day
behavior it would be much cleaner, simply bind the same function to each
context, just like you can do with group vs article mode today.

Thus I summarize the present abilities as "not ideal, but works fine."

sdb


-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Re: [SLRN] Customizing
#59446
Author: Dawn Owens-Nicholson
Date: Wed, 22 Mar 2000 00:00
22 lines
1845 bytes
Sylvan Butler wrote:
> Ahh.  That way of phrasing the question is more clear.  So are you then
> "No Name" or was that someone else?

I am not "No Name", that was someone else.

> I consider ideal would be to have totally seperate bindings for the
> group list, the subject list, and article viewing.  I think that is the
> entire list of typical slrn contexts, but if not then a seperate binding
> for the others is needed as well.

I'd like to know more--what about ambiguous configurations?  For instance,
I imagine I'll be able to:

  setkey article down "^N"
  setkey viewing down "^N"   % equivalent of slrn's article_linedn

to bind ^N to move down one row in subject mode and scroll the article down
one line in article viewing mode?  Which gets run when I'm seeing both
article and subjects?

Re: [SLRN] Customizing
#59482
Author: Stephane Gibier
Date: Wed, 22 Mar 2000 00:00
16 lines
1788 bytes
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote :

> to bind ^N to move down one row in subject mode and scroll the article down
> one line in article viewing mode?  Which gets run when I'm seeing both
> article and subjects?

This problem can be solved with a �focus� indicator binded to generic
keytable, like [Tab] for example. The focus indicator can be a
background color, or a lineart-box around the area which have the focus.

-- 
St�phane Gibier <sgibier@mail.dotcom.fr>
L'Afrique est bonne h�tesse, mais ses canicules ne m'ont pas emball�
Yn gevdhr rfg obaar nhk srffrf, znvf frf pnavonyrf ar z'bag cnf raphy� 

Re: [SLRN] Customizing
#59485
Author: Sylvan Butler
Date: Wed, 22 Mar 2000 00:00
42 lines
2781 bytes
On Wed, 22 Mar 2000 07:25:39 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
>Sylvan Butler wrote:
>> Ahh.  That way of phrasing the question is more clear.  So are you then
>> "No Name" or was that someone else?
>
>I am not "No Name", that was someone else.
>
>> I consider ideal would be to have totally seperate bindings for the
>> group list, the subject list, and article viewing.  I think that is the
>> entire list of typical slrn contexts, but if not then a seperate binding
>> for the others is needed as well.
>
>I'd like to know more--what about ambiguous configurations?  For instance,
>I imagine I'll be able to:
>
>  setkey article down "^N"
>  setkey viewing down "^N"   % equivalent of slrn's article_linedn

>one line in article viewing mode?  Which gets run when I'm seeing both
>article and subjects?

What would happen today?  You have to make a choice.  Adding contexts
does not change that.

That's a problem when you have multiple windows, and no window has
focus.  One solution is to add a focus for which window gets the
keystroke, or else send the keystroke to all visible windows, or else no
window (e.g. BEEP).

The real solution would be random, just to punish the user for setting
up an ambiguous key map.  :)

sdb

-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Re: [SLRN] Customizing
#59527
Author: Dawn Owens-Nicholson
Date: Thu, 23 Mar 2000 00:00
63 lines
4428 bytes
Sylvan Butler wrote:
> What would happen today?  You have to make a choice.  Adding contexts
> does not change that.

This problem doesn't exist now but a third mode like the one you describe
(what I'll call 'viewing' mode) would introduce it.

The problem comes in when people want the same key to act differently
depending on whether an article is visible or not (like what Christian Molls
wanted in <ca9pa8.62d.ln@molls.de>).  What Molls wanted is possible to do
now (and I did it) and so few people ask for it, I don't think it's worth
the bad parts that come with viewing mode.

> That's a problem when you have multiple windows, and no window has
> focus.  One solution is to add a focus for which window gets the
> keystroke, or else send the keystroke to all visible windows, or else no
> window (e.g. BEEP).

I want to draw a window/view distinction here--slrn has no windows. The
views it draws are unlike windows because you give up area in one view to
gain area in another view.  This means slrn's header list and article
content areas are closer to splitviews (the regions drawn when you use
resizeable frames in a web browser) that exist in the same window, not
separate windows.  I mention this because views don't typically become
focused and unfocused.

Focusing a view requires a key--like Stephane Gibier said--Tab could be
used.  This means a new fourth(!) mode is needed (a global mode) so I can
rebind this key to something else.  This means I *lose* this key for any
other purpose unless I write a macro.  I don't want to write a macro to make
Tab available to me again because that would obviate the need for viewing
mode.  Focusing a view also requires telling me which view is focused.
Drawing a border around the active view means losing valuable columns to
decorative characters; panning left and right more often just to read news
sounds like a real pain.

Sending the keystroke to all visible views is bad because it's unlike how
GUIs work (sending a keystroke to one open window doesn't commonly make apps
take that same action in all other views or open windows) and nobody would
want (going back to my ^N example) the article to scroll *and* the header
list cursor to move at the same time.  If anyone wants that, they should
have to write a macro to get it because it's so unusual.

Sending the keystroke to no view is bad and beeping is an ambiguous error
(does it mean I've hit a key that means multiple things or hit an invalid
key?).

If this mode came to be, I would not be saved from writing macros.  On the
contrary, the more I take advantage of viewing mode by binding the same keys
to different actions, the more macros I'd have to write to make slrn as
streamlined as it is now.  I won't be writing the *same* macros, true, but
I'll be writing macros to work around the deficiencies in this new mode
(which tells me the new mode isn't so hot).

> The real solution would be random, just to punish the user for setting
> up an ambiguous key map.  :)

I realize you're joking, but using the same key in different modes is the
only way to seriously take advantage of the new mode.  It would be silly to
make the mode in this way and then punish users for having used it to
maximum advantage.

Re: [SLRN] Customizing
#59534
Author: cgreen
Date: Thu, 23 Mar 2000 00:00
28 lines
2357 bytes
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
> Sylvan Butler wrote:
>> What would happen today?  You have to make a choice.  Adding contexts
>> does not change that.
> 
> This problem doesn't exist now but a third mode like the one you describe
> (what I'll call 'viewing' mode) would introduce it.
> 
> The problem comes in when people want the same key to act differently
> depending on whether an article is visible or not (like what Christian Molls
> wanted in <ca9pa8.62d.ln@molls.de>).  What Molls wanted is possible to do
> now (and I did it) and so few people ask for it, I don't think it's worth
> the bad parts that come with viewing mode.
> 
The people who want it badly enough change newsreader, to tin probably.
This isn't a criticism of slrn necessarily, slrn and tin have
different approaches one of which will suit one group of people and
the other a different group.

I came to slrn from tin because I had one specific speed problem with
tin, after using slrn for three months or so I decided that the 'slrn
way' wasn't for me and I've returned to tin (and I've found a way to
solve the speed problem).

-- 
Chris Green (cgreen@x-1.net)

Re: [SLRN] Customizing
#59587
Author: Sylvan Butler
Date: Fri, 24 Mar 2000 00:00
117 lines
6288 bytes
On Thu, 23 Mar 2000 01:33:56 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
>Sylvan Butler wrote:
>> What would happen today?  You have to make a choice.  Adding contexts
>> does not change that.
>
>This problem doesn't exist now but a third mode like the one you describe
>(what I'll call 'viewing' mode) would introduce it.

Untrue.  Today you have to make a choice which one you want.  Same if
add another context.  Today you make the choice by binding the one key
to the one function and let slrn do what it wants, or else you bind it
to your own function and set up a decision tree.  If we added another
context it would be the exact same.

Notice I am not calling it "viewing mode".  That is what we have today,
"is_article_visible".  That provides no context to the keystroke, we
have to add the context manually.  If slrn truely had the context of
viewing an article, your keystroke would only apply to viewing the
article, just like today with the differentiation between group and
article contexts.

>> That's a problem when you have multiple windows, and no window has
>> focus.  One solution is to add a focus for which window gets the
>> keystroke, or else send the keystroke to all visible windows, or else no
>> window (e.g. BEEP).
>
>I want to draw a window/view distinction here--slrn has no windows. The

Sure it does.

>views it draws are unlike windows because you give up area in one view to
>gain area in another view.  This means slrn's header list and article

Yup.  Just like with windows.  A window takes a chunk of screen estate.
A view takes a chunk of screen estate.  Slrn has text-mode windows, some
apps have graphical windows.  They all take viewing area or else I can't
see them.  just like zooming the article window or hiding the article
window.

>separate windows.  I mention this because views don't typically become
>focused and unfocused.

OK, so that is your distinction.  If you can't assign focus, it's a
view.  So what we would need to do is change slrn to have text mode
windows instead of text mode "views".

>Focusing a view requires a key--like Stephane Gibier said--Tab could be
>used.  This means a new fourth(!) mode is needed (a global mode) so I can

Nope.  When an article becomes visible, that window would have focus.
If you didn't want that, you would have a way to switch focus, or switch
context, to another window.  It could even be put into a macro.

>mode.  Focusing a view also requires telling me which view is focused.

Yup.

>Drawing a border around the active view means losing valuable columns to

That's not necessary.  It could be as simple as changing colors or an
indicator on the dividing line.

It sounds like you are trying to make up problems why it won't work by
using how it works now.  That's what would be changed.

>Sending the keystroke to all visible views is bad because it's unlike how

I never said it was good.  I just said it was one choice.  It actually
can work quite well.  Just like modern message queues, the windows
ignore the messages they don't want to process.

>Sending the keystroke to no view is bad and beeping is an ambiguous error
>(does it mean I've hit a key that means multiple things or hit an invalid
>key?).

Both.  It really doesn't matter.  SLRN beeps for errors like that now.
All it means is "I can't handle that key right now."

>If this mode came to be, I would not be saved from writing macros.  On the

Of course not, you like it the way it is now.

>streamlined as it is now.  I won't be writing the *same* macros, true, but
>I'll be writing macros to work around the deficiencies in this new mode
>(which tells me the new mode isn't so hot).

But others would be writing less or simpler macros.  Sounds like a toss up.

>> The real solution would be random, just to punish the user for setting
>> up an ambiguous key map.  :)
>
>I realize you're joking, but using the same key in different modes is the
>only way to seriously take advantage of the new mode.  It would be silly to
>make the mode in this way and then punish users for having used it to
>maximum advantage.

The point is it wouldn't be maximum advantage.  Your example was
generated by thinking in the current paradigm, which would not apply if
things were changed.

slrn is currently partially modal.  being part modal and part not is
confusing and frustrating, and that's never good.  However it is almost
certain not to change, as change is even more confusing.  So we live
with the disadvantages of what we have.

And like I said originally, it isn't ideal, but it works.

sdb

-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

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