TinyApps.Org
Small is beautiful


 HOME

  0. Internet
  1. Text
  2. Graphics
  3. System
  4. File
  5. Misc
  6. Palm
  7. OS X

 BLOG

 DOCS

 FAQ

 RSS (?)





Text editing / shell access on a Kindle 3 #
Some possible alternate titles for this post:
  • Editing text on a Kindle 3
  • Terminal / console access on a Kindle 3
  • Ubuntu Linux on your Kindle 3
  • K3 SSH client
UPDATE: Installing Luigi Rizzo's Standalone Kindle Terminal

The Kindle 3's WebKit browser allows access to a host of web-based text editors (MyTextFile, vian, etc) and consoles (Ajaxterm, Anyterm, Web Console, shellinabox, etc).

Why bother? Because reading electronic text on an e-ink screen is far more pleasant than on any other device (including the Pixel Qi, which, however, is a great LCD for outdoor use).

After installing shellinabox on an Ubuntu Linux VM, shell access from the Kindle couldn't be simpler:

Shell access from Kindle 3

Since the Kindle keyboard lacks Esc and Ctrl, stick with simple text editing tools like cat and ed/ex instead of nano and vi (though there are ways to avoid the escape key in vi, including Alt shortcuts like Alt+M to jump to middle of page and switch to command mode):

ed running on the Kindle 3

ed/ex resources: It's easy to get really excited about ed:
Of course, on the system I administrate, vi is symlinked to ed. Emacs has been replaced by a shell script which 1) Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk quota by 100K; and 3) RUNS ED!!!!!!
...
When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a "viitor". Not a "emacsitor". Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!!

/eink | Sep 30, 2010

Find total number of iCal events #
John Maisey kindly shared the following AppleScript to find the total number of events in iCal:
set myText to "Count of events in iCal's calendars." & return
tell application "iCal"
  repeat with myCal in calendars
    set myText to myText & return & (name of myCal) & ": " & (count events of myCal)
  end repeat
end tell
display dialog myText

/mac | Sep 01, 2010



Categories
/blosxom
/eink
/mac
/misc
/nix
/palm
/windows

Blosxom Archive
2012: 5 4 3 2 1
2011: 12 11 10 9 8 7 6 5 4 3 2 1
2010: 12 11 10 9 8 7 6 5 4 3 2 1
2009: 12 11 10 9 8 7 6 5 4 3 2 1
2008: 12 11 10 9 8 7 6 5 4 3 2 1
2007: 12 11 10 9 8 7 6 5 4 3 2 1
2006: 12 11 10 9 8 7 6 5 4 3 2 1
2005: 12 11 10

Blogger Archive
2005: 10 9 8 7 6 5 4 3 2 1
2004: 12 11 10 9 8 7 6 5 4 3 2 1
2003: 12 11 10 9 8 7 6

Ezine Archive
2004: 4 3 2 1
2003: 12 9 8 7 6 5 4 2 1
2002: 12 10 9 8 7 6 5 3 2 1
2001: 12 11 10