Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-10-2013, 11:55 PM   #1
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Post pal - COMMAND LINE Calendar thingy (requires KTERM)

pal is a command-line calendar program for Unix/Linux systems that can keep track of events. It has similarities with the Unix cal command, the more complex GNU gcal program, and the calendar program distributed with the BSDs.

Features:
  • A cal-like calendar that highlights days that have events.
  • Assign different colors to different types of events.
  • Search events with regular expressions (-s).
  • Includes calendars for US holidays, Christian holidays, world holidays, historical events and more.
  • One-time events and a variety of recurring events are supported (daily, weekly, monthly, yearly). Recurring events can have start and end dates.
  • Easy-to-use interface for interactively adding/editing/deleting events (-m).
  • Automated deletion of old events (-x).
  • Option to generate an HTML calendar (--html) (example).
  • Option to generate a LaTeX calendar suitable for printing (--latex) (source, example).

http://palcal.sourceforge.net/

http://manpages.ubuntu.com/manpages/...an1/pal.1.html



It also does birthdays... Yeah birthdays.. huh. birthdays... hint hint.
Enjoy the thingy.


TO RUN IT TYPE ./pal in kterm
or ./pal -h to see the options.


Attached Thumbnails
Click image for larger version

Name:	Selection_617.png
Views:	151
Size:	90.8 KB
ID:	110791  

Last edited by twobob; 09-14-2013 at 12:26 AM. Reason: Fixed the wandering bind mount, fixed the silly ! error
twobob is offline   Reply With Quote
Old 09-11-2013, 12:00 AM   #2
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 404
Karma: 1287365
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post
birthdays... hint hint.
TO RUN IT TYPE ./pal in kterm
or ./pal -h to see the options.


A VERY Happy Birthday to you!
brianinmaine is offline   Reply With Quote
Old 09-11-2013, 12:01 AM   #3
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Thanks Brian.

Now I put all this rdesktop junk behind me I'm gonna get back on with my FRONTER project.
twobob is offline   Reply With Quote
Old 09-11-2013, 12:13 AM   #4
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 404
Karma: 1287365
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post

Easy-to-use interface for interactively adding/editing/deleting events (-m).

Option to generate an HTML calendar (--html) (example).
I doubt if I would really use this, but MAYBE if I had leafpad to do the editing, and have it display an html page in the default browser? I probably won't bother with it, but it could be helpful for some.

Thanks for all the hard work you do here!
brianinmaine is offline   Reply With Quote
Old 09-11-2013, 12:28 AM   #5
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
It was just my way of announcing my birthday.

It's full of fun events actually if you edit /mnt/us/extensions/pal/etc/pal.conf


Quote:
Blah....

# united states holidays and other events
#file_hide us.pal (red)

# christian events
#file_hide christian.pal (magenta)

# historical events
#file_hide history.pal

# holidays in various countries
#file world.pal

# births/deaths
file_hide birth-death.pal (white)

# computer-related events
# file_hide computer.pal

# music events
#file_hide music.pal

# australian events
#file_hide australia.pal

# lord of the rings events
#file lotr.pal

# pagan events
#file pagan.pal

..... blah
and stick in some of those "pre-mades" by removing the #'s



(for example it is bilbo + frodos BD in 3 days FWIW )

Last edited by twobob; 09-11-2013 at 12:36 AM.
twobob is offline   Reply With Quote
Old 09-11-2013, 01:28 AM   #6
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 404
Karma: 1287365
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post
TO RUN IT TYPE ./pal in kterm
or ./pal -h to see the options.
uh - I had to uncomment the last 3 lines of 'check-pal' to make it work like this. default just had me at at the kterm folder directory, where I would have had to cd to ../../pal/ to run ./pal

also, it scrolls all the stuff off the screen. I'll have to see about the html calendar option.

also, did you have trouble with it disconnecting your kindle? I had to reboot twice now to reconnect after running this?

Last edited by brianinmaine; 09-11-2013 at 01:32 AM.
brianinmaine is offline   Reply With Quote
Old 09-11-2013, 01:45 AM   #7
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
hmm.. no nothing like that.

it's a tiny tiny app that runs via kterm. weird.

I'll test more tomorrow but it has like NO networking impact that I can think of...
twobob is offline   Reply With Quote
Old 09-11-2013, 01:49 AM   #8
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 404
Karma: 1287365
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post
hmm.. no nothing like that.

it's a tiny tiny app that runs via kterm. weird.

I'll test more tomorrow but it has like NO networking impact that I can think of...
I thought maybe the bind mount or something? I'll keep testing also..
brianinmaine is offline   Reply With Quote
Old 09-11-2013, 02:19 AM   #9
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
okay... so yeah. scrolling stuff of the screen... just swipe the screen up

the amount of junk it prints is configurable.

I've raised a github bug with baf about Kterms PATH handling.
I'll fix up the extension to HAVE the last 3 lines in for now... (in the morrow) DONE

Heroicism.


EDIT: Okay I see what you mean about the bind mount. Took down the top bundle.
will research

Last edited by twobob; 09-11-2013 at 04:06 AM.
twobob is offline   Reply With Quote
Old 09-11-2013, 04:39 AM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
bind mount had an errant path.

all fixed. Thanks Brian.

Last edited by twobob; 09-11-2013 at 06:59 AM. Reason: s/a/an
twobob is offline   Reply With Quote
Old 09-11-2013, 04:55 AM   #11
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677559
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Ha! Merry Christmas... happy easter... happy birthday twobob!



ixtab is offline   Reply With Quote
Old 09-11-2013, 05:55 AM   #12
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by twobob View Post
It also does birthdays... Yeah birthdays.. huh. birthdays...
Happy birthday
thomass is online now   Reply With Quote
Old 09-12-2013, 01:21 AM   #13
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
belated birthday wishes, twobob..

on my PW, some issue with pal.. says "Can't find file.."

screenshot attached..
Attached Thumbnails
Click image for larger version

Name:	pal_screenshot.png
Views:	107
Size:	33.6 KB
ID:	110884  
nasser is offline   Reply With Quote
Old 09-12-2013, 01:26 PM   #14
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
and... is the file there?
twobob is offline   Reply With Quote
Old 09-12-2013, 01:50 PM   #15
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
it's there.. visible in the ls -l output..
nasser is offline   Reply With Quote
Reply

Tags
calendar, kterm, kual, pal

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K5 taskwarrior (REQUIRES KTERM) twobob Kindle Developer's Corner 27 08-19-2013 04:54 PM
Command line - HOW? bookfanmd Calibre 19 01-12-2013 10:17 AM
Help with command line shotsky Conversion 6 07-23-2012 10:40 AM
Need help using command line tsger Recipes 2 07-16-2011 04:23 AM
Why use the command line? slantybard Calibre 6 07-22-2009 01:17 PM


All times are GMT -4. The time now is 01:00 PM.


MobileRead.com is a privately owned, operated and funded community.