Search the web
Sign In
New User? Sign Up
vshnu · Discussion, support and announcements regarding the "vshnu" visual shell supplement software in Perl for Unix.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: vshnu   Message List  
Reply | Forward Message #11 of 71 |
Sent 23Jun01 from gc to kinzler
+---------- vshnu ----------
| I installed vshnu some weeks ago, and now I use it more than my file
| manager or any term. I think it doesn't have the success it deserves
| (and it made me begin to learn perl).

Hi Georges. Thanks, that's all great to hear!

| I have personalized it but I would like to go a little further and make
| use of PgUp, PgDn, and the arrow keys to navigate when in main mode.
| Having seen that I could use \040 and \177 for space and delete, I tried
| \121 (PgDn) but it doesn't work (is \121 PgDn or Q ? Q doesn't work too).

Yes, \121 is "Q". What a special function key like PgDn sends can vary
from system to system, I believe. Mine actually sends 4 characters
( <Ctrl-[> [ 6 ~ ) when you hit PgDn (this is probably pretty standard
for PC-type keyboards with xterm).

| Is there some way to do that ?

Actually, there is something you can try and if it works, you can define
and use the function keys very easily. If it doesn't then it'll take
lots more trickery. Because I didn't expect it to work for everyone
everywhere and since I prefer to avoid using them myself, I didn't define
or use any function keys in vshnu's distributed code.

But, of course, you can always do so in your own personalizations.

The screen module is really where function keys should be recognized.
Term::Screen, the basic one vshnu uses, does have some limited support
for function keys, so you can use it if it works for you.

Here's how to test -- just add this to your .vshnurc:

$keymap_{"pgup"} = 'msg "Hey, you hit Page Up!"';

reload, and hit PgUp in vshnu main mode.

See the end of the Term/Screen.pm file for the other function key names.

| You must be a very busy man, so excuse me for bothering.
| Thank you (at least for that fantastic little program).

No problem, and you're welcome :-)

And if you come up with any useful personalizations or a good set of
definitions for the function keys, send them along or share them with
the mailing list.

Cheers, Steve

--
from the brain of Steve Kinzler /o)\ steve@...
an organ with a mind of its own \(o/ www.kinzler.com
Hardiness deerfly / nougat ordinance noontime / springer unsafety.



Mon Jun 25, 2001 6:01 pm

kinzler@...
Send Email Send Email

Forward
Message #11 of 71 |
Expand Messages Author Sort by Date

Sent 23Jun01 from gc to kinzler +---------- vshnu ---------- ... Hi Georges. Thanks, that's all great to hear! ... Yes, \121 is "Q". What a special function...
Steve Kinzler
kinzler@...
Send Email
Jun 25, 2001
6:02 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help