Skip to main content

Posts

VI common commands

Cursor movements in command mode : h=move the cursor to the left one character position l=move the cursor to the right one character position j=move the cursor down one lin e k=move the cursor up one line Changing mode : i=enter insert mode, the characters typed in will be inserted before the current cursor position. If you specify a count, all the text that had been inserted will be repeated that many times. a=enter insert mode, the characters typed in will be inserted after the current cursor position. If you specify a count, all the text that had been inserted will be repeated that many times. Text manipulation in command mode : x=delete character under the cursor. Count specifies how many characters to delete. The characters will be deleted after the cursor. u=undo the last change to the file. Typing u again will re-do the change. r=replace one character under the cursor. Specify count to replace a number of characters Cutting and Yanking : The

FreeBSD common commands

Install fluxbox #: cd /usr/ports/x11-wm/fluxbox ; make install clean Run fluxbox when executing startx $: cd ~ $: touch .xinitrc $: echo "exec fluxbox" > .xinitrc Installing vmware-tools (FreeBSD 6.1, comes with XOrg 7.x) #: mount /cdrom #: cp /cdrom/vmware-freebsd-tools.tar.gz /tmp #: cd /tmp #: tar xvzf vmware-freebsd-tools.tar.gz #: cd vmware-tools-distrib #: ./vmware-install.pl ;defualts here should be fine #: cd /usr/X11R6/lib/modules/drivers ;we need the following since vmware-install.pl does not install the mouse driver #: cp /tmp/vmware-tools-distrib/lib/configurator/XOrg/6.8.x/vmmouse_drv.o #: vi /etc/X11/xorg.conf In vi, change the following lines: Section "InputDevice" Identifier "Mouse0" Driver "vmmouse" #<<-- this line (changed from "mouse") Option "Protocol" "ps/2" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5 6 7&quo

Compile farms and test machines

SourceForge.net provides a number of services to the developers of Open Source software development projects hosted on SourceForge.net. Part of this service offering is the SourceForge.net Compile Farm, which provides developers access to a pool of hosts that may be used for the compiling and testing of software. Each host within the Compile Farm is running a different Operating System (OS) on a different hardware platform. HP Testdrive - Want to try the latest technologies over the Internet? This program allows you to testdrive some of the hottest hardware and operating systems available today. Have you ever wanted to try out HP's exciting 64-bit Integrity and PA-RISC technology? Get time on SMP x86 and Opteron ProLiant servers? Try out a Blade server. Try different Open Source operating systems. Do it here! Just register for an account and fasten your seatbelt! Cray - Need to check if your application will work for the mainframes? What are you waiting for, dive in . Nomach

Reading documents in Handspring Visor

There are quit a few choices when reading documents in Handspring Visor or Palm based PDA's. One is Adobe Acrobat Reader for Palm and Plucker. There might be more but these are the ones that I have used so far. The latest Adobe Reader for Palm OS works only for OS version 3.5 or greater. So for the Handspring Visor we are left with one application, Plucker . Latest version (1.8) does not seem to support Palm OS 3.0. When I was writing this blog it seems like the Plucker website was down. So I instead picked the older version from internet archive . I took v1.6 and low and behold it is working like a charm in Visor Deluxe. For readers convenience, you can download the file from here . Need to download and install 7-zip to extract the contents, though. Update (22Jan07) I found out that there are two binaries for v1.8 of the viewer application. One is for high resolution and non-hires. Non-high resolution works like a charm in Palm OS 3.0.x. Try this link .