number pad in vi

Hi,

I'm on a sunos SVR4.0 box, my number pad works on the command line but does not work in vi any ideas how to enable it under vi?

Thanks

Once the file is opened via vi (command).

esc --> : set nu ---> enter key

Hi,

unfortunately that doesn't work, if i use :set all i get these options?

noautoindent number tabstop=8
autoprint nonovice taglength=0
noautowrite nooptimize tags=tags /usr/lib/tags
nobeautify paragraphs=IPLPPPQPP LIpplpipnpbterm=xterm
directory=/tmp prompt noterse
noedcompatible noreadonly timeout=1
noerrorbells redraw ttytype=xterm
noexrc remap warn
flash report=5 window=58
hardtabs=8 scroll=29 wrapscan
noignorecase sections=NHSHH HUuhsh+c wrapmargin=0
nolisp shell=/bin/ksh nowriteany
nolist shiftwidth=8 nofullre
magic noshowmatch norecompat
mesg noshowmode posixsh=/bin/ksh
nomodelines noslowopen

here you go...

esc --> : set number ---> enter key

Hi Dak,

I'm not at the box at the moment (its a work machine!) but does that not set the line numbers on?

Thanks

hi, setnu will display the line numbers against a line seems you are using a old version of Vi editor try upgrading it and number pad will work. Bye..