Gentoo Archives: gentoo-dev

From: Patrick Kursawe <phosphan@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Replacing fdisk with cfdisk in
Date: Thu, 21 Aug 2003 05:54:56
Message-Id: 20030821055455.GA3620@zaphod.anachem.ruhr-uni-bochum.de
In Reply to: Re: [gentoo-dev] Replacing fdisk with cfdisk in by Stewart Honsberger
1 On Thu, Aug 21, 2003 at 01:36:29AM -0400, Stewart Honsberger wrote:
2
3 > The last patch of the slope is the Vi(M) discussion. "Vi is hard" seems
4 > like a bit of a cop-out to me. Vi can be summed-up in half a dozen lines;
5 >
6 > vi <filename> - Load file for editing
7 > /<keyword> - search
8 > :w - Write file to disk
9 > :q - Quit
10 > Commands can be combined, eg; :wq - Write file to disk and Quit
11 >
12 > Five lines and users have all the knowledge they need to create / edit
13 > their base system files. A few more short lines and you can explain
14 > (global) search/replace to give them more advanced functionality.
15
16 The commands you just noticed are enough to load, search and write
17 a file. But you don't tell how to edit, or how to get into the
18 right mode for entering the commands after editing :-)
19
20 SCNR,
21
22 Patrick