infokey doesn't compile \kD, \kx key bindings
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix questions > infokey doesn't compile \kD, \kx key bindings




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    infokey doesn't compile \kD, \kx key bindings  
nospam55


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-10-04 07:34 PM




Hi .

I would like to swap the effect of <space> and next (PgDn) in info, the gnu
texinfo standalone reader; below is my .infokey source file.
Then I do from the shell

$ infokey

this compiles the small ~/.info binary as it should, but when I start

$ info

only the var adjustments  automatic-footnotes=Off visible-bell=On
seem to take effect, the key bindings seem to remain the default ones.
Surprisingly, if instead of the PgDn key

\kD     scroll-forward


I try to rebind the 'a' key

a       scroll-forward

then the adjustment succeeds and  a  scrolls down

What is wrong?

Thank you


### version info  ########################################
###################
####

# Linux Professional (should be a redhat 8.0)

1 rossi$ infokey --version
infokey (GNU texinfo) 4.2

Copyright (C) 1999 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.


1 rossi$ info --version
info (GNU texinfo) 4.2

Copyright (C) 2002 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.


1 rossi$ uname -a
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i6
86 i386 GNU/Linux
1 rossi$





#### my ~/.infokey file  ########################################
############
#######################


# below I swap next space, prior del

#info

#j       next-line
#k       prev-line
#l       forward-char
#h       backward-char
#\kd     next-line
#\ku     prev-line
#\kr     forward-char
#\kl     backward-char

# previous
\kU     scroll-backward

# delete
\kx     scroll-backward-page-only

# backspace
\b     scroll-backward-page-only

# next
\kD     scroll-forward

# space
\       scroll-forward-page-only

#     g       beginning-of-node
#     \kh     beginning-of-node
#     G       end-of-node
#     \ke     end-of-node
#     \t      select-reference-this-line
#     -       history-node
#     n       next-node
#     p       prev-node
#     u       up-node
#     t       top-node
#     d       dir-node


#var
# Capital Off On ; no comments nor spaces
automatic-footnotes=Off
visible-bell=On










[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:39 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register