You can specify the size of the xterm in the
-geometry option.
Code:
#!/bin/sh
font='lucidasanstypewriter-12'
size=132x55
x=0
y=0
title="'-- XML source ---'"
doxterm() {
xterm -ls \
-fn ${font} \
-bg ${background} \
-geometry ${size}+${x}+${y}
&
}
background="rgb:f/d/f"
#---------------------
y=0
offset=20
for x in $offset $((offset+1024)) $((offset+2048)) ; do
doxterm
done
background="rgb:d/f/f"
#---------------------
y=768
offset=20
for x in $offset $((offset+1024)) $((offset+2048)) ; do
doxterm
done
background="rgb:f/f/d"
#---------------------
y=1536
offset=20
for x in $offset $((offset+1024)) $((offset+2048)) ; do
doxterm
done
EDIT: this script creates 9 xterms on all 9 OpenBSD virtual desktops/work spaces, or whatever you want to call them. Don't run it unless you understand it and did modify it