Re: grabbing keystrokes from gnome-terminal
- From: Aldy Hernandez <aldy uaa edu>
- To: Havoc Pennington <rhp zirx pair com>
- Cc: gnome-devel-list gnome org, miguel nuclecu unam mx
- Subject: Re: grabbing keystrokes from gnome-terminal
- Date: 11 Mar 1999 19:59:35 -0400
>>>>> "Havoc" == Havoc Pennington <rhp@zirx.pair.com> writes:
> If you want to let people do magic based on text that appears in the
> terminal, it would make sense to me to let Zvt do its "preprocessing"
> first (look at the key event handler in zvtterm.c), then add some sort of
> hook to zvt so that the Guile module can get the preprocessed character
Hmmmm, Miguel had mentioned that he wanted to leave gnome-terminal
and friends pretty much unadultered so perhaps having an expect type
interface is not as plausible as expected.
Now that I think of it-- is an expect like interface really that
useful? Do we need to do magic on text that appears on the screen or
a point and click interface enough... Like this:
(define (context text)
(cond ((terminal-regex text "http://[a-zA-Z0-9\.-/~%=]*")
(gnome-url ...))
((terminal-regex text "ftp://.......")
(gnome-ftp ...))
etc etc)
(terminal-trigger-on-click '(control shift) 'left-button context)
Aldy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]