According to http://www.lagmonster.org/docs/vi2.html
the command :p
would make vi go to the previous file. Unfortunately, this isn't working for me. However :n
works and goes to the next page. What should I use to go to the previous file?
For :p
I get the message,
Hit Return to continue
and it stays in the same page. Thanks.
Edit:
I am sshing to an AIX box and using the vi in Ksh if that helps.
Edit 2:
Looks like rewinding to first is possible with :rew
but listing all the files with :ar
results in the same message,
Hit Return to continue
May be this isn't possible at all from all the vi tutorials I've read so far including, http://www.bo.infn.it/alice/alice-doc/mll-doc/linux/vi-ex/node27.html