Vi map command

Hi, I'm trying to map a vi editor key to some commands. I'm using HP-UX 11.11. the command looks like

map ~cmnt o * Suman Satpathy : <Esc> :r! date "\%d\%m\%y" <Esc> j$J

basically my idea is to map a shortcut for my commentlines.

but when I run the shortcut it inserts the line as below

  • Suman Satpathy : <Esc> :r! date "\%d\%m\%y" <Esc> j$J

I have tried ^[ in place of <Esc> no effect :mad:..

Anybody have any idea why this is not working?? I have checked there are no map keys for esc..

Removed post from existing thread and opened a new thread.
Follow the rules: no thread/post highjacking