The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Adding a columnfrom a specifit line number to a specific line number Ezy Shell Programming and Scripting 2 05-12-2008 09:29 AM
Appending line number to each line and getting total number of lines chiru_h Shell Programming and Scripting 2 03-25-2008 10:19 AM
Number count per number ranges shirleyeow Shell Programming and Scripting 5 12-19-2007 04:06 AM
to print number one less than actual number cdfd123 Shell Programming and Scripting 4 09-06-2007 07:56 AM
number pad? nelsonenzo UNIX for Dummies Questions & Answers 2 09-26-2001 12:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-12-2006
c19h28O2 c19h28O2 is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 34
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
  #2 (permalink)  
Old 09-12-2006
dak dak is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 7
check this..

Once the file is opened via vi (command).

esc --> : set nu ---> enter key
  #3 (permalink)  
Old 09-12-2006
c19h28O2 c19h28O2 is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 34
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
  #4 (permalink)  
Old 09-12-2006
dak dak is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 7
here you go...

esc --> : set number ---> enter key
  #5 (permalink)  
Old 09-12-2006
c19h28O2 c19h28O2 is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 34
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
  #6 (permalink)  
Old 09-21-2006
saainaath saainaath is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 9
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..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0