The simplest solution is to have trplayer read a runtime configuration
file  e.g.  .trplayerrc   from the home directory which lets
people define their own key mappings.  

I don't like emacs keys much myself. I only like their attitude that
every key sequence or keystroke should be touch typable.  I actually 
prefer the vi key paradigm since that is what I've been using for
the past 10 or 15 years :-)

The .trplayerrc file can define the keys using formats such as:
FORWARD_SIX_SECONDS CTL-F
FORWARD_ONE_MINUTE ALT-F
PAUSE p
etc


It should be simple enough to have trplayer read this file and overwrite 
existing defaults with the new maps.


Rudy


> From [EMAIL PROTECTED]  Mon Jul 31 18:29:49 2000
> Return-Path: <[EMAIL PROTECTED]>
> Received: from braille.uwo.ca ([EMAIL PROTECTED] [129.100.109.30])
>       by cougar.aero-vision.com (8.9.3/8.9.3) with ESMTP id SAA27973
>       for <[EMAIL PROTECTED]>; Mon, 31 Jul 2000 18:29:48 -0400
> Received: from speech.braille.uwo.ca(localhost[127.0.0.1]) (2400 bytes) by 
>braille.uwo.ca
>       via smail with P:esmtp/R:inet_hosts/T:smtp
>       (sender: <[EMAIL PROTECTED]>) 
>       id <[EMAIL PROTECTED]>
>       for <[EMAIL PROTECTED]>; Mon, 31 Jul 2000 18:29:43 -0400 (EDT)
>       (Smail-3.2.0.102 1998-Aug-2 #2 built 1999-Sep-5)
> Received: from braille.uwo.ca(localhost[127.0.0.1]) (1662 bytes) by braille.uwo.ca
>       via smail with P:esmtp/D:aliases/T:pipe
>       (sender: <[EMAIL PROTECTED]>) 
>       id <[EMAIL PROTECTED]>
>       for <[EMAIL PROTECTED]>; Mon, 31 Jul 2000 18:29:41 -0400 (EDT)
>       (Smail-3.2.0.102 1998-Aug-2 #2 built 1999-Sep-5)
> Message-Id: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Redefining command keys 
> In-reply-to: Your message of Mon, 31 Jul 2000 10:49:07 -0400.
>              <[EMAIL PROTECTED]> 
> Date: Mon, 31 Jul 2000 18:29:41 -0400
> From: Matthew Campbell <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Sender: [EMAIL PROTECTED]
> Errors-To: [EMAIL PROTECTED]
> X-Mailman-Version: 1.1
> Precedence: bulk
> List-Id: mailing list for announcements and discussion regarding trplayer 
><trplayer.braille.uwo.ca>
> X-BeenThere: [EMAIL PROTECTED]
> 
> >f, b  can be forward and backword six second
> >^f, ^b can be forwad and backward one minute
> >>, < - forward and backward ten minutes etc.
> 
> The only practical problem with your suggestion is that the b key is
> already used to print the current bandwidth (or bit-rate, to use the
> more correct term) of the clip.
> 
> If we want to follow Emacs completely, the navigation keys would be as
> follows:
> 
> Control-f, right arrow: go forward 6 seconds
> Control-b, left arrow: go back 6 seconds
> Alt-f: go forward 1 minute
> Alt-b: go back 1 minute
> Control-a: go to beginning of clip
> Control-e: go to end of clip with automatic pause
> Control-n, down arrow: go forward 10 minutes
> Control-p, up arrow: go back 10 minutes
> Control-v, page down: skip to next clip
> Alt-v, page up: skip to previous clip
> Home: skip to first clip
> End: skip to last clip
> 
> Yes, I know, control-p is already taken by the pause command.  I could
> change that to a p with no control key.  While I'm at it, I could
> change the stop command (control-s) to quit (q), and the quiet mode
> toggle (currently q) to control-q.
> 
> I like this interface, but I know that not everyone likes Emacs.  So
> what do you all think?
> 
> -- 
> Matt Campbell
> Web site:  http://www.crosswinds.net/~mattcamp/
> ICQ #:  33005941
> 



Reply via email to