Hi List,
how would I write a
- Meta/Alt key
- AltGr key
in a PicoLisp program?
E.g. if I want to write
"V" (M-V or M-S-v in Emacs)
"V" (C-M-V or C-M-S-v in Emacs)
instead of something like this ("V"):
,---
| ("^V" (insChar (key)))
`---
--
cheers,
Hi Thorsten,
> "V" (M-V or M-S-v in Emacs)
> "V" (C-M-V or C-M-S-v in Emacs)
>
> instead of something like this ("V"):
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 system, w
Alexander Burger writes:
Hi Alex,
>> "V" (M-V or M-S-v in Emacs)
>> "V" (C-M-V or C-M-S-v in Emacs)
>>
>> instead of something like this ("V"):
>
> Unfortunately, this is not directly possible.
>
> Alt/Meta key combinations have no representation in ASCII or UTF-8.
> Instead, they are generated
Hi Thorsten,
> So and 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
you get the character 97 ('a'), if you press shift, you get 65 ('A'),
and if you press c
Alexander Burger writes:
Hi Alex,
thanks for your explanations.
>> So and 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
> you get the character 97
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
>Me
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.
Axel Svensson
writes:
>> 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. Maybe it be possible to create picolisp
Alexander Burger writes:
Hi Alex,
>> my idea is to add an Emacs-like command line to PicoLisp. I thought this
>
> Good idea :)
thanks for all the info, that gives me something to start with. More
questions later (probably).
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de
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 l
> 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 we
Alexander Burger 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 changing the
keybin
Thorsten Jolitz
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 terminfo man-page (I
Hi Thorsten,
> I already have a basic emacs commandline version running, the most basic
> Emacs 'movement, deletion and paste' commands, just by changing the
> keybinding of existing functions to Emacs bindings with prefix.
Nice!
> But there are still several things I don't really understand:
Hi List,
thanks to the hints from Alex and the answer to this question:
,
|
http://unix.stackexchange.com/questions/53048/how-to-use-the-meta-alt-key-with-tput
`-
15 matches
Mail list logo