aboutsummaryrefslogtreecommitdiff
path: root/README
blob: ee1a658e681d45ca2061f51fdb80550e1edecbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 2005-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-projects/portage-utils/README,v 1.15 2006/01/05 03:35:43 vapier Exp $

Developers to contact:
solar@gentoo.org
vapier@gentoo.org

/* Add notes here */

disable color when tty = NULL; may break less?

- multiline reads don't yet work for quse/qsearch

- Speed is everything.
  Having your PORTDIR and VDB on the right file system helps dramatically

  IDE raid with PORTDIR on reiserfs:
    q -r
    q: Finished 20655 entries in 1.990951 seconds

  IDE raid with PORTDIR on ext3:
    q -r
    q: Finished 20655 entries in 203.664252 seconds


- Fetching via anoncvs.
The cvs module for gentoo-projects is mirrored. You may download a 
pretty recent copy using the following command. Note: that this is not 
the official cvs server but rather a mirror so it lags about an hour or 
so behind the real tree which is hosted on cvs.gentoo.org

cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils

- Adding applets is easy using the q framework.
cp template.c qmyapplet.c (all applets use the prefix of the letter 'q') 
edit applets.h add your prototype, then scroll down the typedef for 
applets[] and add your applet name following the existing syntax. Please 
try to keep applet names under 8 chars.  Finally, edit main.c, scroll to 
the bottom, and add your applet to the #include list.

When and where you can please try to use an existing applet and extend 
on it's functionality by adding more options vs adding a bunch of new 
little applets.