Making your default group sysbio instead of ugrads
or grads
or whatever it was
If your default group isn't
sysbio
, then every file you create
or edit will be owned by whatever your default group is. This makes it impossible for anyone else in the sysbio group to edit it (unless it is world-writable, which isn't a good idea). You can manually use
chgrp -r sysbio FILE
to change files, but this is annoying and it's easy to forget.
Therefore, if your first group isn't
sysbio
, you should put this in your .cshrc file (or .bashrc file if you're using bash):
Now every file you make and/or edit will be usable by everyone else in the group, too.
Fixing Backspace in emacs
I assume you want backspace and delete to work properly in emacs. If this is true, then you need these lines in your
~/.emacs
file.
This also fixes the problem where you try searching for something (Ctrl-S), and then want to correct what you typed, but you end up deleting the text at the cursor point instead of in the search field.
(define-key isearch-mode-map [backspace] 'isearch-delete-char)
(define-key isearch-mode-map "\C-h" 'isearch-delete-char)
(global-set-key "\C-h" 'backward-delete-char-untabify)
(global-set-key "\M-\C-h" 'backward-delete-char)
(global-set-key "\M-[220z" 'backward-char)
(global-set-key "\M-[222z" 'forward-char)
(global-set-key "\M-[218z" 'previous-line)
(global-set-key [backspace] 'backward-delete-char-untabify)
(global-set-key [C-backspace] 'backward-delete-char-untabify)
(global-set-key [S-backspace] 'backward-delete-char-untabify)
Make tabs and end-of-line whitespace visible in emacs
To-do. This is possible, though, and very handy.