Martin Cracauer's Dotfiles/Configuration Page

Contents:
News/Awards
Who I am
Software
Programming
Configuration
Opinions
Fun (German)
Downloads
Links
Search: (not public yet)

My fvwm95 setup is done in a way that it is immediately familiar for Windows95/NT4.0 users and so that almost everything can be done from the keyboard. Nicer than many diehard Windows-hater may assume.

The emacs setup has a nice feature that resembles the SELECT key on a Symbolics Lisp machine. It is used to switch to other buffers in the most comfortable way, especially when programming . It also has example tuning for C-mode, including a minor mode to be compatible with FreeBSD's style(9), a compilation command that automatically detects whether (BSD) make or gmake must be called and generally some nice Elisp functions I missed.

The pcvt init script is a shellscript that sets fonts, colour, keymapping and key repeat rate for FreeBSD's console driver pcvt in one shellscript, without modifying any files by hand.


fvwm95

Note: I switched back to fvwm2, hence this fvwm95 setup is no longer maintained or used by me. I did not remove it from this Web page because it will still be useful for fresh UNIX users and/or for systems where Windows users must ocassionally work on.

The X11 Window manager fvwm95 can be set up so that it behaves and looks like a Windows 95/NT4.0 desktop.

Not that I like that in particular, in fact I don't care for the look. But this setup has the advantage to be immediately familiar for ex-Windows users.

Also, my setup is done in a way that the window manager reacts to the same keyboard shortcuts like Windows does (or can be made). Now, this is a major advantage, because

In my setup, you can do everything with the keyboard, including Mouse pointer motion. The only thing I didn't realize is simulating mouse clicks, I need to patch fvwm95 for this.

I think, BTW, that this other window manager that claims to be the most Win95-like window manager on X11 is a lie. It may be true for the default setup, but not if you tune both.

Also, I should not that fvwm95 is in fact a bit less stable than fvwm2, but not enough to force me to switch to fvwm2.

Download my .fvwm95 dotfile here or get a gziped tarfile of all my public dotfiles here.

emacs

The major features of my emacs setup is a features that resembles the SELECT key on a Symbolics Lisp machine.

Imagine you are programming and have one emacs with buffer for some *.c, *.h, *.s files, GNUmakefile, README, TODO, a *shell* buffer, a *info* buffer and whatnot.

The SELECT-like key (which is usually mapped to the right ALT key on my keyboard) allows you to switch between these buffers rapidly.

It is easy to adapt the settings for your own needs. This list may not be in sync with my newest .emacs, see the Elisp file for the exact list.

The function (cra-compile ()), bound to C-c g starts M-x compile, but it tries to determine the right make program to be called. If GNUmakefile exists in the current directory or if the Makefile includes an 'include' statement that is in GNU make syntax, it calls, 'gmake'. Else, 'make' is being called.

This file include a minor mode for C-mode called bsd-mode, which changes indenting rules to be compatible with FreeBSD's style guide style(9). Use it if you contribute to FreeBSD, or the Brucefilter will get you :-)

My .emacs also forces the shellscript editing mode into something sane, indenting-wise. It also forces #! /bin/sh at the beginning of a new shellscript, instead of using bash if your login shell is bash (Yessus...).

The key C-c i is bound to a command that calls info, but load the dir file from the current directory and nowhere else.

The function (whitespace ()), bound to C-c W eliminates all trailing whitespace from all lines in the buffer.

Other random code for various emacs modes - partly deactivated - may serve as examples for your own customization.

Download my .emacs dotfile here or get a gziped tarfile of all my public dotfiles here.

pcvt init script

This script does:

Download my pcvt init script here. On a normal FreeBSD system, just copy it to /usr/local/etc/rc.d and set execute permissions.

Remember that pcvt is not the default console driver on FreeBSD, you have to rebuild the kernel with
device vt0
See the kernel config files for examples.


©2004 Martin Cracauer <cracauer @ cons.org> http://www.cons.org/cracauer/
Last changed: $Date: 2003/03/07 21:36:04 $