gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to write a phone number ?


From: Reiner Steib
Subject: Re: How to write a phone number ?
Date: Wed, 18 Feb 2004 15:10:22 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

On Tue, Feb 17 2004, Pawel Kot wrote:

> Entry type (gn_phonebook_entry_type), quoting include/gnokii/common.h:
>         GN_PHONEBOOK_ENTRY_Name       = 0x07,
[...]
> Number type (gn_phonebook_number_type), quoting include/gnokii/common.h:
>         GN_PHONEBOOK_NUMBER_Home    = 0x02,
> I'll update the manpage.

I think that it is useful and necessary to document this stuff in the
man page, I doubt that quoting C code is understandable by
non-programmers.

While at it, below is an patch explaining the different memory types
from ./common/phones/atgen.c (*memorynames[]) and fixing a typo in
your last commit.  Note that I didn't check if the types are really
correct, I just took it from `atgen.c' so you may want to verify it.

--8<---------------cut here---------------start------------->8---
--- gnokii.1.~1.23.~    Wed Feb 18 14:16:50 2004
+++ gnokii.1    Wed Feb 18 14:54:10 2004
@@ -194,8 +194,29 @@
 If \fIend_number\fR is not specified only one location \- \fIstart\fR is read.
 If instead of \fIend_number\fR the text \fIend\fR is specified then gnokii
 will read from \fIstart_number\fR until it encounters a non\-existant location.
-Valid \fImemory types\fR are: ME, SM, FD, ON, EN, DC, RC, MC, LD.
-You can use also \fI\-r\fR or \fI\-\-raw\fR switch to get the raw output. You 
can use it then with \fI\-\-writephonebook\fR. Normally you got verbose output.
+Valid \fImemory types\fR are: ME, SM, FD, ON, EN, DC, RC, MC, LD:
+.PP
+   ME     Internal memory of the mobile equipment
+.BR
+   SM     SIM card memory
+.BR
+   FD     Fixed dial numbers
+.BR
+   ON     Own numbers
+.BR
+   EN     Emergency numbers
+.BR
+   DC     Dialled numbers
+.BR
+   RC     Received numbers
+.BR
+   MC     Missed numbers
+.BR
+   LD     Last dialed
+.PP
+You can use also \fI\-r\fR or \fI\-\-raw\fR switch to get the raw output. You
+can use it then with \fI\-\-writephonebook\fR. Normally you got verbose
+output.
 .TP 
 .BR "\-\-writephonebook [\-i]"
 reads data from stdin and writes to phonebook
@@ -220,7 +241,7 @@
 .IP "" .5i
 subentry_type
 .IP "" .5i
-sumebtry_number_type
+subentry_number_type
 .IP "" .5i
 subentry_id
 .IP "" .5i
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]