ICT: Diary
D: 28 W: 05
| < | November 2013 | > | ||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
[ < ]
Wednesday, 27 November 2013 [ >
]
Dynamic Window Titles
After looking for a way to get Terminal windows to have titles with:
machine:user pwd
I came across Updating The xterm Title Bar which gave me the clues I needed to update my
.kshrcfile:
#Code for window title names
HOST=`hostname -s`
label () { /bin/echo "^[]0;$*^G"; }
alias mylabel='label $HOST:${LOGNAME} ${PWD#$HOME/}'
case $TERM in
xterm* | *rxvt*)
eval mylabel
esac
cdlabel ()
{
if [ -z "$1" ]
then
"cd"
else
"cd" $*
fi
eval mylabel;
}
alias cd=cdlabel
eval mylabel
QEMU
Installed qemu-1.7.0-rc2 for testing and then set about installing xp:
port:fred ~/qemu> qemu-img create -f qcow2 xp.img 10G Formatting 'xp.img', fmt=qcow2 size=10737418240 encryption=off cluster_size=65536 lazy_refcounts=off
Had to up my ulimit as I was getting the following errors:
(qemu) Cannot set up guest memory 'pc.ram': Cannot allocate memory
when running:
port:fred ~/qemu> qemu-system-i386 -m 512 -monitor stdio -no-fd-bootchk \ Finish the line --> -hda xp.img -cdrom /dev/cd0a -boot d
ports
porting needs to be updated and merged into the faq
$Id: dates.htm,v 1
$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $