Re: Meta key in PicoLisp program

2012-10-26 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, thanks for your explanations. So Ctrl and Shift are the only 'meta-keys' that can be used (and Yes, they cause the generation of different ASCII characters by the keyboard when they are pressed. For example, if you press the 'A' key

Re: Meta key in PicoLisp program

2012-10-26 Thread Alexander Burger
Hi Thorsten, my idea is to add an Emacs-like command line to PicoLisp. I thought this Good idea :) 1. move all commands from command-mode to insertion-mode (the only Emacs-mode) 2. eliminate command-mode 3. replace the vi 1-key bindings with Emacs keychords (with Control and Meta

Re: Meta key in PicoLisp program

2012-10-26 Thread Alexander Burger
On Fri, Oct 26, 2012 at 11:57:34AM +0200, Axel Svensson wrote: my idea is to add an Emacs-like command line to PicoLisp. I thought this Is there anything you want that's not supported by the GNU readline library? Since this library is so popular, it's been well tested during the years.

Re: Meta key in PicoLisp program

2012-10-26 Thread Alexander Burger
On Fri, Oct 26, 2012 at 12:27:21PM +0200, Alexander Burger wrote: The problem with both solutions is that they don't integrate as well as lib/led.l with the PicoLisp runtime environment (e.g. tab completion BTW, the historic reason for PicoLisp's simple line editor is that the GNU readline

Re: Meta key in PicoLisp program

2012-10-26 Thread Axel Svensson
GNU readline library is bigger than the whole PicoLisp interpreter. So it didn't feel right to link with it. Probably right feeling there. In production, command line interaction might not even be used at all. But the option is nice, so if someone's willing to tweak readline.l it would be a

Re: Meta key in PicoLisp program

2012-10-26 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, my idea is to add an Emacs-like command line to PicoLisp. I thought this Yes. Quite a lot of stuff, though. I already have a basic emacs commandline version running, the most basic Emacs 'movement, deletion and paste' commands, just by

Re: Meta key in PicoLisp program

2012-10-26 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@googlemail.com writes: but in the web I still did not find a list of all the keys like kf1 and kf2 that 'tput' knows about - where can I look them up? I would e.g. need to know how to adress the Alt key - kalt? I guess not... ok, I found the list of keys in the

Re: Meta key in PicoLisp program

2012-10-24 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, AltV (M-V or M-S-v in Emacs) CtrlALTV (C-M-V or C-M-S-v in Emacs) instead of something like this (CtrlV): Unfortunately, this is not directly possible. Alt/Meta key combinations have no representation in ASCII or UTF-8. Instead,

Re: Meta key in PicoLisp program

2012-10-23 Thread Alexander Burger
Hi Thorsten, AltV (M-V or M-S-v in Emacs) CtrlALTV (C-M-V or C-M-S-v in Emacs) instead of something like this (CtrlV): Unfortunately, this is not directly possible. Alt/Meta key combinations have no representation in ASCII or UTF-8. Instead, they are generated as events by the runtime