lfos / calcurse Goto Github PK
View Code? Open in Web Editor NEWA text-based calendar and scheduling application
Home Page: https://calcurse.org
License: BSD 2-Clause "Simplified" License
A text-based calendar and scheduling application
Home Page: https://calcurse.org
License: BSD 2-Clause "Simplified" License
Seems like my setups works correctly, yet no event are pulled from the server. I am not sure if I should have another more specific 'url' for my calendar, which is named personal...
Loading configuration from /home/ponnuki/.calcurse/caldav/config...
Connecting to myserver...
REPORT /nc/remote.php/caldav/calendars/gef/
Headers: {'Authorization': 'Basic, 'Content-Type': 'application/xml; charset=utf-8'}
< Headers: [('Date', 'Thu, 03 Aug 2017 09:44:54 GMT'), ('Server', 'Apache/2.2.32 (Unix) mod_python/3.5.0- Python/2.7.13 mod_ssl/2.2.32 OpenSSL/1.0.2k'), ('X-Powered-By', 'PHP/7.1.5'), ('Expires', 'Thu, 19 Nov 1981 08:52:00 GMT'), ('Cache-Control', 'no-store, no-cache, must-revalidate'), ('Pragma', 'no-cache'), ('X-XSS-Protection', '1; mode=block'), ('X-Content-Type-Options', 'nosniff'), ('X-Frame-Options', 'Sameorigin'), ('X-Robots-Tag', 'none'), ('X-Download-Options', 'noopen'), ('X-Permitted-Cross-Domain-Policies', 'none'), ('Content-Security-Policy', "default-src 'none';"), ('Vary', 'Brief,Prefer'), ('Set-Cookie', 'oc_sessionPassphrase=xxx; path=/nc; secure; HttpOnly'), ('Set-Cookie', 'nc_sameSiteCookielax=true; path=/nc; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax'), ('Set-Cookie', 'nc_sameSiteCookiestrict=true; path=/nc; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict'), ('Set-Cookie', 'xxx; path=/nc; secure; HttpOnly'), ('Set-Cookie', 'cookie_test=test; expires=Thu, 03-Aug-2017 10:44:55 GMT; Max-Age=3600'), ('Strict-Transport-Security', 'max-age=31536000'), ('Transfer-Encoding', 'chunked'), ('Content-Type', 'application/xml; charset=utf-8')]
<
< <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/"/>
Saving synchronization database to /home/ponnuki/.calcurse/caldav/sync.db...
0 items imported, 0 items removed locally.
0 items exported, 0 items removed from the server.
First, thanks for making available this script.
Did someone already tried making a CalDAV connection to the iCloud? I've been trying but without succes so far, calcurse-caldav
is giving 400 back. If I change the app-specific password the error code changes to 401, so it seems it can log in into iCloud.
warning: Dry run; nothing is imported/exported. Add "DryRun = No" to the
warning: [General] section in the configuration file to enable synchronization.
Connecting to caldav.icloud.com...
Removing all local calcurse objects...
error: The server at caldav.icloud.com replied with HTTP status code 400 (Bad
error: Request) while trying to access //.
The config file:
# If you want to synchronize calcurse with a CalDAV server using
# calcurse-caldav, create a new directory ~/.calcurse/caldav/, copy this file
# to ~/.calcurse/caldav/config and adjust the configuration below.
[General]
# Path to the calcurse binary that is used for importing/exporting items.
Binary = calcurse
# Host name of the server that hosts CalDAV.
Hostname = caldav.icloud.com
# Path to the CalDAV calendar on the host specified above.
Path =
# Enable this if you want to skip SSL certificate checks.
InsecureSSL = No
# Disable this option to actually enable synchronization. If it is enabled,
# nothing is actually written to the server or to the local data files. If you
# combine DryRun = Yes with Verbose = Yes, you get a log of what would have
# happened with this option disabled.
DryRun = Yes
# Enable this if you want detailed logs written to stdout.
Verbose = Yes
# Credentials for HTTP Basic Authentication. Leave this commented out if you do
# not want to use authentication.
[Auth]
Username = <..>
Password = <..>
# Optionally specify additional HTTP headers here.
#[CustomHeaders]
#User-Agent = Mac_OS_X/10.9.2 (13C64) CalendarAgent/176
Hi,
I have a caldav server, is there a way to sync calcurses with it and when yes how?
Thanks
So, I tried to make some events like the following:
From: 00:00
To: 00:10
Description: 00:10
Yes, with a "00:10" in the description too (it was by accident). Now I'm not able to see this event (so I can't delete it), but everytime I export this (in pcal format, for example), those events are showing.
I'm planning to make something like a "visualizer" for calcurse, but this ghosts events may break the functionality. It's not soooo important, because I can find a workaround for this (simple exporting, deleting those events, and importing, I guess), but it would be nice.
Also, I would like to congratulate you, it's some time now that I use this software, and it's great!
Any plan in supporting the VDIR storage format for calendar events ?
See https://vdirsyncer.pimutils.org/en/stable/vdir.html
I use calcurse at different machines, and have set up auto-sync for all files under .calcurse
. Yet, what I found is that calcurse won't check and reload the updated data files; hence, data would get loss if there are existing calcurse sessions at other machines.
Here, I would like to request the feature for calcurse to auto-reload data and configuration files once changes are detected just as vim does. Regards.
I am a longtime calcurse user and have always compiled it myself without problem. I am now trying to compile calcurse on a new computer (debian stretch). After checking out v4.2.2 ./autogen.sh and ./config appear to be working fine, but then when I try to run "make" I get the following error:
make all-recursive
make[1]: Entering directory '.../calcurse'
Making all in po
make[2]: Entering directory '../calcurse/po'
test -z "fr.gmo en.gmo de.gmo es.gmo nl.gmo ru.gmo pt_BR.gmo" || make fr.gmo
en.gmo de.gmo es.gmo nl.gmo ru.gmo pt_BR.gmo
make[3]: Entering directory '../calcurse/po'
rm -f fr.gmo && : -c -statistics -o fr.gmo fr.po
mv: cannot stat 't-fr.gmo': No such file or directory
Makefile:139: recipe for target 'fr.gmo' failed
make[3]: ***[fr.gmo] Error 1
make[3]: Leaving directory '../calcurse/po'
Makefile:163: recipe for target 'stamp-po' failed
make[2]: ***[stamp-po] Error 2
make[2]: Leaving directory '../calcurse/po'
Makefile:389:recipe for target 'all-recursive failed'
make[1]:***[all-recurse] Error 1
make[1]: Leaving directory '../calcurse'
Makefile:330: recipe for target 'all' failed
make: ***[all] Error 2
Hi, sorry to bother you again, but there are issues with the recurrent appointments....
Version: calcurse 4.2.2-3-g2084
Let me try to explain. Yesterday all my (new, first time insert) appointments were notified as they have to: notify-bar countdown, notify-send bubble, all ok. Today, my first 7 recurrent appointments are missed (in the sense that there is no countdown for the first of them), and the notify-bar notify me only of the last one, this evening at 8:10pm. My notification.notifyall = unflagged-only , and all the appointments are unflagged, BUT, if I flag and then unflag the first one of this morning(the trick I show you last time), it appears in the notify-bar! I show you my data:
02/10/2017 @ 11:30 -> 02/10/2017 @ 12:30 {1D -> 06/15/2017} |Haskell
02/10/2017 @ 13:10 -> 02/10/2017 @ 14:00 {1D} |Lunch
02/10/2017 @ 15:30 -> 02/10/2017 @ 16:30 {1D -> 06/15/2017} |Test
02/10/2017 @ 16:35 -> 02/10/2017 @ 16:55 {1D} |Gymn
02/10/2017 @ 17:30 -> 02/10/2017 @ 18:30 {1D -> 06/15/2017} |Mathematica
02/10/2017 @ 18:35 -> 02/10/2017 @ 19:20 {1D -> 02/14/2017} |Blacklist
02/10/2017 @ 20:10 -> 02/10/2017 @ 20:55 {1D} |Dinner
02/11/2017 @ 09:30 -> 02/11/2017 @ 10:30 {1D -> 06/15/2017} |Test
I get notification countdown for Dinner, and not for the other ones. Lunch, for example, has the same structure, but it's not in the notify-bar. Even if I change it in Aunch (alphabetical order :) ), there is always Dinner. Thank you for your work, and let me know :)
Hi,
calcurse's iCal import feature generates a corrupt apts file if
appointment summary contains '\n'.
For example, the following iCal snippet:
BEGIN:VEVENT
DTSTART:20140221T133000Z
DTEND:20140221T143000Z
DTSTAMP:20140525T212006Z
UID:4561732055696420546167205B265E25242340215D45424539473346613446334E61363
348423937493631
CREATED:20140221T113254Z
DESCRIPTION:
LAST-MODIFIED:20140307T003706Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Event A.\nEvent B.
TRANSP:OPAQUE
CATEGORIES:http://schemas.google.com/g/2005#event
END:VEVENT
is imported into ~/.calcurse/apts as the following line:
02/21/2014 @ 13:30 -> 02/21/2014 @ 14:30 >11f4de6b8b45cf8051b1d17fa4cde9ad935cea41 |Event A.
Event B.^M
This results in the following error when starting calcurse:
/!\ INTERNAL ERROR /!\
io.c: 433: /home/jmccrohan/.calcurse/apts:333: syntax error in the item date
This error persists until the erroneous line above is removed.
Thanks,
Jon
A couple of files use va_start
and va_end
without including stdarg.h
. This leads to link errors on NetBSD.
In the 4.2.2 release, the affected files are src/io.c
, src/strings.c
, and src/utils.c
.
I'am able to initialize the Database, but if i try to sync it, calcurse-caldav can't read the initialized database file. My Server is running Baikal 0.5.0
Connecting to ///SERVER///...
Loading synchronization database from /home/witti/.calcurse/caldav/sync.db...
Traceback (most recent call last):
File "/usr/bin/calcurse-caldav", line 519, in <module>
syncdb = get_syncdb(syncdbfn)
File "/usr/bin/calcurse-caldav", line 196, in get_syncdb
href, etag, objhash = line.rstrip().split(' ')
ValueError: not enough values to unpack (expected 3, got 1)
EDIT: It works, after editing sync.db manually. The init process made some dublicated values into new lines (the 'objhash' came up a second time in a line just beneath its element), which had to be deleted. So the problem isn't the synchronization itself but the initialization.
when the space key is pressed the program crashes resulting in the bug: Segmentation fault (core dumped)
System: Manjaro i3; installed from manjaro packages using pacman
In testing the implementation of calcurse-caldav, I have stumbled upon some strange errors. I've got some data that cannot be decoded by the utf-8
codec and it's raising UnicodeDecodeError
in calcurse_export
where it bubbles to push_object
and then to push_objects
and calcurse_import
where it bubbles to pull_object
and then pull_objects
, meaning all import/export operations fail because of one oddly formatted message).
I have changed calcurse_{export,import}
to except UnicodeDecodeError
and return None, which bubbles through {push,pull}_object
to {push,pull}_objects
, thus not raising an error. This might not be the proper solution though, so I was hoping to start discussion. If anyone is interested, I'll happily open a PR against this ticket to discuss implementation directly.
Is the key code for ^P
ctrl+p? when I try to use it with the help command it says ^P
doesn't exist.
I'm trying to use the Prv View command.
I compiled 4.2.2 from source on Slackware 14.2 x86_64
I noticed characters appearing next to the date on the left side under the 'Appointments' section. They don't appear for everday, but random days throughout the month.
Is this suppose to mean something, or some bug?
Looks odd to me, if this is suppose to serve a purpose, I'd personally like to get rid of it.
All I can tell looking at a calendar at my home is some representation of the moon?
If this is for the moon, is there an option to disable this?
Hmm
|) January 04, 2017
(|) January 11, 2017
| January 27, 2017
Hello.
I'm trying to get calcurse to two-way sync with google's caldav server. I found a thread on your misc mailing list where a user made it work by using a deprecated endpoint. The link looks live, but I get
Connecting to www.google.com...
error: The server at www.google.com replied with HTTP status code 405 (Method
error: Not Allowed) while trying to access /calendar/dav/.
My ~/.calcurse/caldav/config
is as follows:
1 #If you want to synchronize calcurse with a CalDAV server using
2 # calcurse-caldav, create a new directory ~/.calcurse/caldav/, copy this file
3 # to ~/.calcurse/caldav/config and adjust the configuration below.
4
5 [General]
6 # Path to the calcurse binary that is used for importing/exporting items.
7 Binary = calcurse
8
9 # Host name of the server that hosts CalDAV.
10 Hostname = www.google.com
11
12 # Path to the CalDAV calendar on the host specified above.
13 Path = /calendar/dav
14
15 # Enable this if you want to skip SSL certificate checks.
16 InsecureSSL = No
17
18 # Disable this option to actually enable synchronization. If it is enabled,
19 # nothing is actually written to the server or to the local data files. If you
20 # combine DryRun = Yes with Verbose = Yes, you get a log of what would have
21 # happened with this option disabled.
22 DryRun = Yes
23
24 # Enable this if you want detailed logs written to stdout.
25 Verbose = Yes
26
27 # Credentials for HTTP Basic Authentication. Leave this commented out if you do
28 # not want to use authentication.
29 [Auth]
30 Username = [redacted]@gmail.com
31 Password = [redacted]
I've generated a fresh Google app-password for calcurse and am using it in the above config.
Thanks in advance, and keep up the good work!
Hi guys,
I noticed that the following leads to a segmentation fault :
Using gdb, it seems the problem comes from day.c, l.538 :
Program received signal SIGSEGV, Segmentation fault.
day_popup_item (day=0x0) at day.c:538
538 if (day->type == EVNT || day->type == RECUR_EVNT) {
I don't know why we should type 'k', but it doesn't reproduces otherwise
N.B.: ncurses hide the cursor, you should do a "reset" to get it back, since it doesn't close properly
At work, I am currently tied to an Exchange 2010 environment and thus am using DavMail to patch over the silliness. This exposes a CalDav server on port 1080. On this port, DavMail translates traffic to EWS and all is well.
However, calcurse-caldav cannot cope with this due to the assumption that all CalDav traffic is https. I have patched over this locally by changing line 508 to conn = http.client.HTTPConnection(hostname)
, but it'd be nice to have some built-in support for this. A configuration variable might be a good idea, as we already have one for InsecureSSL
. Thoughts?
I didn't download every version you have listed on GitHub, but many of them I tried failed, so I'm assuming they all do.
Because if I download 3.2.1 from GitHub it fails, but if I download it from the URL below it works.
http://calcurse.org/files/calcurse-3.2.1.tar.gz
I think you need to remove all the versions you have listed here for download and redo them over.
Here's the output from the terminal for the GitHub versions;
git-version-gen: unknown version number.
configure.ac:8: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:8: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
git-version-gen: unknown version number.
git-version-gen: unknown version number.
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
Makefile.am:7: error: ENABLE_DOCS does not appear in AM_CONDITIONAL
doc/Makefile.am:3: error: HAVE_ASCIIDOC does not appear in AM_CONDITIONAL
doc/Makefile.am:10: error: HAVE_A2X does not appear in AM_CONDITIONAL
doc/Makefile.am:62: error: HAVE_ASCIIDOC does not appear in AM_CONDITIONAL
doc/Makefile.am:67: error: HAVE_A2X does not appear in AM_CONDITIONAL
src/Makefile.am: installing './depcomp'
/usr/share/automake-1.15/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.15/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.15/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.15/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.15/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.15/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.15/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.15/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
parallel-tests: installing './test-driver'
/usr/share/automake-1.15/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL
configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:10: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:11: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:83: error: possibly undefined macro: AM_CONDITIONAL
I noticed it when I was putting in an appointment. I used the delete key to delete right of the cursor, but it deleted to the left (as backspace does).
I am using calcurse 4.2.2 on Arch Linux.
Being able to view the note of an item's TODO list with mdless would really take the notes features up a notch.
Maybe it could open up in a subscreen like when you expand the name of a TODO item?
Thoughts?
After changing and saving an appointment, a different appointment is highlighted, seemingly randomly.
Version: calcurse 4.1.0
To reproduce:
The result is that it jumps to another item. Which one I cannot predict.
I remember that with some previous version this did not happen: the same appointment was still highlighted/selected after changing it.
Hi there,
I try to get the caldav-sync to work.
I installed calcurse via apt-get and then pulled the calcurse-caldav.py from this repo.
I then created this config:
# If you want to synchronize calcurse with a CalDAV server using
# calcurse-caldav, create a new directory ~/.calcurse/caldav/, copy this file
# to ~/.calcurse/caldav/config and adjust the configuration below.
[General]
# Path to the calcurse binary that is used for importing/exporting items.
Binary = /usr/bin/calcurse
# Host name of the server that hosts CalDAV.
Hostname = *****.de
# Path to the CalDAV calendar on the host specified above.
Path = /*****/
# Enable this if you want to skip SSL certificate checks.
InsecureSSL = No
# Disable this option to actually enable synchronization. If it is enabled,
# nothing is actually written to the server or to the local data files. If you
# combine DryRun = Yes with Verbose = Yes, you get a log of what would have
# happened with this option disabled.
DryRun = No
# Enable this if you want detailed logs written to stdout.
Verbose = Yes
# Credentials for HTTP Basic Authentication. Leave this commented out if you do
# not want to use authentication.
#[Auth]
#Username = v******
#Password = *****
# Optionally specify additional HTTP headers here.
#[CustomHeaders]
#User-Agent = Mac_OS_X/10.9.2 (13C64) CalendarAgent/176
When I try to execute the python script with python3 calcurse-caldav.py --init=keep-remote
I get
error: Invalid calcurse binary. Make sure that the file specified in the error: configuration is a valid and up-to-date calcurse binary.
Thanks in advance and have a nice day!
Hello,
I tried to setup an caldav connection - and failed. This is the output with --verbose and --debug:
peter@ideapad:/dokumente/downloads/calcurse-4.2.2$ calcurse-caldav --init=two-way --verbose --debug
Loading configuration from /home/peter/.calcurse/caldav/config...
warning: Dry run; nothing is imported/exported. Add "DryRun = No" to the
warning: [General] section in the configuration file to enable synchronization.
Connecting to 213.168.202.219...
REPORT /owncloud/remote.php/caldav/calendars/peter/wolke/
Headers: {'Content-Type': 'application/xml; charset=utf-8'}
< Headers: [('Date', 'Tue, 07 Feb 2017 19:08:56 GMT'), ('Server', 'Apache/2.4.10 (Debian)'), ('Set-Cookie', 'oc8b227bfb18=u4l1f44sr28i56jnvcmujib4h2; path=/owncloud; HttpOnly'), ('Expires', 'Thu, 19 Nov 1981 08:52:00 GMT'), ('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'), ('Pragma', 'no-cache'), ('Strict-Transport-Security', 'max-age=31536000'), ('X-XSS-Protection', '1; mode=block'), ('X-Content-Type-Options', 'nosniff'), ('X-Frame-Options', 'Sameorigin'), ('Content-Security-Policy', "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *"), ('X-Robots-Tag', 'none'), ('WWW-Authenticate', 'Basic realm="ownCloud"'), ('Content-Length', '292'), ('Content-Type', 'application/xml; charset=utf-8')]
<
< <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
< <s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
< <s:message>No basic authentication headers were found</s:message>
< <s:sabredav-version>1.8.10</s:sabredav-version>
< </d:error>
error: The server at 213.168.202.219 replied with HTTP status code 401
error: (Unauthorized) while trying to access
error: /owncloud/remote.php/caldav/calendars/peter/wolke/.
And here is my .calcurse/caldav/cofig file:
Hostname = 213.168.202.219
Path = /owncloud/remote.php/caldav/calendars/peter/wolke
InsecureSSL = Yes
DryRun = Yes
Verbose = Yes
#[Auth]
Username = nnnnnn
Password = nnnnnn
#[CustomHeaders]
#User-Agent = Mac_OS_X/10.9.2 (13C64) CalendarAgent/176
Any ideas why this does not work? I would be glad if I could use calcurse with my caldav-server ...
Thanks for thinking about it.
Peter
Hi :)
I found calcurse a few months ago and it's awesome. However, I would like to sync with my calendar at gmail. I followed the guide but surely I'm missing something obvious in the config since all my attempts have ended with this:
warning: Dry run; nothing is imported/exported. Add "DryRun = No" to the
warning: [General] section in the configuration file to enable synchronization.
Connecting to calendar.google.com...
error: The server at calendar.google.com replied with HTTP status code 302
error: (Moved Temporarily) while trying to access /calendar/
Could anybody direct me to a more expansive guide or just a sample to make it work with gmail?
Thanks.
I have installed Calcurse 4.2.2 from the ubuntu repo (http://packages.ubuntu.com/zesty/calcurse) and have some problems with the experimental CalDav sync.
I set up calcurse on my notebook together with the CalDav config file for calcurse and run calcurse-caldav --init two-way
without errors. Then I open calcurse and everything is fine.
When I now create an appointment on the server (in the posteo web gui under https://posteo.de/en) for example at 07.02.2017 from 14:00 to 15:00 and then run calcurse-caldav
the appointment gets synchronized to my notebook, but gets a wrong duration on the server and in calcurse. It will then last from 07.02.2017 14:00 to 08.02.2017 13:59.
When I now want to run calcurse-caldav
again I get the following error: error: The server at posteo.de:8443 replied with HTTP status code 500 (Internal error: Server Error) while trying to access /calendars/my.name/calendar-name/.
This error goes only away when I delete or rename the appointment on the server.
when using the --import
option, it would be nice if location info from the ics file (if it's there) could be appended to the event description. without this I still have to go back into my outlook calendar to check where I'm going for appointments, but with that info in calcurse I'd never have to look at outlook again.
is this possible?
edit: just realized that this doesn't seem to be the main place to report bugs or request features so I'll send this to the mailing list as well
calcurse-caldav --init=two-way
Connecting to xxx.xxx.xxx.xxx:5232...
Saving synchronization database to /home/sauriol/.calcurse/caldav/sync.db...
0 items imported, 0 items removed locally.
0 items exported, 0 items removed from the server.
Connecting to xxx.xxx.xxx.xxx:5232...
Loading synchronization database from /home/sauriol/.calcurse/caldav/sync.db...
error: Sync database not found or empty. Please initialize the database first.
error: Supported initialization modes are:
error: --init=keep-remote Remove all local calcurse items
error: --init=keep-local Remove all remote objects
error: --init=two-way Copy local items to the server and vice versa
cat /home/sauriol/.calcurse/caldav/config
[General]
Binary = calcurse
Hostname = xxx.xxx.xxx.xxx:5232
Path = user1/759b6094-d263-b2d5-ca2f-f45623adda3e/
InsecureSSL = Yes
DryRun = No
Verbose = Yes
[Auth]
Username = user1
Password = qwer
im running a radicale caldav server
I noticed that no appointments appear in the notify-bar (next appointment within the upcoming 24 hours), if they are marked as recurrent. It's this correct? Thank you
EDIT: Nor notifications sends
Hi there.
First, thanks for writing this. I've been looking for a 'distraction/clutter-free' calendar app for my mutt. I'd like to use the new functions of CalDev as I am an iMac/iPhone/iPad user and want to sync my calendar with the cloud.
Here's what I've tried. I'm not a C developer but an avid Open Source protagonist.
$./autogen.sh
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/signed.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/[email protected]
Copying file po/[email protected]
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
git-version-gen: unknown version number.
configure.ac:8: error: AC_INIT should be called with package and version arguments
/opt/local/share/aclocal-1.15/init.m4:171: AM_INIT_AUTOMAKE is expanded from...
configure.ac:8: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
git-version-gen: unknown version number.
git-version-gen: unknown version number.
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
Makefile.am:7: error: ENABLE_DOCS does not appear in AM_CONDITIONAL
doc/Makefile.am:3: error: HAVE_ASCIIDOC does not appear in AM_CONDITIONAL
doc/Makefile.am:10: error: HAVE_A2X does not appear in AM_CONDITIONAL
doc/Makefile.am:63: error: HAVE_ASCIIDOC does not appear in AM_CONDITIONAL
doc/Makefile.am:68: error: HAVE_A2X does not appear in AM_CONDITIONAL
src/Makefile.am: installing './depcomp'
/opt/local/share/automake-1.15/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/opt/local/share/automake-1.15/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/opt/local/share/automake-1.15/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/opt/local/share/automake-1.15/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/opt/local/share/automake-1.15/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/opt/local/share/automake-1.15/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/opt/local/share/automake-1.15/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/opt/local/share/automake-1.15/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
parallel-tests: installing './test-driver'
/opt/local/share/automake-1.15/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL
configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:10: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:11: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:83: error: possibly undefined macro: AM_CONDITIONAL
peterbarganski macbook calcurse-master 11:03 am
$ls
ABOUT-NLS Makefile.am autom4te.cache config.rpath contrib mkinstalldirs test
AUTHORS NEWS build-aux config.sub depcomp po test-driver
COPYING README config.guess configure doc scripts
INSTALL autogen.sh config.h.in configure.ac m4 src
calcurse-master 11:03 am
$./configure
./configure: line 2107: AM_INIT_AUTOMAKE: command not found
./configure: line 2109: syntax error near unexpected token external' ./configure: line 2109:
AM_GNU_GETTEXT(external)'
Regards,
Peter
Steps to reproduce:
journalctl output:
Oct 22 11:05:32 archframe kernel: calcurse[2274]: segfault at 0 ip 00007f7d9ef37614 sp 00007fff9addd250 error 6 in libncursesw.so.6.0[7f7d9ef1c000+67000]
Oct 22 11:05:32 archframe systemd[1]: Started Process Core Dump (PID 2924/UID 0).
Oct 22 11:05:32 archframe systemd-coredump[2925]: Process 2274 (calcurse) of user 1000 dumped core.
Stack trace of thread 2274:
#0 0x00007f7d9ef37614 pair_content_sp (libncursesw.so.6)
#1 0x0000000000408df2 n/a (calcurse)
#2 0x000000000040a0a1 n/a (calcurse)
#3 0x000000000040aea6 n/a (calcurse)
#4 0x000000000040381f n/a (calcurse)
#5 0x00007f7d9e61bf6a __libc_start_main (libc.so.6)
#6 0x000000000040409a n/a (calcurse)
Stack trace of thread 2593:
#0 0x00007f7d9e6bf1e0 __nanosleep (libc.so.6)
#1 0x00007f7d9e6bf0ea sleep (libc.so.6)
#2 0x00000000004274d9 n/a (calcurse)
#3 0x0000000000418f4c n/a (calcurse)
#4 0x00007f7d9e9b908a start_thread (libpthread.so.0)
#5 0x00007f7d9e6f124f __clone (libc.so.6)
Stack trace of thread 2595:
#0 0x00007f7d9e6bf1e0 __nanosleep (libc.so.6)
#1 0x00007f7d9e6bf0ea sleep (libc.so.6)
#2 0x0000000000420fc9 n/a (calcurse)
#3 0x00007f7d9e9b908a start_thread (libpthread.so.0)
#4 0x00007f7d9e6f124f __clone (libc.so.6)
System: Linux archframe 4.13.8-1-ARCH #1 SMP PREEMPT Wed Oct 18 11:49:44 CEST 2017 x86_64 GNU/Linux, calcurse 4.2.2-1
Can provide coredumps if necessary
[config.c:596]: (error) Dangerous usage of 'tmppath' (strncpy doesn't always null-terminate it).
Source code is
strncpy(tmppath, get_tempdir(), BUFSIZ);
strncat(tmppath, "/" CONF_PATH_NAME ".", BUFSIZ - strlen(tmppath) - 1);
[note.c:84]: (error) Dangerous usage of 'tmppath' (strncpy doesn't always null-terminate it).
Duplicate.
Hi,
I use Calcurse and everything seems to work well for me, you did a great job !
I just wonder if custom color themes are supported in the current version ? If not, is it planned to be implemented (or just add extra colors in the configuration panel) ?
Thanks !
Hi,
would it be difficult to change the "day" view to a split. At the top the list like it is today.
At the bottom the notes of the selected appointment. Similar to khal.
This would avoid to open each using ">" in the pager.
show appointment location, from ics file
is this possible?
The iCal functionality does not support UTC enabled ics documents. Google uses theese and this messes up the time for different things. would be awesome to be able to manually fix this with maybe an --utc +/-hour flag to the cli commands. Thank you!
Hello!
Just installed v3.1.4 (v4 is not yet available at debian stable repos), and it looks like I can't use "repeat" option for appointments.
When I hit r
(while focused at the appointment), I'm asked about repetition rate (daily, weekly, monthly, or yearly) but pressing d
, w
, m
, y
yields nothing.
Any Ideas?
Hello,
compiling calcurse on Debian Wheezy fails. I couldn't figure out the problem because I'm not too familiar with makefiles.
Here is the output of autogen.sh
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/signed.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/[email protected]
Copying file po/[email protected]
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
/usr/share/aclocal/dotconf.m4:5: warning: underquoted definition of AM_PATH_DOTCONF
/usr/share/aclocal/dotconf.m4:5: run info '(automake)Extending aclocal'
/usr/share/aclocal/dotconf.m4:5: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:10: installing `./config.guess'
configure.ac:10: installing `./config.sub'
configure.ac:8: installing `./install-sh'
configure.ac:8: installing `./missing'
src/Makefile.am: installing `./depcomp'
the output of configure:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for initscr... no
checking for initscr in -lncursesw... yes
checking ncursesw/ncurses.h usability... yes
checking ncursesw/ncurses.h presence... yes
checking for ncursesw/ncurses.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for math.h... (cached) yes
checking for exp in -lm... yes
checking whether to include documentation... yes
checking for asciidoc... /usr/bin/asciidoc
checking for a2x... /usr/bin/a2x
checking if memory debug should be used... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating scripts/Makefile
config.status: creating po/Makefile.in
config.status: creating po/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
========================================================================
calcurse is configured as follows.
Please check that this configuration matches your expectations.
Also give a look at the config.h file to check for preprocessor symbols.
Host system type : x86_64-unknown-linux-gnu
Options used to compile and link:
PREFIX = /usr/local
VERSION = 3.1.4-74-g4780
CC = gcc
CFLAGS = -g -O2 -Wall
CPPFLAGS =
DEFS = -DHAVE_CONFIG_H
LD = /usr/bin/ld
LDFLAGS =
LIBS = -lncursesw -pthread -lm
========================================================================
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for initscr... no
checking for initscr in -lncursesw... yes
checking ncursesw/ncurses.h usability... yes
checking ncursesw/ncurses.h presence... yes
checking for ncursesw/ncurses.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for math.h... (cached) yes
checking for exp in -lm... yes
checking whether to include documentation... yes
checking for asciidoc... /usr/bin/asciidoc
checking for a2x... /usr/bin/a2x
checking if memory debug should be used... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating scripts/Makefile
config.status: creating po/Makefile.in
config.status: creating po/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
========================================================================
calcurse is configured as follows.
Please check that this configuration matches your expectations.
Also give a look at the config.h file to check for preprocessor symbols.
Host system type : x86_64-unknown-linux-gnu
Options used to compile and link:
PREFIX = /usr/local
VERSION = 3.1.4-74-g4780
CC = gcc
CFLAGS = -g -O2 -Wall
CPPFLAGS =
DEFS = -DHAVE_CONFIG_H
LD = /usr/bin/ld
LDFLAGS =
LIBS = -lncursesw -pthread -lm
========================================================================
and last but not least the error message of make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/***/src/calcurse/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/home/***/src/calcurse'
Making all in po
make[2]: Entering directory `/home/***/src/calcurse/po'
test -z "fr.gmo en.gmo de.gmo es.gmo nl.gmo ru.gmo pt_BR.gmo" || make fr.gmo en.gmo de.gmo es.gmo nl.gmo ru.gmo pt_BR.gmo
make[3]: Entering directory `/home/***/src/calcurse/po'
rm -f fr.gmo && : -c --statistics -o fr.gmo fr.po
mv: cannot stat `t-fr.gmo': No such file or directory
make[3]: *** [fr.gmo] Error 1
make[3]: Leaving directory `/home/***/src/calcurse/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/home/***/src/calcurse/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/***/src/calcurse'
make: *** [all] Error 2
Make wants to move a file, that doesn't exist ...
I tried it with the current code from git.
Thanks four your help!
Hello,
First of all, thanks for creating this app! It's the only cli calendar I could find with caldav support that actually works.
There's one feature I'm missing, though: When I edit an existing appointment, I can change the start and end times but not the date on which it takes place. I often need to move appointments to different days, and currently this can only be done by copying it, deleting it, and then pasting it to a different day.
It wouldn't matter to me if the appointment was internally deleted and then recreated as long as I can conveniently change the date from the 'edit appointment' menu. Could this be done?
Thanks a lot!
Cheers,
jereviendrai
Hi,
I want to use calcurse-caldav for syncing my calendar with my companies exchange server. Therefore I set up DavMail. It seems to work basically, but unfortunately I get an unicode error while the script parses the response:
Traceback (most recent call last):
File "/usr/local/bin/calcurse-caldav", line 519, in <module>
local_new, local_del = pull_objects(conn, syncdb, etagdict)
File "/usr/local/bin/calcurse-caldav", line 301, in pull_objects
headers, body = remote_query(conn, "REPORT", path, {}, body)
File "/usr/local/bin/calcurse-caldav", line 124, in remote_query
print("< " + line)
File "/usr/lib/python3.4/encodings/iso8859_15.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2022' in position 25: character maps to <undefined>
I looked around a bit in the script and noticed that it is basically unicode-aware (afaics^^), so do you have any hint for me?
Thanks in advance!
Says it has 20 lines but are only 15. Almost 1/2 of those are spaces? Just Wondering..
I also noticed that the script calcurse/scripts/calcurse-upgrade.sh.in has the suffix .in after it. I was wondering what that was for. I probably just have never seen it therefore haven\t the knowledge to understand.
Thanks A Bunch
glsmaxx2015
i read documentation
but i cant understand how can attache text file for my todo s
and how can edit it with vim
Hi,
I try to read some ical file with -c
option and calcurse report me an internal error:
io.c: 433: test.ical:1: erreur de syntaxe sur la date de l'élément
I use the join ical file to test or try to generate some data in calcurse and export it in ical format and try to read with -c
.
I've make this test with calcurse 3.1.4-2
from Archlinux.
here the ical.test I use
BEGIN:VTIMEZONE
TZID:US-Eastern
LAST-MODIFIED:19870101T000000Z
TZURL:http://zones.stds_r_us.net/tz/US-Eastern
BEGIN:STANDARD
DTSTART:19671029T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19870405T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
END:DAYLIGHT
END:VTIMEZONE
Thanks for your help.
I export my calcurse calendar to the ical format using calcurse -x
. I then import it into the Android calendar. The problem is that what are called "all-day event"s in calcurse are just events occurring at 00:00 in Android, so I don't see them anymore after 00:01.
When looking at the ical file exported by calcurse, it appears that there is no DTEND field for these events. This is the correct behaviour for events that do not take time according to RFC 2445 (cf Recommended pratices, 2).
For events that actually take the whole day, DTEND should be specified as DTSTART+1 day (or +n days depending on how many days it lasts), since DTEND specificies the non-inclusive ending time.
calcurse already supports events with only a starting date (just fill the starting date and leave the ending date empty). I think it would be better if an all-day event really had a duration of 24h.
Overall I'm not sure whether calcurse's behaviour is wrong per se, but always writing a DTEND for all day events would remove the ambiguity.
Related: it would be nice to be able to create all-day events spanning several days; for now, it's only possible to specify a duration if a precise time has been chosen.
I've setup Google Calendar syncing with calcurse-caldav, and it's working great except that if I have TODO tasks, it tries and fails to sync them with a 403 on apidata.googleusercontent.com/caldav/[email protected]/events/something.ics
Upgrading from ncurses 6.0+20170128 to 6.0+20170401 causes calcurse to crash when exiting. I tested this on two machines, both of which are Arch Linux. On exit, config.c gives an error about an unknown color in the configuration file. Trying to change the background color from the terminal default gives a segmentation fault. Below are pictures:
Hi! :) I tried to access the readme file from http://calcurse.org/support/ and was directed here http://git.calcurse.org/calcurse.git/tree/contrib/caldav/README with the errormsg "bad gateway" :)
I really like the functionality of calcurse-caldav, the only problem I have is that I don't like storing my password in a plain text file.
What I'm requesting for is that it should be possible to get the password for calcurse-caldav via external command, so that it'd be possible to issue something like 'pass ls calendar'. That way, passwords aren't stored in an unencrypted fashion.
In https://github.com/lfos/calcurse/blob/master/src/getstring.c#L178, a part of the readline/libedit library is reimplemented, but some bindings are missing, such as CTRL('U') (unix-line-discard according to man readline
on Debian).
I am not 100% sure because of the comment that precedes the function definition, but it looks like these bindings could be handled by libedit instead of being redefined manually.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.