To get command history:
fn history {grep '^term%' /mnt/wsys/text|sed -e 's/^term%//'}