(setq x-select-enable-clipboard nil) (setq x-select-enable-primary t) (setq mouse-drag-copy-region t) (setq select-active-regions nil) (global-set-key [mouse-2] 'mouse-yank-at-click)
Emacs 24 kill-region and yank
To restore the old kill-region and yank behaviour, add the following to .emacs:
Emacs-24 Space bar () complete file
This was changed to allow entering file name with space without quote. The old behaviour can be restored with
class="lisp">(define-key minibuffer-local-filename-completion-map (kbd "SPC") 'minibuffer-complete-word) (define-key minibuffer-local-must-match-filename-map (kbd "SPC") 'minibuffer-complete-word)
gpg hangs
I am not sure why it hangs, since I have a lot of entropy.
The solution worked for me is "Ctrl-z" then type "fg". I do not know why suspend then restart it would make a difference. This is on Centos 5.
This is a workaround rather than a permanent fix.
using strace on it also wakes it up.
$ cat /proc/sys/kernel/random/entropy_avail 4096
The solution worked for me is "Ctrl-z" then type "fg". I do not know why suspend then restart it would make a difference. This is on Centos 5.
This is a workaround rather than a permanent fix.
using strace on it also wakes it up.
wireshark command line capture
tethereal -i eth0 -w mycapture.pcap
sending SIGTERM or SIGINT (ctrl-c) will cause it to exit cleanly.
Serial Port in Linux
stty
stty -F /dev/ttyS10 stty -F /dev/ttyS10 -a stty -F /dev/ttyS10 230400 crtscts stty -F /dev/ttyS10 230400 -crtsctshttp://www.armadeus.com/wiki/index.php?title=Serial_ports_usage_on_Linux
minicom
minicom -s minicom ttys10 (ttys10 is a saved config) ctrl-a q (quit) ctrl-a o (config) ctrl-z (help)
screen
screen /dev/ttyS10 115200 screen /dev/ttyS10 115200,crtscts ctrl-a K (kill) ctrl-a d (detach) ctrl-a i (status) $ sudo screen -ls There are screens on: 7578.pts-0.fedora (Detached) 7575.pts-0.fedora (Detached) 2009.pts-0.fedora (Detached) $ sudo screen -r 7578 -X kill $ sudo screen -r 7575 -X kill $ sudo screen -r 2009 -X kill $ sudo screen -ls # copy and paste C-a : bufferfile /etc/passwd C-a < C-a ] C-a : bufferfile No Sockets found in /var/run/screen/S-root.
Subscribe to:
Posts (Atom)