Sponsored Content
Full Discussion: Copy code to vi
Top Forums UNIX for Dummies Questions & Answers Copy code to vi Post 48693 by rooh on Saturday 13th of March 2004 07:28:29 PM
Old 03-13-2004
Hi Kieth,

This is in responce to your queries
$ cat $HOME/.exrc
set autoindent autowrite showmatch wrapmargin=0 report=1
map :set wrapmargin=8
map {!}sort -b
map 1G
map 1G
map G
map
map
map k
map j
map i
map x
map dd
map D
map DjdG$
map! a
map!
a
map! a
map! a
map!
map!
ap!
ap
map
map i
map x
set showmode
set nowrapscan


$ echo $TERM
xterm

What does your vi session set show?
<cr: No such option - 'set all' gives all option values
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Copy code from shell

Hi everyone.. I'm a full-fledged newbie so bear with me. =) I'm running code in the shell, and I'd like to copy the lines into a text file. Everytime I try using Contrl-C, the lines repeat as code. Is there some sort of export history function I can use? (1 Reply)
Discussion started by: yohoshua
1 Replies

2. UNIX for Dummies Questions & Answers

What is in-core copy and disk-copy of i-node table?

I have found a question from the exercises of my study mat. The question is "Why are there a in-core copy and a disk-copy of i-node block and super block?" If any one know the proper answer then please send me..... (1 Reply)
Discussion started by: dearanik
1 Replies

3. Solaris

Need help with copy

Hi Gurus, I need some help to fulfill the following requirement. I have a file A and some contents in it and I have file B and some conent in it. I need to append the contents on File A to FIle B. I am sure its Basics but missing it. Thank You, Rama (1 Reply)
Discussion started by: rama krishna
1 Replies

4. Shell Programming and Scripting

how to copy the directory but not copy certain file

Hi experts cp bin root src /mnt but not copy bin/bigfile any help? ( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum) Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies

5. Shell Programming and Scripting

Copy-pasted code behaves diffrent

Heyas I'm currently attempting to apply the code of tui-select to tui-list. That is because tui-list simply made a 1 string list, while tui-select uses dynamicly up to 3 strings per line. Anyway, so i copy pasted the code, and just made the changes marked with red.... Know that both scripts... (2 Replies)
Discussion started by: sea
2 Replies

6. Shell Programming and Scripting

Need help with script to copy code to multiple servers

Hi, I am new to scripting and i am trying to use below script to copy code to multiple servers and multiple locations on each server. the script is not working or doesnt give any error. Any help is appreciated. basically i want a script to get the code from a location (dir below) and read the... (2 Replies)
Discussion started by: Ron0612
2 Replies
ypmatch(1)						      General Commands Manual							ypmatch(1)

NAME
ypmatch - print values of selected keys in Network Information Service map SYNOPSIS
domain] Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (YP). Although the name has changed, the functionality of the service remains the same. DESCRIPTION
prints the values associated with one or more keys in a Network Information Service (NIS) map specified by mname. The mname can be either a mapname or a map nickname. A map nickname is a synonym by which a NIS map can be referenced. If multiple keys are specified, the same map is searched for an occurrence of each key. A match is made only when the case and length of a key is the same as that stored in the database. No pattern matching is available. If a key is not matched, a diagnostic message is pro- duced. Options recognizes the following command-line options: Before printing the value associated with a key, print the key followed by a colon This option is useful if the keys are not part of the values (as in a map), or so many keys were specified that the output could be confusing. Inhibit the translation of a map's nickname to its corresponding mapname. For example, fails because there is no map named whereas, is translated to Specify a domain other than the default domain, that is, the one returned by (see domainname(1)). Display the nickname for each NIS map. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
domainname(1), ypcat(1), ypserv(1M), ypfiles(4). ypmatch(1)
All times are GMT -4. The time now is 01:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy