gnome-terminal macros and guile extensions


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:

			| 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
	(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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]