Article View: comp.editors
Article #2682vi command line question
From: Larry W. Virden ext. 2487
Date: Wed, 22 May 1991 13:54
Date: Wed, 22 May 1991 13:54
25 lines
1191 bytes
1191 bytes
We have a program which does something like:
strcpy(string, "+0\n/search/\n:n\n:e #\n");
execlp("/bin/vi", "/bin/vi", string, "/tmp/file1", "/home/lwv27/file2",
(char *) NULL);
When vi comes up, it prints something like:
clear screen
"/tmp/tdfta16392" 5 lines, 160 characters "/home/lwv27/.answer" 17 lines, 429 ch
"/tmp/tdfta16392" 5 lines, 160 characters
[Hit return to continue]
where that long line is REALLY a long line.
What we would REALLY like to see is the clear screen and the first
file - without the info about the files.
Is there a quiet mode that can be invoked some how ?
--
Larry W. Virden UUCP: osu-cis!chemabs!lwv27
Same Mbox: BITNET: lwv27@cas INET: lwv27%cas.BITNET@CUNYVM.CUNY.Edu
Personal: 674 Falls Place, Reynoldsburg,OH 43068-1614
America Online: lvirden
Technical Details
Message-ID:
<9105220954.AA16387@cas.org>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!agate!ucbvax!CAS.BITNET!lwv27Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!agate!ucbvax!CAS.BITNET!lwv27 From: lwv27@CAS.BITNET (Larry W. Virden ext. 2487) Newsgroups: comp.editors Subject: vi command line question Message-ID: <9105220954.AA16387@cas.org> Date: 22 May 91 13:54:02 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 25