🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Mozzy Sun, 13 Mar 2005 11:09
[Xnews] Seek keyboard mapping function for Xnews?
#163830
Author: Mozzy
Date: Sun, 13 Mar 2005 11:09
16 lines
1465 bytes
Luu's "keyboard mapping" window  (Special > Keyboard mapping) is all 
that Xnews provides.  Sadly that window can't be sorted by keystroke.


ONE 

Has any inspired person written or obtained a utility for Xnews which 
will take keyboard.ini as input and list the key assignments in KEY 
ORDER?


TWO
Alternatively, maybe a resource hacker used on TFMKEYS in RCDATA can 
provide a sort function?  Am sure Luu wouldn't mind this sort of 
useful tweak to his code.  But I don't have any idea how this would 
be coded.  Anyone?
Re: [Xnews] Seek keyboard mapping function for Xnews?
#163833
Author: DC
Date: Sun, 13 Mar 2005 14:34
37 lines
2752 bytes
Mozzy wrote:
> Luu's "keyboard mapping" window  (Special > Keyboard mapping) is all 
> that Xnews provides.  Sadly that window can't be sorted by keystroke.


> ONE 

> Has any inspired person written or obtained a utility for Xnews which 
> will take keyboard.ini as input and list the key assignments in KEY 
> ORDER?


> TWO
> Alternatively, maybe a resource hacker used on TFMKEYS in RCDATA can 
> provide a sort function?  Am sure Luu wouldn't mind this sort of 
> useful tweak to his code.  But I don't have any idea how this would 
> be coded.  Anyone?

Sounds like a reasonable request to me.  It'd be handy if you needed to
quickly find out what a certain key assignment is attached to.  Maybe
Luu could include it in the next version...

In the meantime, I think that this could be accomplished via a (vim?)
script of some sort to generate a comma separated list by taking the
keys.ini as input and breaking up each line using the "=" sign as the
location of the splice and trimming the empty keys.  Then, importing
this output into a spreadsheet and sorting on column B would do the
trick.

I'm no guru with this sort of thing, though.  comp.editors may have a
suggestion, should you wish to pursue it.  I'd check the GG archives
before posting there, though.  Let us know if you find anything.

-- 
DC              Linux RU #1000111011000111001

Customize Xnews - http://dcicons.fateback.com
Re: [Xnews] Seek keyboard mapping function for Xnews?
#163840
Author: me
Date: Sun, 13 Mar 2005 15:59
35 lines
2189 bytes
DC <dcmoose@myrealbox.com> wrote in
news:slrnd38jrk.pfk.dcmoose@moosemeat.ca.INVALID: 

> Mozzy wrote:
>> Luu's "keyboard mapping" window  (Special > Keyboard
>> mapping) is all that Xnews provides.  Sadly that window
>> can't be sorted by keystroke. 
> 
> 
>> ONE 
> 
>> Has any inspired person written or obtained a utility for
>> Xnews which will take keyboard.ini as input and list the
>> key assignments in KEY ORDER?
>> -snip-
> 
> -snip-
> In the meantime, I think that this could be accomplished
> via a (vim?) script of some sort to generate a comma
> separated list by taking the keys.ini as input and breaking
> up each line using the "=" sign as the location of the
> splice and trimming the empty keys.  Then, importing this
> output into a spreadsheet and sorting on column B would do
> the trick.
> -snip-
> 
Whilst importing "CSV" files into a spreadsheet, one can specify 
that the "=" _is_ the separator.

Caveat: I don't know all spreadsheet app's so this might not 
available in some.

J
-- 
Replies to: Nherr1professor2doktor31109(at)Oyahoo(dot)Tcom
Re: [Xnews] Seek keyboard mapping function for Xnews?
#163857
Author: DC
Date: Mon, 14 Mar 2005 00:22
39 lines
2664 bytes
me@tadyatam.invalid wrote:
> DC <dcmoose@myrealbox.com> wrote in
> news:slrnd38jrk.pfk.dcmoose@moosemeat.ca.INVALID: 

>> Mozzy wrote:
>>> Luu's "keyboard mapping" window  (Special > Keyboard
>>> mapping) is all that Xnews provides.  Sadly that window
>>> can't be sorted by keystroke. 


>>> ONE 

>>> Has any inspired person written or obtained a utility for
>>> Xnews which will take keyboard.ini as input and list the
>>> key assignments in KEY ORDER?
>>> -snip-

>> -snip-
>> In the meantime, I think that this could be accomplished
>> via a (vim?) script of some sort to generate a comma
>> separated list by taking the keys.ini as input and breaking
>> up each line using the "=" sign as the location of the
>> splice and trimming the empty keys.  Then, importing this
>> output into a spreadsheet and sorting on column B would do
>> the trick.
>> -snip-

> Whilst importing "CSV" files into a spreadsheet, one can specify 
> that the "=" _is_ the separator.

> Caveat: I don't know all spreadsheet app's so this might not 
> available in some.

That could very well be.  I don't use them much.

-- 
DC              Linux RU #1000111011000111001

Customize Xnews - http://dcicons.fateback.com
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