The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

keyboard macro in xterm or screen by fduplex 2003-02-13 11:01:37
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
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)