Setting AIX vi colors


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Setting AIX vi colors
# 1  
Old 04-07-2016
Setting AIX vi colors

Hi -

In my ~/.exrc file I have:

Code:
set number
syntax on
colorscheme evening

The numbers are set when I open a file but the syntax and colorscheme options are not available:

Code:
syntax: Not an editor command

Is there a workaround to getting colors appear, without installing anything?
# 2  
Old 04-07-2016
Hi,

If you have that error message, it is likely that "syntax" isn't one of the options in your version of vi.

You should be able to check it using the "set all" command from within vi.

Code:
:set all
noautoindent            nomodelines                     noshowmode
autoprint               nonumber                        noslowopen
noautowrite             nonovice                        tabstop=8
nobeautify              nooptimize                      taglength=0
directory=/var/tmp      paragraphs=IPLPPPQPP LIpplpipnpptags=tags /usr/lib/tags
noedcompatible          prompt                          tagstack
noerrorbells            noreadonly                      term=xterm
noexrc                  redraw                          noterse
flash                   remap                           timeout
hardtabs=8              report=5                        ttytype=xterm
noignorecase            scroll=21                       warn
nolisp                  sections=NHSHH HUuhsh+c         window=43
nolist                  shell=/usr/bin/bash             wrapscan
magic                   shiftwidth=8                    wrapmargin=0
mesg                    noshowmatch                     nowriteany

This should give you a list of what you can set.

Regards

Gull04
These 2 Users Gave Thanks to gull04 For This Post:
# 3  
Old 04-09-2016
Notice that colours are not provided by any "real" vi, such as the one provided with AIX.

What you probably are looking for is one of the popular vi clones (nvi, vim, ....) which often have such colour capabilities. These vi-lookalikes are mostly available for AIX, a good place to download from (there are others) is at

Michael Perzls Site

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Setting up printer in AIX 6.1

Hi All, I have been trying to configure an HP laserjet printer on an AIX6.1 server through network as well as remote. This is the first time i am configuring a printer on AIX. I had been using smitty butwhile configuring, i am getting blank/stuck at "software to support the printer attachment... (10 Replies)
Discussion started by: Rockyc3400
10 Replies

2. AIX

Setting AIX box at home.

Hi guys... I have got a old Aix box i.e. 7043 - 150 for home experimenting purposes. I am having some issues to setup the tcpip on it correctly, so that i can access it within the network and also from outside i.e. work. My setup looks like this: Modem ----> Apple airport wireless router... (2 Replies)
Discussion started by: uzair_rock
2 Replies

3. AIX

Setting up Password Security in AIX 5.3

In AIX 5.3 tech level 11: I want to setup a default password policy to have at least one of each of the following: alpha character, numeric character, and "special" character ("!", "&", etc). The smitty Security and Users --> Passwords --> System Password Policy screen only offers "MIN... (2 Replies)
Discussion started by: kikwit_phil
2 Replies

4. AIX

Setting up a secure channel with AIX

hi i have two aix servers and I was asked to setup a secure shell between the two servers using the sybase user. Can any one let me know how to do this (2 Replies)
Discussion started by: newtoaixos
2 Replies

5. AIX

Setting up Local printer AIX 5

Hi folks need some help here. We have a RS6000 running AIX. It is almost never used anymore, but we need to print off some data. I have a paralell printer conected to the parrallel port, but have no idea where to go from here. The printer was originall named named LP01. If the users telnetinto the... (2 Replies)
Discussion started by: prator
2 Replies

6. AIX

Assistance with setting up an AIX server for DR

I need some assistance in setting up an AIX server for DR. The server I am building is an RS/6000 B50 Type 7046 with AIX 4.3.3. I am restoring a mksysb from a backup tape from our current production server which has different hardware specs. When I attempt the mksysb restore, I receive the... (2 Replies)
Discussion started by: genesis211
2 Replies

7. AIX

Setting Dual Ip address on LPAR AIX 5.3

Hi Guys, Can somebody help me how to add and activate addtional ip address on AIX. My server is IBM p5-570 i already set ipadress on ent1 ent0 -- 192.168.206.105 ( default ) ent1 -- 192.168.0.89 (additional) i can ping from outside to 192.168.0.89 but i can not telnet or ftp. for... (6 Replies)
Discussion started by: cahyo3074
6 Replies

8. AIX

Error in setting up Pro*C on AIX 5.3

Error Code: ld: 0711-317 ERROR: Undefined symbol: .main Various Library Paths set to same: LIB_PATH=/usr/lib:/usr/vac/lib:/oracle/product/10.2.0/lib32:/oracle/product/10.2.0/lib LIBPATH=/usr/lib:/usr/vac/lib:/oracle/product/10.2.0/lib32:/oracle/product/10.2.0/lib ... (0 Replies)
Discussion started by: longojos
0 Replies

9. UNIX for Advanced & Expert Users

AIX p5 virtual processors setting

Have a p570 LPAR capped/smt set to 4 physical processors. And currently have virtual processors set to 6 which gives 12 logical processors at AIX. This is for an Oracle9i database server running 4 instances. What should virtual processors be set to? at least initially? And how to determine when... (3 Replies)
Discussion started by: guttew
3 Replies

10. AIX

Setting Up Samba for AIX

Hi all I want to know how do I create a print queue using samba on AIX enviroment to print to file. Setup step require. Anyone please help me on this. Vincent (2 Replies)
Discussion started by: vwong
2 Replies
Login or Register to Ask a Question