gnome-terminal macros and guile extensions
- From: Aldy Hernandez <aldy uaa edu>
- To: gnome-list gnome org, gnome-devel-list gnome org
- Cc: miguel nuclecu unam mx
- Subject: gnome-terminal macros and guile extensions
- Date: 25 Feb 1999 17:11:45 -0400
howdy.
i don't know if this has been discussed before but i think it would be
great to have a custom pulldown menu off of gnome-terminal with things
such as common-typed commands.
for example:
File-----Settings-------Macros----------------Help
| some phrase |
| some other phrase |
| another command |
+-------------------+
selecting [some phrase] would cause "some phrase" to be "typed" into
the terminal.
this could be extended beyond simple macros into some programmable
language (ahem, guile). so you could set the [some phrase] macro to
call:
(insert-text (append-string "the date is" (system "date")))
gnome-terminal could also add scheme bindings that would make it aware
of what is on the screen. so i could have a macro [spell-word] that
would execute:
(define (spell-word)
(let ((word (gnome-terminal-get-highlight)))
(if (system (string-append "/bin/spell -w " word))
(gnome-terminal-display-in-status-bar "Word ok")
(gnome-terminal-display-in-status-bar "Mispelled"))))
ideally it would be great to have bindings for all of gnome, allowing
any extension to be able to pop up gnome-windows with information,
etc. but this isn't imperative.
is this feasable for inclusion in gnome-terminal?
aldy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]