files | main | my work environment | vi or emacs? | photos | oesi sites | good sites | fighting e-patents | signatures | last words | research | about


My work environment

I use a Dell Inspiron 8600 notebook with Intel(R) Pentium(R) M processor 1700MHz, 2GB RAM, ATI Mobility Radeon 9600 M10 graphic card (128MB, 1920x1200 resolution).

Special kernel hacks

I use the software-suspend-2.1.5-for-2.6.9 patch.
To suspend the machine I run the pennen script.
My kernel configuration is config-2.6.9-kotzmaster
I create debian packages of the kernel sources by using this kbuild script.

X-Server configuration

I run the Xorg X-Server - I just downloaded X11R6.8.1-src.tar.bz2 and removed PAM support (build fails with PAM enabled on my Debian-based system):



xorg-oesi.diff


--- xc/config/cf/linux.cf        2004-08-11 23:14:01.000000000 +0200
+++ xc-oesi/config/cf/linux.cf  2004-11-13 07:53:42.000000000 +0100
@@ -98,7 +98,7 @@
 # if !NothingOutsideProjectRoot
 #  define SystemManDirectory   /usr/share/man
 # endif
-# define HasPam                        YES
+# define HasPam                        NO
 /* un-comment this when it is un-broken */
 /* # define JoystickSupport YES */
 # if !NothingOutsideProjectRoot

X-Server configuration file: /etc/X11/xorg.conf

GPRS Internet using Sony Ericsson T630


internet


#! /bin/sh

killall pppd   >/dev/null 2>&1
rfcomm release 0 >/dev/null 2>&1
rfcomm bind 0 00:0E:07:41:6A:A0 1 || exit 1

/usr/sbin/pppd /dev/rfcomm0 115200 mru 2000 connect \
          'chat -v "" ATZ OK  "ATD *98*3#" CONNECT' \
          noauth -chap defaultroute noipdefault persist \
          ipcp-accept-local bsdcomp 15,15 deflate 15,15 \
          noipx \
          lcp-echo-failure 0 lcp-echo-interval 999999999 name one debug

killall gvpe
exit 0


DVD burner

To burn DVD's I use the following script which burns everything from the current directory.


burn


#! /bin/sh
# DVD burning...
# growisofs -Z /dev/hdc=wp_1_2005.iso
DVD=/dev/dvd

lsof /dev/hda|grep -q ^vmware && exit 1
dvd+rw-mediainfo "$DVD" 1>/dev/null 2>&1 || exit 2
dvd+rw-format -force "$DVD" || exit 3
growisofs -Z "$DVD" -R -J . || exit 4
aplay -q /root/.fvwm/burn.wav
eject "$DVD"
exit 0

Shell

My prefered shell is bash.
Look at this:

prompt_command ()                                                               
{                                                                               
  local status="$?"                                                             
  local signal=""                                                               
                                                                                
  if [ $status -gt 128 ]; then                                                
      signal="$(builtin kill -l $[$status - 128] 2>/dev/null)"                  
      if [ "$signal" ]; then signal=" ($signal)"; fi                            
  fi                                                                          
      export  PS1="\[\033[1;30m\][\[\033[1;31m\]$status$signal\[\033[1;30m\]]\[\033[1;30m\]--(\[\033[0;36m\]\t\[\033[1;30m\])-(\[\033[0;35m\]\u@\h\[\033[1;30m\])-(\[\033[0;33m\]\w\[\033[1;30m\])->\[\033[0m\] "
  return 0                                                                      
}                                                                               
                                                                                
PROMPT_COMMAND=prompt_command                                                   

This creates a cool prompt and looks like this in rxvt:
An image of a rxvt showing prompt behavior


files | main | my work environment | vi or emacs? | photos | oesi sites | good sites | fighting e-patents | signatures | last words | research | about

(c) 2004 by Stefan Traby (running in unmanaged mode - iddqd idkfa)
OESI COMES WITH ABSOLUTELY NO WARRANTY! USE HIM AT YOUR OWN RISK!

Letzte Änderung: Wed, 24 Nov 2004 15:32:43 GMT