ksh is the default shell, but the man page for 'jobs' refers to csh
The two appear to differ in how they handle background / foreground
jobs. In csh, '%1' works the same way 'fg %1' does, but in ksh, only
'fg %1' works:
# echo $0
-ksh
# jobs
[3] + Suspended vi /etc/dnsmasq.conf
[1] - Suspended vi ssh-log.sh
[2] Running tcpdump -i ....
# %2
ksh: %2: not found
# %1
ksh: %1: not found
# uname -a
OpenBSD foo 4.2 GENERIC#375 i386
It's not a major obstacle but one of convenience. Perhaps the man page
can be updated to reflect ksh instead. Or is there a reason for using
csh as the example in the man page for 'jobs' ?
Regards
-Lars