05-27-2010
How to set VI editor column size on Solaris?
I am setting the size using "stty columns 120" . But I still get the prompt saying "terminal too wide " when I am in vi.
is there any time limit for this setting?
how to set the column size to 120 permanently?
Thanks in advance,
Devi
10 More Discussions You Might Find Interesting
1. AIX
For some reason something has changing in my AIX environment where when I type:
ACLEDIT filename
...I get:
3002-104 acledit: EDITOR environment variable must be full pathname
I know I need to reset the EDITOR variables path to /usr/bin/vi but I can't remember the syntax anyone? (2 Replies)
Discussion started by: heprox
2 Replies
2. Solaris
Hi all
I am new to this forum (just registered)
I need help from you guys
Even if it is a basic question please don't hesitate to answer.Any answer will be helpful to me
I am unable to get the previously entered commands by pressing uparrow
When i enered uparrow it is giving ^[[A
I got... (2 Replies)
Discussion started by: oracle_sri
2 Replies
3. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
4. Shell Programming and Scripting
In VI editor ctrl + g is used indicate the line number on which the cursor is placed...similarly is there a way to determine the column number of the cursor position..? (1 Reply)
Discussion started by: vijay_0209
1 Replies
5. Shell Programming and Scripting
This is an vi editor question. I do not know is this a right place to ask this question or not?
I have a file with the following contents,
10 11
20 21
30 31
I want to copy first column that is 10,20,30 after second column, so that output will look like the following,
10 11 10
20 21 20... (3 Replies)
Discussion started by: MeetP
3 Replies
6. UNIX for Dummies Questions & Answers
Hello Experts,
I'm a newbie so please excuse any wrong doings.
I have a file that looks like this.
abc def ghi jkl mno
def abc ghi mno jkl
ghi def mno jkl abc
I would like the file to look like this
abc def ghi jklmno
def abc ghi mnojkl
ghi def mno jklabc
in other... (3 Replies)
Discussion started by: fnebiolo
3 Replies
7. UNIX for Dummies Questions & Answers
I have text like this
M83-306 132 797
M83-312 145 685
M83-315 321 479
M83-319 654 193
M83-350 556 1184
M83-303 222 199
and I want to make it like this
M83-306 797
M83-312 685
M83-315 ... (9 Replies)
Discussion started by: muhnandap
9 Replies
8. UNIX for Dummies Questions & Answers
is there any command in vi editor to turn this
986.000 4.026.000 775.328.625 9.319.003.000
986.000 4.036.000 775.328.625 9.318.803.000
986.000 4.046.000 775.328.625 9.318.603.000
986.000 4.056.000 775.328.625 9.318.403.000
become this... (5 Replies)
Discussion started by: muhnandap
5 Replies
9. UNIX for Dummies Questions & Answers
How do i remove a column using vi editor
Assuming the file to be of format
1: 010 0xad45 sp1 - 11:29:51.498583949 500249144 Event1 rst bcfe jhv rgc
456: 010 0xadb sp2 - 11:29:51.498600605 4464 Event0abcrd adabc aasd
45: 010 0x10 sp0 - 11:29:51.498614165 13560 Back adxca... (6 Replies)
Discussion started by: sp0
6 Replies
10. Solaris
Hi
I have a pool name yuk-pool and its associated pset is yuk-pset. It has a min value is 20 and max value is 56. But size field has 48 value . This same pool is assign to 4 local zones. Whenever Cpu usage is high on one local zone it impact the cpu usage at other local zone as well during high... (1 Reply)
Discussion started by: sb200
1 Replies
LEARN ABOUT CENTOS
nrparms
NRPARMS(8) Linux System Managers Manual NRPARMS(8)
NAME
nrparms - Configure the NET/ROM interface.
SYNOPSIS
nrparms -nodes node +|- ident quality count port neighbour [digicall...]
nrparms -routes port nodecall [digicall...] +|- quality
nrparms -version
DESCRIPTION
This program is used to manipulate the routing tables of the NET/ROM network layer, or to get and set many of the network and transport
layer parameters for the NET/ROM protocol. The program has three basic modes of operation, node setting, neighbour setting and general
parameter setting. The syntax for the node and neighbour setting is taken from the original NET/ROM manual and is therefore not very UNIXy
but should be familiar to those familiar with NET/ROMs or TheNet.
To set up a new route to a NET/ROM node in the routing tables you must use the nodes option. All of the parameters are needed to add the
node. It is probably best to illustrate with an example:
nrparms -nodes GB7BPQ + NMCLUS 120 6 vhf G8ROU-3
This creates a new route to a distant node with the callsign GB7BPQ and the alias NMCLUS, it has a quality of 120 (out of 255) and has an
obsolescence count of six and packets for that node should be sent on the AX.25 port named vhf to my immediate neighbour G8ROU-3. The call-
signs of the node and the neighbour may be the same. For example to set up the node G8ROU-3 which is also my immediate neighbour, I would
use:
nrparms -nodes G8ROU-3 + MATLCK 200 6 vhf G8ROU-3
If the ident of the remote node is not known, it is possible to add a node with a blank ident. To do this an ident of '*' must be entered
on the command line. Because of the command line expansion that shells do, the * must be escaped by enclosing it in quotes.
It is also possible to remove a route to a distant node with the same command except that the + is replaced by a -. The other parameters
must also be present. If the node has not other routes then the node will be deleted, and the neighbour node that the connections go via
may also be deleted if no other node route uses it, and it is not a locked neighbour entry.
When setting up a new node, a new neighbour entry may also be created. This will have a default value. For that neighbour to be meaningful
in the automatic routing process, it must have a more reasonable entry in the neighbours list. To do this the routes option of the command
must be used. An example:
nrparms -routes ax0 G8ROU-3 + 120
This will create (or update) the neighbour entry for G8ROU-3 with a quality of 120 and it will be locked, it will not create a node entry
for the neighbour. This quality will be used by the netromd(8) program when calculating route qualities via this neighbour. Normally once a
neighbour has zero node routes going via it, it will be deleted. Locking a neighbour prevents the deletion from occurring. To unlock a
neighbour entry, the same command is used but with the + replaced by a -.
FILES
/etc/ax25/axports
/etc/ax25/nrports
SEE ALSO
call(1), netrom(4), nrports(5), axparms(8), netromd(8), nrparms(8).
AUTHOR
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
Linux 25 January 1997 NRPARMS(8)