mapping a key to output txt while in x using term
Now for those curious, I have spent about an hour prowling through previous messages. Learned quite a bit, but still can't find the answer to my question. I've tried xbindkeys and xmodmap, and have failed to get the results I want.
So here is the goal: (i'm using Mandrake, though i don't think its relevant) to be able to hit a sequence of keys (say, Alt-D) in the terminal window in X and have a series of letters (say, "password\n") appear on the screen.
Now I have this working in a regular terminal (ctrl-alt-f1) by editing us.kmap but it will not work while i'm inside of X. So my initial attempt was using xmodmap.. but I've had poor luck getting it to recognize and just output some text.
I would appreciate any help, and if I missed the appropriate thread I apologize. If xmodmap is the answer, an example of the file for it to call would be great.