Screen – terminal multiplexer

Screen – terminal multiplexer

I usually have one screen running at all time, and in that screen session, I ssh to various hosts that I am working, and have screen running on those hosts.

Additional Links

GNU Screen – GNU Project – Free Software Foundation (FSF)
GNU Screen – Summary [Savannah]
GNU Screen – Wikipedia, the free encyclopedia
Screen User’s Manual
start [GNU screen]
http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html
Remote terminal session management using screen How to use screen to detach from and share terminal sessions A Brief Introduction to Screen https://nathan.chantrell.net/! Linux, Home Automation, VoIP, Radio Scanning, PMR446, CB Radio, Cryptography, Handspring Visor, Psion Series 3 and much more. screen – The Terminal Multiplexer
[Power Sessions with Screen

iKog – the simple todo list

iKog – the simple todo list

iKog – the simple todo list

So I am looking for a good to-to list manager, and I stumbled across ikog.  ikog stands for “It Keeps On Growing”, and it is a pretty nice todo manager which has been influenced by the GTD school of thought. Currently, I am using it for my daily todo manager, and using the python gtd tool for my long term list management.  Give it a whirl, you might like it!

BINS Photo Album

Edit Note 2018-03-24: I am now using sigal for this, and I am not sure if BINS is still maintained.

The BINS Photo Album is a package to generate static web pages from the command line. Why would you want to do this? Well, most of the dynamic web photo albums require that the server do all the work when the client requests the images, thus either slowing it down, or requiring a very beefy server. Also, you introduce the chance for a script-kiddie from hacking your site. Not good.

Enter BINS. Some of its features include:

  • generated album is static : it’s just plain HTML/CSS/Javascript files (Javascript is not mandatory to view the album), no need of any dynamic language (php, asp, etc.) nor database on server-side. Album can be burned on CD or DVD.
  • album can contain other albums (sub albums): the album can have a tree structure ;
  • generation of a thumbnail and of scaled images for each picture ;
  • generated album appearance is fully customizable by using HTML templates (5 different templates sets are currently provided) and configuration parameters: colors, number and size of thumbnails per page, number and size of scaled pictures (in pixels or percentage of the original image for the size), fields to display, etc. Those parameters can be set globally (system wide or per user), per album or sub album or per picture (such as, you can change the colors of one sub album or one just one picture page in an album by editing its description file) ;
  • several description fields (date, location, etc…) can be associated with the pictures (in text or HTML format). You can easily add or customize these fields ;
  • description fields can be set or modified via a command line interface or a GTK+/GNOME-based GUI ;
  • A search engine is included in the album : you can find some pictures by searching keywords in their description fields.
  • Album can be generated from pictures managed by Zoph.
  • speed up album browsing by performing a clean up of HTML code to reduce its size and by pre-loading thumbnails in browser cache using JavaScript code ;
  • Exif information and Digital camera support :
    • use the EXIF data structure found on some image files (usually, those produced by digital cameras) to fill automatically some fields (date and time for example).
    • BINS use the Orientation EXIF tag (which is normally set when you rotate a image on you DigiCam) to rotate the picture to correct orientation.
    • For each image, a page provides all information available on the picture and the DigiCam settings when the photo was taken.
    • Additional information are provided for Canon DigiCams.
    • Tooltips provide information about the meaning of some of the fields.
    • All EXIF information is saved in the XML description file, preventing they disappear when the image is modified ;
  • internationalization (generation of album in different languages) using gettext. Current languages supported are Catalan, Dutch, English, Esperanto, Finish, French, German, Hungarian, Italian, Japanese, Polish, Russian, Spanish and Traditional Chinese ;
  • customizable charset encoding for HTML generation, including UTF-8 (Unicode) support by default. Generation of the Apache .htaccess file for correct encoding charset in HTTP headers ;
  • use of XML files to save user description of pictures and albums/subalbums and Exif data from image file ;
  • handle correctly file and directory names with spaces or other odd characters (excepted ‘/’), and create valid escaped URLs ;
  • generate valid HTML/XHTML code. The level of HTML depends of the style used. Some of the styles are valid, table free XHTML.

The web site has some great examples. Go check them out.

Strayed from the path

In two ways…first, I have not updated the site in a while, and I
need to get back to updating it.

Second, because I have not been true to my cli roots. I have moved
from my default MUA of the last, oh, 8 years, and flirted with a GUI
MUA, thunderbird. It was pretty.
It was sexy. It let me see everything then and now. It tried to
seduce me into using a GUI for more…

But, then I got behind in my email, and it was taking longer and
longer to catch up. sigh Two days ago, I switched back, and now, I
am fully caught up on my inbox, and making headway on my actionable
items.

cli bug/issue/task tracking system?

cli bug/issue/task tracking system?

Fresh from freshmeat:

http://www.ditrack.org/

What is DITrack? DITrack is a free, open source, lightweight, distributed issue (bug,
defect, ticket) tracking system using a [Subversion](http://subversion.tigris.org/) repository instead
of a backend database. It is written in Python and runs in UNIX
environment (*BSD, Linux, MacOS X). The project is inspired by the idea of [Subissue](http://subissue.tigris.org/) issue tracking system. However, while Subissue aims in merely replacing the traditional
database storage with Subversion repository, DITrack is a major
rethought of the issue tracking system paradigm. The main difference
is that instead of sticking to the centralized model (one database,
one web interface, one mail integration machinery), DITrack treats
underlying Subversion storage as a versioned distributed file system
which enables benefits of truly distributed operation mode.

Window Manager for tty?

Window Manager for tty?

The package screen is
something that has been around for a long time.

With screen, you can have many session running on tty, and you can switch to another session without touching a mouse. With the proper configuration, you can get notified if there is some change (like if you have a IM client up) or if there is no output (say, if you are watching a compile session).

You are in the zone working, and then you notice the time, and you have to log out and go home. Is this a problem? No, with a simple d, you can disconnect the screen session, log out, go home, log back into that machine, and resume your session just where you left off.

One of the other really features feature that screen has is cut and paste between sessions. The is very handy when adapting code (or articles) into a new file.

Screen References

Disconnected IMAP

Disconnected IMAP

So, in an effort to get to the office earlier, I decided to try to
figure out how to do disconnected IMAP. Well, the route I took was to
use a tool called <a
mailsync which is a cool
tool to allow you to sync IAMP mailboxes. So, my tack is to sync it
down to my laptop, and read the email on the bus. I sync email down
in the morning, and then in the evening, sync again. So far, so good.

More updates later…

Screen Saver? Yes!

Screen Saver? Yes!

So, a while back I found a screensaver which is meant for the command
line. It is called tss. The
latest version is 0.8.1, and it is looking pretty cool.

Under screen 4.0 or higher, there is a command called idle which is
set in seconds. By default, it uses screen’s built in lockscreen
function, but if you define the environment variable LOCKPGR, then you
can call something else. I have it call a the following script:

#!/bin/bash tss -r
exec vlock -a

This will lock my screen after a set time, and give me a nice thing to
look at.

RSS Reader: Raggle

RSS Reader: Raggle

Well, after getting some time over the US holiday to try to get raggle
built, I gave up. I am guessing that Fedora Core 5/6 are not very
ruby friendly yet, as I could not find everything I needed very
easily. I was able to get it almost all the way there, but I could
not get the ruby-Ncurses rpm to build, and I am very strict about
using the native package management system (ie RPM on a RPM based
system, portage on Gentoo, apt on a Debian deviant), so I will not be
trying this until I can get the RPMS.

In other news, I have found some more PIM type things to play with.
Does anyone know of a good CLI Palm Pilot sync package? Cold Sync seems to be dead, and I am
not sure if it will talk to modern Pilots.