On Sat Jan 02 1999 at 21:52, Tanguy CARRABIN wrote:
> I'm missing two files: .Xresources and .Xmodmap
> Does anyone have them and could them to me ?
> I'm using RedHat 5 with Xfree86 3.3.2
You create those two files yourself. See the man pages for X, xrdb,
xmodmap, and the man pages that these pages refer to.
.Xresources is used to define settings for X applications (colours and
so on), while .Xmodmap is used to configure your keyboard.
In any case, your .xinitrc file needs to be set up to use them.
BTW, this is what you want in ~/.Xmodmap -
keycode 22 = BackSpace
keycode 107 = Delete
and in ~/.xinitc you need to have this:
xmodmap $HOME/.Xmodmap
This setting will make your backspace and insert keys do the "right"
thing in an xterm.
> I've got a problem, also: when I execute an editor (vi for example) I'm
> getting the message: write error in swap file.
> What is this due to ?
The likely reason is that you don't have permission to write the swap
file in the current directory.
> How can I resolve ?
Put this into your ~/.vimrc file:
:set dir=>/tmp
:set backupdir=>/tmp
Better still, put it into /usr/share/vim/vimrc (to make it "global"
for all users).
> I've got 64 MB of ram, do I need swap space (for the moment I've got
> 64MB of swap space, should keep it ?)
Yes.
Cheers
Tony