Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Nov 2019, 16:25
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Business
Calcurse - CLI Organizer
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 01 Sep 2009, 06:07    Post subject:  Calcurse - CLI Organizer  

Home: http://culot.org/calcurse/
Version: 3.0
Quote:
calcurse is a text-based calendar and scheduling application. It helps keep track of events, appointments and everyday tasks. A configurable notification system reminds user of upcoming deadlines, and the curses based interface can be customized to suit user needs. All of the commands are documented within an online help system.

Compiled and tested in 4.31

aragon
calcurse_NLS-3.0.0.pet
Description 
pet

 Download 
Filename  calcurse_NLS-3.0.0.pet 
Filesize  120.76 KB 
Downloaded  1195 Time(s) 
calcurse-3.0.0.pet
Description 
pet

 Download 
Filename  calcurse-3.0.0.pet 
Filesize  109.31 KB 
Downloaded  1883 Time(s) 

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html

Last edited by aragon on Tue 03 Jul 2012, 07:19; edited 2 times in total
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 15 Oct 2009, 11:18    Post subject:  

updated to 2.7. see main post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 04 Jun 2010, 15:09    Post subject:  

updated to 2.8. see main post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Wed 30 Jun 2010, 05:15    Post subject:  

Thanks Aragon for this handy utility Smile
Back to top
View user's profile Send private message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Tue 10 May 2011, 17:40    Post subject:  

Very nice, I compiled it in Wary 511, upx'd binary.
calcurse-2.8.pet
Description  calcurse, CLI calendar and scheduling
md5sum: 4e0fa47445bd6a54f93804ae379fac97
pet

 Download 
Filename  calcurse-2.8.pet 
Filesize  74.73 KB 
Downloaded  1373 Time(s) 
calcurse-2.8_DOC_NLS.pet
Description  NLS and DOC files
md5sum: 01af136de991d04122c8c9f61f2465de
pet

 Download 
Filename  calcurse-2.8_DOC_NLS.pet 
Filesize  22.41 KB 
Downloaded  1383 Time(s) 
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 03 Jul 2012, 07:17    Post subject:  

uploaded actual version to first post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1221
Location: Saint-Gérard / Walloon part of Belgium

PostPosted: Sat 24 Aug 2013, 07:42    Post subject: calcurse-3.1.4  

Hi,
nex website:http://calcurse.org
last edited: see next post for additional usefull infos
to binding-keys and keyboard controls lovers...
here is calcurse-3.1.4 compiled on wheezy-3.5.2.5 (debian-7.0 flavour) → works on wheezy-3.5.2.7 as also on dPup-raring-3.9.9.X.

Using it in place of osmo since quite 2 weeks...

To start it do in terminal (i.e. LXTermibal ; if only urxvt present, see next post)
Code:
#agenda
as the pet has a script «agenda» in it.
last edited: of course, works also just doing in terminal
Code:
#calcurse



One might also activate the /usr/local/bin/defaultcalendar.txt present in the pet as also drop its .txt tail to use calcurse in place of osmo.

warnings:
-this is a console GUI application. One has to read the binding keys code at the bottom of the console GUI to know what to do for full satisfaction.
-no after-sales-support to be awaited from me ... Confused

download link:http://www.datafilehost.com/d/886b3905
calcurse.jpg
 Description   clicking agenda icon starts calcurse (read about defaultcalendar symlink in the above post)
 Filesize   37.03 KB
 Viewed   1363 Time(s)

calcurse.jpg

calcu_barchart.jpg
 Description   pressing Ctrl+N displays bars in accordance with days time charge.
 Filesize   30.52 KB
 Viewed   1223 Time(s)

calcu_barchart.jpg


Last edited by charlie6 on Mon 26 Aug 2013, 00:16; edited 5 times in total
Back to top
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1221
Location: Saint-Gérard / Walloon part of Belgium

PostPosted: Sun 25 Aug 2013, 00:11    Post subject: calcurse-3.1.4 cli organizer compiled for wheezy  

Hi again,
in addition to the above post:
- the above pet uses wheezy-3.5.2.5 features: LXTerminal instead of urxvt.
For use with urxvt, edit /usr/local/bin/agenda as follows:
replace the line
Code:
exec /usr/bin/lxterminal --geometry=100x55 --command='calcurse' --title='AGENDA ( !! QUITTER =presser q + ENTER + o )'

by
Code:
exec /usr/bin/urxvt -title 'AGENDA ( !! QUITTER =presser q + ENTER + o )' -geometry 100x55 -e calcurse

- the second screenshot shows a mismatch between displayed week number in top-right calendar (week count from 1 to 53) and bottom-left current date (week count 0 to 52 - read man strftime web page for details).
This is not due to calcurse, but only to configure settings (key binding C) present in /root/.calcurse/conf file.
The Calcurses binary counts from 1 to 54.
To match with it, just manualy edit this line in /root/.calcurse/conf file:
was:
Code:
format.notifydate=%a %d %b %G w%W

new:
Code:
format.notifydate=%a %d %b %G w%V

-localization: de, en, es, fr, nl, pt_BR, ru
Back to top
View user's profile Send private message 
Pelo

Joined: 10 Sep 2011
Posts: 12591
Location: Mer méditerrannée (1 kms°)

PostPosted: Sat 28 Jun 2014, 01:27    Post subject: le frenchy va nous aider !  

Comment entres-tu les tâches ? How do yo add tasks ? au boulot !
Merci Monsieur Smile

_________________
Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 
rufwoof


Joined: 24 Feb 2014
Posts: 3624

PostPosted: Thu 18 Apr 2019, 21:43    Post subject:  

Linux without a ssh server is like tea without milk (a little bitter)

I use hashbang.sh for my (free) ssh server, which provides IRC, mail, even a https socks (to hide your IP from remote servers and hide your activity/connections from your ISP (local state)). hashbang sets you up with a tmux session by default, so you can detach (ctrl-b d), logout, and then later log in again and reattach to the exact same session - which is nice for leaving IRC channels open. A ssh server is also handy for storing your calendar/events for calcurse, as that can then be accessed/sync'd/used from different devices.

Guess I should be using rsync, however the script I use to pull down my calendar (appointments), use it (calcurse) and then re-upload again ... storing in a encrypted form is :

Code:
#!/bin/sh
cd /root/.calcurse
scp your-hashbang-userid@ny1.hashbang.sh:~/apts.gz.gpg /root/.calcurse/apts.gz.gpg
if [ -f /root/.calcurse/apts.gz.gpg ]; then
   gpg --yes --batch --passphrase=yourpassword apts.gz.gpg
   gzip -d apts.gz
   rm apts.gz.gpg apts.gz >/dev/null 2>&1
   sync
   /usr/local/bin/calcurse
   sync
   echo Syncing to server ... please wait
   gzip apts
   gpg --yes --batch --passphrase=yourpassword -c apts.gz
   scp /root/.calcurse/apts.gz.gpg your-hashbang-userid@ny1.hashbang.sh:~/apts.gz.gpg
   rm apts.gz apts.gz.gpg >/dev/null 2>&1
else
   echo problems gettings apts file via ssh
fi

With hashbang you are set up with a ssh key, so no passwords involved in copying (scp) to/from the server. The 'yourpassword' in the above is a password you choose to encrypt the apts (calcurse appointments) file. Puppy being a single user desktop generally has no issues with other users potentially seeing that password in the likes of ps, as you're the only user.

What I tend to do for my desktop is to have the browser (I prefer Firefox Quantum) running on one desktop, another desktop for music (I like audacious), and a third desktop for tmux i.e. ssh'd into your ssh server - for quick/easy access to mail, calendar, irc ... etc. I use Barry's EasyOS, and I run those desktops inside the Easy Container, which is isolated from the main system (local data/docs are secure/separated from online activities/risk).

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3624

PostPosted: Sat 22 Jun 2019, 07:54    Post subject: calcurse removing todo  

EDIT: Found that in general use that with the TODO panel totally removed it could leave remnants visible in that screen area after some activity. So I've modified the code to leave the TODO panel still present, but is inaccessible and has a panel label of "not available" (n/a). i.e. tabbing between panels just jumps between the calendar and appointments panels.

For Fatdog (see http://murga-linux.com/puppy/viewtopic.php?p=1030788#1030788) the new/later sfs version has already been uploaded. (I usually install such sfs's using

unsquashfs -f -d / calcurse-no-todo.sfs

that forcibly extracts the contents to the specified directory i.e. / in the above example).

=======

For me, the todo panel in calcurse just gets in the way. I don't use it as I use a separate text file for my todo's. So I opted to remove (see above edit - 'replace') the calcurse todo panel and my calcurse now looks like ...


(clickable thumbnail)

To achieve that in the calcurse source code wins.c I changed
if (slctd_win == TOD) -> if (slctd_win == APP)
and in ui-todo.c I commented out
/* listbox_display(&lb_todo, hilt); */
re-ran make and make install and now its as per the above image.
A crude, but simple change, that works for me.

i.e. around line 250 of wins.c now looks like this
Code:
/* TAB key was hit in the interface, need to select next window. */
void wins_slctd_next(void)
{                                                             
        if (slctd_win == APP)  /* Rufwoof was TOD */       
                slctd_win = CAL;
        else
                slctd_win++;                                     
}

and around line 280 of ui-todo.c now looks like this
Code:
/* Updates the TODO panel. */     
void ui_todo_update_panel(int hilt)
{                                                                       
        /*             
         * This is used and modified by ui_todo_draw() to avoid quadratic
         * running time.                                             
         */                                                         
        llist_item_t *p = LLIST_FIRST(&todolist);
 
        listbox_set_cb_data(&lb_todo, &p);                   
/*      listbox_display(&lb_todo, hilt); Rufwoof hide the todo window */
}


With the todo panel inactive, when you want to move a appointment from one day to another its quicker/easier as you just have to tab to the calendar, select (arrow keys to) the relevant date, tab to the appointments panel, select the appointment to be moved and press 'd' (delete) to remove that entry (press y to confirm that if you have delete confirmation turned on in the calcurse configuration), then tab back to the calendar and switch to the date where you want the appointment moved to, tab into the appointments section and press 'p' to paste the deleted appointment.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Business
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0742s ][ Queries: 12 (0.0184s) ][ GZIP on ]