manpage updated
NOTESIZ shortened to be 6 characters long, as only 6 'X' are used in the glibc version of mkstemp(3). bugfix: wrong calculated len in wins_launch_external(), which lead to erroneus note file name
This commit is contained in:
parent
45199e1df9
commit
fe5621c547
@ -1,3 +1,10 @@
|
|||||||
|
13 Feb 2008:
|
||||||
|
manpage updated
|
||||||
|
NOTESIZ shortened to be 6 characters long, as only 6 'X' are
|
||||||
|
used in the glibc version of mkstemp(3).
|
||||||
|
bugfix: wrong calculated len in wins_launch_external(), which
|
||||||
|
lead to erroneus note file name
|
||||||
|
|
||||||
11 Feb 2008:
|
11 Feb 2008:
|
||||||
TODO list updated
|
TODO list updated
|
||||||
status bar updated to display the new 'N' (edit note) and '>'
|
status bar updated to display the new 'N' (edit note) and '>'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.\" $calcurse: calcurse.1,v 1.6 2007/08/19 13:04:36 culot Exp $
|
.\" $calcurse: calcurse.1,v 1.7 2008/02/13 19:44:37 culot Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2004-2007 Frederic Culot
|
.\" Copyright (c) 2004-2008 Frederic Culot
|
||||||
.\"
|
.\"
|
||||||
.\" This program is free software; you can redistribute it and/or modify
|
.\" This program is free software; you can redistribute it and/or modify
|
||||||
.\" it under the terms of the GNU General Public License as published by
|
.\" it under the terms of the GNU General Public License as published by
|
||||||
@ -18,7 +18,7 @@
|
|||||||
.\" Boston, MA 02111-1307, USA.
|
.\" Boston, MA 02111-1307, USA.
|
||||||
.\"
|
.\"
|
||||||
.fam C
|
.fam C
|
||||||
.TH CALCURSE 1 "August 18, 2007" "Version 1.9" "Calcurse Manual"
|
.TH CALCURSE 1 "February 13, 2008" "Version 2.0" "Calcurse Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Calcurse \- text-based organizer
|
Calcurse \- text-based organizer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -121,20 +121,37 @@ time calcurse is run :
|
|||||||
.HP 10
|
.HP 10
|
||||||
$HOME/.calcurse/
|
$HOME/.calcurse/
|
||||||
.br
|
.br
|
||||||
|
|___notes/
|
||||||
|
.br
|
||||||
|___conf
|
|___conf
|
||||||
.br
|
.br
|
||||||
|___apts
|
|___apts
|
||||||
.br
|
.br
|
||||||
|___todo
|
|___todo
|
||||||
.PP
|
.PP
|
||||||
The \fIconf\fP file contains the user configuration. The \fIapts\fP
|
The \fInotes\fP subdirectory contains descriptions of the notes
|
||||||
file contains all of the user's appointments, and the \fItodo\fP
|
which are attached to appointments, events or todos. One text file is
|
||||||
file contains the todo list.
|
created per note, whose name is built using mkstemp(3) and should be
|
||||||
.SH LICENCE
|
unique, but with no relation with the corresponding item's description.
|
||||||
Copyright (c) 2004-2007 by Frederic Culot.
|
|
||||||
.br
|
.br
|
||||||
This software is released under the GNU General Public License. Please
|
The \fIconf\fP file contains the user configuration. The \fIapts\fP
|
||||||
read the COPYING file for more information.
|
file contains all of the user's appointments and events, and the
|
||||||
|
\fItodo\fP file contains the todo list.
|
||||||
|
.SH ENVIRONMENT
|
||||||
|
This section describes the environment variables that affect how
|
||||||
|
calcurse operates.
|
||||||
|
.TP 4
|
||||||
|
\fBVISUAL\fP
|
||||||
|
Specifies the external editor to use for writing notes.
|
||||||
|
.TP 4
|
||||||
|
\fBEDITOR\fP
|
||||||
|
If the \fIVISUAL\fP environment variable is not set, then \fIEDITOR\fP
|
||||||
|
will be used as the default external editor. If none of those variables
|
||||||
|
are set, then \fI/usr/bin/vi\fP is used instead.
|
||||||
|
.TP 4
|
||||||
|
\fBPAGER\fP
|
||||||
|
Specifies the default viewer to be used for reading notes. If this variable
|
||||||
|
is not set, then \fI/usr/bin/less\fP is used.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Incorrect highlighting of items appear when using calcurse black and
|
Incorrect highlighting of items appear when using calcurse black and
|
||||||
white theme together with a \fB$TERM\fP variable set to
|
white theme together with a \fB$TERM\fP variable set to
|
||||||
@ -151,13 +168,18 @@ the \fB$TERM\fP variable:
|
|||||||
.PP
|
.PP
|
||||||
If you find other bugs, please send a report to calcurse@culot.org or to the
|
If you find other bugs, please send a report to calcurse@culot.org or to the
|
||||||
author, below.
|
author, below.
|
||||||
.SH AUTHOR
|
|
||||||
\fBFrederic Culot\fP <frederic@culot.org>.
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
ncurses(3), gettext(3)
|
vi(1), less(1), ncurses(3), mkstemp(3)
|
||||||
.br
|
.br
|
||||||
Calcurse home page : http://culot.org/calcurse/
|
Calcurse home page : http://culot.org/calcurse/
|
||||||
.br
|
.br
|
||||||
Calcurse manual found in the doc/ directory of the source package, or
|
Calcurse complete manual, translated in many languages and maintained in
|
||||||
at:
|
html format, can be found in the doc/ directory of the source package,
|
||||||
http://culot.org/calcurse/manual.html
|
or at: http://culot.org/calcurse/manual.html
|
||||||
|
.SH AUTHOR
|
||||||
|
\fBFrederic Culot\fP <frederic@culot.org>.
|
||||||
|
.SH COPYRIGHT
|
||||||
|
Copyright (c) 2004-2008 by Frederic Culot.
|
||||||
|
.br
|
||||||
|
This software is released under the GNU General Public License. Please
|
||||||
|
read the COPYING file for more information.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $calcurse: vars.h,v 1.19 2007/12/30 16:27:59 culot Exp $ */
|
/* $calcurse: vars.h,v 1.20 2008/02/13 19:44:37 culot Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calcurse - text-based organizer
|
* Calcurse - text-based organizer
|
||||||
@ -53,7 +53,7 @@
|
|||||||
#define WEEKINDAYS 7
|
#define WEEKINDAYS 7
|
||||||
|
|
||||||
#define STATUSHEIGHT 2
|
#define STATUSHEIGHT 2
|
||||||
#define NOTESIZ 10
|
#define NOTESIZ 6
|
||||||
|
|
||||||
struct pad_s {
|
struct pad_s {
|
||||||
int width;
|
int width;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $Id: wins.c,v 1.10 2008/02/10 16:29:50 culot Exp $ */
|
/* $Id: wins.c,v 1.11 2008/02/13 19:44:37 culot Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calcurse - text-based organizer
|
* Calcurse - text-based organizer
|
||||||
@ -374,7 +374,8 @@ wins_launch_external(const char *file, const char *cmd)
|
|||||||
char *p;
|
char *p;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
len = strlen(file) + strlen(cmd) + 1;
|
len = strlen(file) + strlen(cmd) + 2; /* Beware of space between cmd and
|
||||||
|
file. */
|
||||||
p = (char *)malloc(sizeof(char) * len);
|
p = (char *)malloc(sizeof(char) * len);
|
||||||
if (snprintf(p, len, "%s %s", cmd, file) == -1) {
|
if (snprintf(p, len, "%s %s", cmd, file) == -1) {
|
||||||
free(p);
|
free(p);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user