I'm trying to find a way to create keyboard macros, to send simple strings to the current terminal
i'm working in, when I press a specific key, or combination of keys (ie ctrl-f1). Either using xterm or screen (preferrably screen).
The purpose for this is gaming. For example when I am playing MUDs, I want to be able to press a key and have it send a string to telnet(1).
I've looked at linux MUD clients, none of which really did what I want.
I've tried reading the manpages for xterm and screen, but i'm a bit confused about creating keyboard binds to strings.
Can anyone give me a quick example of how to do this using screen or xterm?.
Thanks |