Tagged Questions
2
votes
1answer
340 views
Unix User Level Keylogger
I need to record my own keystroke data for some academic research. I wrote a regular keylogger for Windows, but now I need to write one for a Unix environment, with the constraint that I have only ...
3
votes
1answer
81 views
How to use the Meta/Alt Key with tput?
I want to redefine keybindings for the commandline of a lisp dialect. The commandline is actually modeled after Vi and implemented with tput/terminfo. I want an alternative version with Emacs ...
2
votes
1answer
662 views
Backspace, del, arrow keys not working with interactive programs in Tilda
I currently run Openbox on a light netinstall of Debian. In Tilda, when I use a program like nslookup or winexe, some of my keys do not work properly.
Backspace generates ^?
Up generates ^[[A
...
2
votes
1answer
233 views
Control and up/down keys in terminal for use by emacs
Is it possible to use C-up and C-down when running emacs in the terminal window (when starting emacs from the command line with the -nw flag)? What should my terminal send when I press C-up and C-down ...
2
votes
1answer
318 views
Garbage characters appear on screen when typing
When typing, garbage characters somehow appear on the screen for all the letters that I type. The garbage character is a small rectangle box, and this prevents me from executing any commands on the ...
2
votes
2answers
663 views
What does this output from xev mean?
I'm interested in remapping some keys on my keyboard. In particular, I want to hold down the Function key, press the F1 key, and have this trigger a script. I know that xev is useful for figuring out ...
3
votes
2answers
822 views
Disable scroll lock
We have a shell/tty based application that has ~1,000 users. It is running in an environment where X Server is not available. If a user accidently turns on the Scroll Lock, it makes it seem as if the ...
1
vote
1answer
194 views
Strange terminal behavior: 'j' key not working in urxvt
For some bizarre reason my 'j' key stopped working properly. Every time I hit the key, it prints "true". If I type 'jake', the terminal prints:
>>trueake
I don't know what lead to this. I ...
4
votes
2answers
436 views
How to switch X windows from the command-line?
How can I create a script that automatically switches windows? I'm trying to do the same thing Alt+Tab does.
2
votes
1answer
275 views
Keyboard input not displayed on the screen?
We use the `exceed tool to connect to our UNIX servers, but sometimes the command-line behaves erratically. When I am typing some command on the command-line, nothing happens -- nothing is displayed ...
3
votes
2answers
526 views
Why does Ctrl+Arrow make my terminal switch to a strange mode?
When i type Ctrl+Left or Ctrl+Right within Guake or gnome-terminal the last one's behaviour turns to a some kind of non-usual mode: - key acts like arrow up and + like arrow down, v runs Nano, etc. ...
45
votes
2answers
16k views
How to unfreeze after accidentally pressing Ctrl-S in a terminal?
It's a situation that has happened quite often to me: after I press (with a different intention) Ctrl-S in a terminal, the interaction (input or output) with it is frozen. It's probably a kind of ...
4
votes
2answers
868 views
Remapping caps-lock to escape, and menu to compose, on the linux console
When running X I use a .xmodmaprc to remap certain keys thusly:
! Make it so that both Caps Lock and Escape do Escape
clear Lock
keysym Caps_Lock = Escape
! Remap the menu key as Compose
keysym Menu ...
4
votes
1answer
2k views
Why don't Page U/Down, Home/End work in less on Solaris over ssh from Ubuntu?
I need to work on a Solaris server over ssh from my Ubuntu (Lucid) laptop. I got Home/End Insert/Delete Page Up/Down working in csh and bash using bindkey and ~/.inputrc, respectively. But I can't ...
3
votes
1answer
425 views
How do I fix unix so that I can use the arrow keys in a terminal?
Before I was able to use the Up/Down arrow keys to cycle through previous commands, but now when I press a directional key it outputs "^[[A". I'm running a bash shell. How do I fix this?