Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1has/vi.1has.man.txt
+++ new/usr/src/man/man1has/vi.1has.man.txt
1 1 VI(1HAS) User Commands VI(1HAS)
2 2
3 3
4 4
5 5 NAME
6 6 vi, view, vedit - screen-oriented (visual) display editor based on ex
7 7
8 8 SYNOPSIS
9 9 /usr/bin/vi [-| -s] [-l] [-L] [-R] [-r [filename]] [-S]
10 10 [-t tag] [-v] [-V] [-x] [-wn] [-C]
11 11 [+command | -c command] filename...
12 12
13 13
14 14 /usr/bin/view [-| -s] [-l] [-L] [-R] [-r [filename]] [-S]
15 15 [-t tag] [-v] [-V] [-x] [-wn] [-C]
16 16 [+command | -c command] filename...
17 17
18 18
19 19 /usr/bin/vedit [-| -s] [-l] [-L] [-R] [-r [filename]] [-S]
20 20 [-t tag] [-v] [-V] [-x] [-wn] [-C]
21 21 [+command | -c command] filename...
22 22
23 23
24 24 /usr/xpg4/bin/vi [-| -s] [-l] [-L] [-R] [-r [filename]]
25 25 [-S] [-t tag] [-v] [-V] [-x] [-wn] [-C]
26 26 [+command | -c command] filename...
27 27
28 28
29 29 /usr/xpg4/bin/view [-| -s] [-l] [-L] [-R] [-r [filename]]
30 30 [-S] [-t tag] [-v] [-V] [-x] [-wn] [-C]
31 31 [+command | -c command] filename...
32 32
33 33
34 34 /usr/xpg4/bin/vedit [-| -s] [-l] [-L] [-R] [-r [filename]]
35 35 [-S] [-t tag] [-v] [-V] [-x] [-wn] [-C]
36 36 [+command | -c command] filename...
37 37
38 38
39 39 /usr/xpg6/bin/vi [-| -s] [-l] [-L] [-R] [-r [filename]]
40 40 [-S] [-t tag] [-v] [-V] [-x] [-wn] [-C]
41 41 [+command | -c command] filename...
42 42
43 43
44 44 /usr/xpg6/bin/view [-| -s] [-l] [-L] [-R] [-r [filename]]
45 45 [-S] [-t tag] [-v] [-V] [-x] [-wn] [-C]
46 46 [+command | -c command] filename...
47 47
48 48
49 49 /usr/xpg6/bin/vedit [-| -s] [-l] [-L] [-R] [-r [filename]]
50 50 [-S] [-t tag] [-v] [-V] [-x] [-wn] [-C]
51 51 [+command | -c command] filename...
52 52
53 53
54 54 DESCRIPTION
55 55 The vi (visual) utility is a display-oriented text editor based on an
56 56 underlying line editor ex. It is possible to use the command mode of ex
57 57 from within vi and to use the command mode of vi from within ex. The
58 58 visual commands are described on this manual page; how to set options
59 59 (like automatically numbering lines and automatically starting a new
60 60 output line when you type carriage return) and all ex line editor
61 61 commands are described on the ex(1) manual page.
62 62
63 63
64 64 When using vi, changes you make to the file are reflected in what you
65 65 see on your terminal screen. The position of the cursor on the screen
66 66 indicates the position within the file.
67 67
68 68
↓ open down ↓ |
68 lines elided |
↑ open up ↑ |
69 69 The view invocation is the same as vi except that the readonly flag is
70 70 set.
71 71
72 72
73 73 The vedit invocation is intended for beginners. It is the same as vi
74 74 except that the report flag is set to 1, the showmode and novice flags
75 75 are set, and magic is turned off. These defaults make it easier to
76 76 learn how to use vi.
77 77
78 78 OPTIONS
79 - The following options are supporrted:
79 + The following options are supported:
80 80
81 81 Invocation Options
82 82 The following invocation options are interpreted by vi (previously
83 83 documented options are discussed under NOTES):
84 84
85 85 - | -s
86 86 Suppresses all interactive user feedback. This
87 87 is useful when processing editor scripts.
88 88
89 89
90 90 -C
91 91 Encryption option. Same as the -x option,
92 92 except that vi simulates the C command of ex.
93 93 The C command is like the X command of ex,
94 94 except that all text read in is assumed to
95 95 have been encrypted.
96 96
97 97
98 98 -l
99 99 Sets up for editing LISP programs.
100 100
101 101
102 102 -L
103 103 Lists the name of all files saved as the
104 104 result of an editor or system crash.
105 105
106 106
107 107 -r filename
108 108 Edits filename after an editor or system
109 109 crash. (Recovers the version of filename that
110 110 was in the buffer when the crash occurred.)
111 111
112 112
113 113 -R
114 114 Readonly mode. The readonly flag is set,
115 115 preventing accidental overwriting of the file.
116 116
117 117
118 118 -S
119 119 This option is used in conjunction with the -t
120 120 tag option to tell vi that the tags file can
121 121 not be sorted and that, if the binary search
122 122 (which relies on a sorted tags file) for tag
123 123 fails to find it, the much slower linear
124 124 search should also be done. Since the linear
125 125 search is slow, users of large tags files
126 126 should ensure that the tags files are sorted
127 127 rather than use this flag. Creation of tags
128 128 files normally produces sorted tags files.
129 129 See ctags(1) for more information on tags
130 130 files.
131 131
132 132
133 133 -t tag
134 134 Edits the file containing tag and position the
135 135 editor at its definition. It is an error to
136 136 specify more than one -t option.
137 137
138 138
139 139 -v
140 140 Starts up in display editing state, using vi.
141 141 You can achieve the same effect by typing the
142 142 vi command itself.
143 143
144 144
145 145 -V
146 146 Verbose. When ex commands are read by means of
147 147 standard input, the input is echoed to
148 148 standard error. This can be useful when
149 149 processing ex commands within shell scripts.
150 150
151 151
152 152 -wn
153 153 Sets the default window size to n. This is
154 154 useful when using the editor over a slow speed
155 155 line.
156 156
157 157
158 158 -x
159 159 Encryption option. When used, vi simulates the
160 160 X command of ex and prompts the user for a
161 161 key. This key is used to encrypt and decrypt
162 162 text using the algorithm of the crypt command.
163 163 The X command makes an educated guess to
164 164 determine whether text read in is encrypted or
165 165 not. The temporary buffer file is encrypted
166 166 also, using a transformed version of the key
167 167 typed in for the -x option. If an empty
168 168 encryption key is entered (that is, if the
169 169 return key is pressed right after the prompt),
170 170 the file is not encrypted. This is a good way
171 171 to decrypt a file erroneously encrypted with a
172 172 mistyped encryption key, such as a backspace
173 173 or undo key.
↓ open down ↓ |
84 lines elided |
↑ open up ↑ |
174 174
175 175
176 176 -command | -c command
177 177 Begins editing by executing the specified
178 178 editor command (usually a search or
179 179 positioning command).
180 180
181 181
182 182 /usr/xpg4/bin/vi and /usr/xpg6/bin/vi
183 183 If both the -t tag and the -c command options are given, the -t tag
184 - optionis processed first. That is, the file containing tag is selected
184 + option is processed first. That is, the file containing tag is selected
185 185 by -t and then the command is executed.
186 186
187 187 OPERANDS
188 188 The following operands are supported:
189 189
190 190 filename
191 191 A file to be edited.
192 192
193 193
194 194 COMMAND SUMMARY
195 195 The vi command modes are summarized in this section.
196 196
197 197 vi Modes
198 198 Command
199 199 Normal and initial mode. Other modes return to command
200 200 mode upon completion. ESC (escape) is used to cancel a
201 201 partial command.
202 202
203 203
204 204 Input
205 205 Entered by setting any of the following options:
206 206
207 207 a A i I o O c C s S R
208 208
209 209
210 210 Arbitrary text can then be entered. Input mode is normally
211 211 terminated with the ESC character, or, abnormally, with an
212 212 interrupt.
213 213
214 214
215 215 Last line
216 216 Reading input for : / ? or !. Terminate by typing a
217 217 carriage return. An interrupt cancels termination.
218 218
219 219
220 220 Sample Commands
221 221 In the descriptions, CR stands for carriage return and ESC stands for
222 222 the escape key.
223 223
224 224 <-, ->
225 225 down-arrow
226 226 up-arrow
227 227 arrow keys move the cursor
228 228
229 229
230 230 h j k l
231 231 same as arrow keys
232 232
233 233
234 234 itextESC
235 235 insert text
236 236
237 237
238 238 cwnewESC
239 239 change word to new
240 240
241 241
242 242 easESC
243 243 pluralize word (end of word; append s; escape from input
244 244 state)
245 245
246 246
247 247 x
248 248 delete a character
249 249
250 250
251 251 dw
252 252 delete a word
253 253
254 254
255 255 dd
256 256 delete a line
257 257
258 258
259 259 3dd
260 260 delete 3 lines
261 261
262 262
263 263 u
264 264 undo previous change
265 265
266 266
267 267 ZZ
268 268 exit vi, saving changes
269 269
270 270
271 271 :q!CR
272 272 quit, discarding changes
273 273
274 274
275 275 /textCR
276 276 search for text
277 277
278 278
279 279 ^U ^D
280 280 scroll up or down
281 281
282 282
283 283 :cmdCR
284 284 any ex or ed command
285 285
286 286
287 287 Counts Before vi Commands
288 288 Numbers can be typed as a prefix to some commands. They are interpreted
289 289 in one of these ways:
290 290
291 291 line/column number
292 292 z G |
293 293
294 294
295 295 scroll amount
296 296 ^D ^U
297 297
298 298
299 299 repeat effect
300 300 most of the rest
301 301
302 302
303 303 Interrupting, Canceling
304 304 ESC
305 305 end insert or incomplete command
306 306
307 307
308 308 DEL
309 309 (delete or rubout) interrupts
310 310
311 311
312 312 File Manipulation
313 313 ZZ
314 314 if file modified, write and exit; otherwise, exit
315 315
316 316
317 317 :wCR
318 318 write back changes
319 319
320 320
321 321 :w!CR
322 322 forced write, if permission originally not valid
323 323
324 324
325 325 :qCR
326 326 quit
327 327
328 328
329 329 :q!CR
330 330 quit, discard changes
331 331
332 332
333 333 :e nameCR
334 334 edit file name
335 335
336 336
337 337 :e!CR
338 338 reedit, discard changes
339 339
340 340
341 341 :e + nameCR
342 342 edit, starting at end
343 343
344 344
345 345 :e +nCR
346 346 edit, starting at line n
347 347
348 348
349 349 :e #CR
350 350 edit alternate file
351 351
352 352
353 353 :e! #CR
354 354 edit alternate file, discard changes
355 355
356 356
357 357 :w nameCR
358 358 write file name
359 359
360 360
361 361 :w! nameCR
362 362 overwrite file name
363 363
364 364
365 365 :shCR
366 366 run shell, then return
367 367
368 368
369 369 :!cmdCR
370 370 run cmd, then return
371 371
372 372
373 373 :nCR
374 374 edit next file in arglist
375 375
376 376
377 377 :n argsCR
378 378 specify new arglist
379 379
380 380
381 381 ^G
382 382 show current file and line
383 383
384 384
385 385 :ta tagCR
386 386 position cursor to tag
387 387
388 388
389 389
390 390 In general, any ex or ed command (such as substitute or global) can be
391 391 typed, preceded by a colon and followed by a carriage return.
392 392
393 393 Positioning Within a File
394 394 F
395 395 forward screen
396 396
397 397
398 398 ^B
399 399 backward screen
400 400
401 401
402 402 ^D
403 403 scroll down half screen
404 404
405 405
406 406 ^U
407 407 scroll up half screen
408 408
409 409
410 410 nG
411 411 go to the beginning of the specified line (end default),
412 412 where n is a line number
413 413
414 414
415 415 /pat
416 416 next line matching pat
417 417
418 418
419 419 ?pat
420 420 previous line matching pat
421 421
422 422
423 423 n
424 424 repeat last / or ? command
425 425
426 426
427 427 N
428 428 reverse last / or ? command
429 429
430 430
431 431 /pat/+n
432 432 nth line after pat
433 433
434 434
435 435 ?pat?-n
436 436 nth line before pat
437 437
438 438
439 439 ]]
440 440 next section/function
441 441
442 442
443 443 [[
444 444 previous section/function
445 445
446 446
447 447 (
448 448 beginning of sentence
449 449
450 450
451 451 )
452 452 end of sentence
453 453
454 454
455 455 {
456 456 beginning of paragraph
457 457
458 458
459 459 }
460 460 end of paragraph
461 461
462 462
463 463 %
464 464 find matching ( ) or { }
465 465
466 466
467 467 Adjusting the Screen
468 468 ^L
469 469 clear and redraw window
470 470
471 471
472 472 ^R
473 473 clear and redraw window if ^L is -> key
474 474
475 475
476 476 zCR
477 477 redraw screen with current line at top of window
478 478
479 479
480 480 z-CR
481 481 redraw screen with current line at bottom of window
482 482
483 483
484 484 z.CR
485 485 redraw screen with current line at center of window
486 486
487 487
488 488 /pat/z-CR
489 489 move pat line to bottom of window
490 490
491 491
492 492 zn.CR
493 493 use n-line window
494 494
495 495
496 496 ^E
497 497 scroll window down one line
498 498
499 499
500 500 ^Y
501 501 scroll window up one line
502 502
503 503
504 504 Marking and Returning
505 505 ``
506 506 move cursor to previous context
507 507
508 508
509 509 a'a'
510 510 move cursor to first non-white space in line
511 511
512 512
513 513 mx
514 514 mark current position with the ASCII lower-case letter x
515 515
516 516
517 517 `x
518 518 move cursor to mark x
519 519
520 520
521 521 a'x
522 522 move cursor to first non-white space in line marked by x
523 523
524 524
525 525 Line Positioning
526 526 H
527 527 top line on screen
528 528
529 529
530 530 L
531 531 last line on screen
532 532
533 533
534 534 M
535 535 middle line on screen
536 536
537 537
538 538 +
539 539 next line, at first non-white space character
540 540
541 541
542 542 -
543 543 previous line, at first non-white space character
544 544
545 545
546 546 CR
547 547 return, same as +
548 548
549 549
550 550 down-arrow
551 551 or j
552 552 next line, same column
553 553
554 554
555 555 up-arrow
556 556 or k
557 557 previous line, same column
558 558
559 559
560 560 Character Positioning
561 561 ^
562 562 first non-white space character
563 563
564 564
565 565 0
566 566 beginning of line
567 567
568 568
569 569 $
570 570 end of line
571 571
572 572
573 573 l or ->
574 574 forward
575 575
576 576
577 577 h or <-
578 578 backward
579 579
580 580
581 581 ^H
582 582 same as <- (backspace)
583 583
584 584
585 585 space
586 586 same as -> (space bar)
587 587
588 588
589 589 fx
590 590 find next x
591 591
592 592
593 593 Fx
594 594 find previous x
595 595
596 596
597 597 tx
598 598 move to character following the next x
599 599
600 600
601 601 Tx
602 602 move to character following the previous x
603 603
604 604
605 605 ;
606 606 repeat last f, F, t, or T
607 607
608 608
609 609 ,
610 610 repeat inverse of last f, F, t, or T
611 611
612 612
613 613 n|
614 614 move to column n
615 615
616 616
617 617 %
618 618 find matching ( ) or { }
619 619
620 620
621 621 Words, Sentences, Paragraphs
622 622 w
623 623 forward a word
624 624
625 625
626 626 b
627 627 back a word
628 628
629 629
630 630 e
631 631 end of word
632 632
633 633
634 634 )
635 635 to next sentence
636 636
637 637
638 638 }
639 639 to next paragraph
640 640
641 641
642 642 (
643 643 back a sentence
644 644
645 645
646 646 {
647 647 back a paragraph
648 648
649 649
650 650 W
651 651 forward a blank-delimited word
652 652
653 653
654 654 B
655 655 back a blank-delimited word
656 656
657 657
658 658 E
659 659 end of a blank-delimited word
660 660
661 661
662 662 Corrections During Insert
663 663 ^H
664 664 erase last character (backspace)
665 665
666 666
667 667 ^W
668 668 erase last word
669 669
670 670
671 671 erase
672 672 your erase character, same as ^H (backspace)
673 673
674 674
675 675 kill
676 676 your kill character, erase this line of input
677 677
678 678
679 679 \
680 680 quotes your erase and kill characters
681 681
682 682
683 683 ESC
684 684 ends insertion, back to command mode
685 685
686 686
687 687 Control-C
688 688 interrupt, suspends insert mode
689 689
690 690
691 691 ^D
692 692 backtab one character; reset left margin of autoindent
693 693
694 694
695 695 ^^D
696 696 caret (^) followed by control-d (^D); backtab to
697 697 beginning of line; do not reset left margin of
698 698 autoindent
699 699
700 700
701 701 0^D
702 702 backtab to beginning of line; reset left margin of
703 703 autoindent
704 704
705 705
706 706 ^V
707 707 quote non-printable character
708 708
709 709
710 710 Insert and Replace
711 711 a
712 712 append after cursor
713 713
714 714
715 715 A
716 716 append at end of line
717 717
718 718
719 719 i
720 720 insert before cursor
721 721
722 722
723 723 I
724 724 insert before first non-blank
725 725
726 726
727 727 o
728 728 open line below
729 729
730 730
731 731 O
732 732 open line above
733 733
734 734
735 735 rx
736 736 replace single character with x
737 737
738 738
739 739 RtextESC
740 740 replace characters
741 741
742 742
743 743 Operators
744 744 Operators are followed by a cursor motion and affect all text that
745 745 would have been moved over. For example, since w moves over a word, dw
746 746 deletes the word that would be moved over. Double the operator, for
747 747 example dd, to affect whole lines.
748 748
749 749 d
750 750 delete
751 751
752 752
753 753 c
754 754 change
755 755
756 756
757 757 y
758 758 yank lines to buffer
759 759
760 760
761 761 <
762 762 left shift
763 763
764 764
765 765 >
766 766 right shift
767 767
768 768
769 769 !
770 770 filter through command
771 771
772 772
773 773 Miscellaneous Operations
774 774 C
775 775 change rest of line (c$)
776 776
777 777
778 778 D
779 779 delete rest of line (d$)
780 780
781 781
782 782 s
783 783 substitute characters (cl)
784 784
785 785
786 786 S
787 787 substitute lines (cc)
788 788
789 789
790 790 J
791 791 join lines
792 792
793 793
794 794 x
795 795 delete characters (dl)
796 796
797 797
798 798 X
799 799 delete characters before cursor dh)
800 800
801 801
802 802 Y
803 803 yank lines (yy)
804 804
805 805
806 806 Yank and Put
807 807 Put inserts the text most recently deleted or yanked; however, if a
808 808 buffer is named (using the ASCII lower-case letters a - z), the text in
809 809 that buffer is put instead.
810 810
811 811 3yy
812 812 yank 3 lines
813 813
814 814
815 815 3yl
816 816 yank 3 characters
817 817
818 818
819 819 p
820 820 put back text after cursor
821 821
822 822
823 823 P
824 824 put back text before cursor
825 825
826 826
827 827 "xp
828 828 put from buffer x
829 829
830 830
831 831 "xy
832 832 yank to buffer x
833 833
834 834
835 835 "xd
836 836 delete into buffer x
837 837
838 838
839 839 Undo, Redo, Retrieve
840 840 u
841 841 undo last change
842 842
843 843
844 844 U
845 845 restore current line
846 846
847 847
848 848 .
849 849 repeat last change
850 850
851 851
852 852 "dp
853 853 retrieve d'th last delete
854 854
855 855
856 856 USAGE
857 857 See largefile(5) for the description of the behavior of vi and view
858 858 when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
859 859
860 860 ENVIRONMENT VARIABLES
861 861 See environ(5) for descriptions of the following environment variables
862 862 that affect the execution of vi: LANG, LC_ALL, LC_COLLATE, LC_CTYPE,
863 863 LC_TIME, LC_MESSAGES, NLSPATH, PATH, SHELL, and TERM.
864 864
865 865 COLUMNS
866 866 Override the system-selected horizontal screen size.
867 867
868 868
869 869 EXINIT
870 870 Determine a list of ex commands that are executed on editor
871 871 start-up, before reading the first file. The list can
872 872 contain multiple commands by separating them using a
873 873 vertical-line (|) character.
874 874
875 875
876 876 LINES
877 877 Override the system-selected vertical screen size, used as
878 878 the number of lines in a screenful and the vertical screen
879 879 size in visual mode.
880 880
881 881
882 882 FILES
883 883 /var/tmp
884 884
885 885 default directory where temporary work files are placed; it can be
886 886 changed using the directory option (see the ex(1) command)
887 887
888 888
889 889 /usr/share/lib/terminfo/?/*
890 890
891 891 compiled terminal description database
892 892
893 893
894 894 /usr/lib/.COREterm/?/*
895 895
896 896 subset of compiled terminal description database
897 897
898 898
899 899 ATTRIBUTES
900 900 See attributes(5) for descriptions of the following attributes:
901 901
902 902 /usr/bin/vi, /usr/bin/view, /usr/bin/vedit
903 903
904 904 +---------------+-----------------+
905 905 |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
906 906 +---------------+-----------------+
907 907 |CSI | Not enabled |
908 908 +---------------+-----------------+
909 909
910 910 /usr/xpg4/bin/vi, /usr/xpg4/bin/view, /usr/xpg4/bin/vedit
911 911
912 912 +--------------------+-----------------+
913 913 | ATTRIBUTE TYPE | ATTRIBUTE VALUE |
914 914 +--------------------+-----------------+
915 915 |CSI | Enabled |
916 916 +--------------------+-----------------+
917 917 |Interface Stability | Standard |
918 918 +--------------------+-----------------+
919 919
920 920 /usr/xpg6/bin/vi, /usr/xpg6/bin/view, /usr/xpg6/bin/vedit
921 921
922 922 +--------------------+-----------------+
923 923 | ATTRIBUTE TYPE | ATTRIBUTE VALUE |
924 924 +--------------------+-----------------+
925 925 |CSI | Enabled |
926 926 +--------------------+-----------------+
927 927 |Interface Stability | Standard |
928 928 +--------------------+-----------------+
929 929
930 930 SEE ALSO
931 931 Intro(1), ctags(1), ed(1), edit(1), ex(1), attributes(5), environ(5),
932 932 largefile(5), standards(5)
933 933
934 934
935 935 Solaris Advanced User's Guide
936 936
937 937 AUTHOR
938 938 vi and ex were developed by The University of California, Berkeley
939 939 California, Computer Science Division, Department of Electrical
940 940 Engineering and Computer Science.
941 941
942 942 NOTES
943 943 Two options, although they continue to be supported, have been replaced
944 944 in the documentation by options that follow the Command Syntax Standard
945 945 (see Intro(1)). An -r option that is not followed with an option-
946 946 argument has been replaced by -L and +command has been replaced by -c
947 947 command.
948 948
949 949
950 950 The message file too large to recover with -r option, which is seen
951 951 when a file is loaded, indicates that the file can be edited and saved
952 952 successfully, but if the editing session is lost, recovery of the file
953 953 with the -r option is not possible.
954 954
955 955
956 956 The editing environment defaults to certain configuration options. When
957 957 an editing session is initiated, vi attempts to read the EXINIT
958 958 environment variable. If it exists, the editor uses the values defined
959 959 in EXINIT; otherwise the values set in $HOME/.exrc are used. If
960 960 $HOME/.exrc does not exist, the default values are used.
961 961
962 962
963 963 To use a copy of .exrc located in the current directory other than
964 964 $HOME, set the exrc option in EXINIT or $HOME/.exrc. Options set in
965 965 EXINIT can be turned off in a local .exrc only if exrc is set in EXINIT
966 966 or $HOME/.exrc. In order to be used, .exrc in $HOME or the current
967 967 directory must fulfill these conditions:
968 968
969 969 o It must exist.
970 970
971 971 o It must be owned by the same userid as the real userid of
972 972 the process, or the process has appropriate privileges.
973 973
974 974 o It is not writable by anyone other than the owner.
975 975
976 976
977 977 Tampering with entries in /usr/share/lib/terminfo/?/* or
978 978 /usr/share/lib/terminfo/?/* (for example, changing or removing an
979 979 entry) can affect programs such as vi that expect the entry to be
980 980 present and correct. In particular, removing the "dumb" terminal can
981 981 cause unexpected problems.
982 982
983 983
984 984 Software tabs using ^T work only immediately after the autoindent.
985 985
986 986
987 987 Left and right shifts on intelligent terminals do not make use of
988 988 insert and delete character operations in the terminal.
989 989
990 990
991 991 Loading an alternate malloc() library using the environment variable
992 992 LD_PRELOAD can cause problems for /usr/bin/vi.
993 993
994 994
995 995 The vi utility currently has the following limitations:
996 996
997 997 1. Lines, including the trailing NEWLINE character, can contain
998 998 no more than 4096 bytes.
999 999
1000 1000 If a longer line is found, Line too long is displayed in the
1001 1001 status line.
1002 1002
1003 1003 2. The editor's temporary work file can be no larger than
1004 1004 128Mb.
1005 1005
1006 1006 If a larger temporary file is needed, Tmp file too large is
1007 1007 displayed in the status line.
1008 1008
1009 1009
1010 1010
1011 1011 May 16, 2007 VI(1HAS)
↓ open down ↓ |
817 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX