LWN.net Logo

The Grumpy Editor's guide to note-taking applications

The Grumpy Editor's guide to note-taking applications

Posted Feb 15, 2007 5:36 UTC (Thu) by roelofs (guest, #2599)
In reply to: The Grumpy Editor's guide to note-taking applications by flewellyn
Parent article: The Grumpy Editor's guide to note-taking applications

You forgot about one of the simplest and easiest note-taking programs: cat!

He did mention that he was restricting the field to graphical apps. It would be hard to argue that cat falls into that category (so to speak). ;-)

FWIW, I have at least one xterm with a "vi /tmp/foo" open at all times; it becomes a dumping ground for almost anything of interest, from long (but useful) command lines to geek stuff on sale to "to do" lists to URLs to scorekeeping to code snippets to ... (And if I changed it to gvim, it would even count as graphical...)

Greg


(Log in to post comments)

The Grumpy Editor's guide to note-taking applications

Posted Feb 15, 2007 14:46 UTC (Thu) by nix (subscriber, #2304) [Link]

It seems odd to keep your notes in /tmp.

(Myself I use a directory full of tiny files, and Emacs dired. Maybe I should use remember.el instead...)

The Grumpy Editor's guide to note-taking applications

Posted Feb 15, 2007 17:16 UTC (Thu) by roelofs (guest, #2599) [Link]

It seems odd to keep your notes in /tmp.

Well, obviously (or not?) I don't do that on multiuser machines. But on single-user machines, I find "/tmp" is a tiny bit easier to type than "~", and like many programmers, I optimize for ease of use (i.e., I'm lazy :-) ).

Greg

The Grumpy Editor's guide to note-taking applications

Posted Feb 20, 2007 20:45 UTC (Tue) by nix (subscriber, #2304) [Link]

So these are very-short-term scribbles that aren't meant to survive a
reboot?

(Myself I use unsaved buffers in XEmacs for that. Why not just open a file
in emacs or vi and don't save it? ;) )

The Grumpy Editor's guide to note-taking applications

Posted Feb 24, 2007 16:53 UTC (Sat) by roelofs (guest, #2599) [Link]

So these are very-short-term scribbles that aren't meant to survive a reboot?

No, they're both short- and long-term. The short-term ones I delete after I'm done with them; the long-term ones accumulate. /tmp doesn't get wiped on my systems; that's an optional setting, and one I don't need.

Greg

The Grumpy Editor's guide to note-taking applications

Posted Feb 25, 2007 22:10 UTC (Sun) by nix (subscriber, #2304) [Link]

Aha, that makes sense. I'd almost forgotten that systems could exist in
which /tmp was not a tmpfs... :)

The Grumpy Editor's guide to note-taking applications

Posted May 29, 2007 0:09 UTC (Tue) by tqk (guest, #29605) [Link]

> > You forgot about one of the simplest and easiest note-taking programs: cat!
>
> He did mention that he was restricting the field to graphical apps. It would be hard to argue that cat falls into that category (so to speak). ;-)

Port it to perl, and toss in perl::Tk? Here's what I use:

#!/usr/bin/perl
#
# ~/devl/perl/things.pl replaces ~/sh/things.sh; datestamps,
# separates, and pretty-prints entries.
#

use strict;
use warnings;

my $outfile = qq($ENV{HOME}/dox/things_to_remember.html);
my $now;
chomp( $now = qx(date) );

open( THINGS, ">> $outfile" ) ||
die qq($0: could not open $outfile for append: $!);

print THINGS q( <li> ) . $now . q(<br>) . "\n";
print THINGS q( <pre>) . "\n";

while( <STDIN> ) {
s/\</&lt;/g;
s/\>/&gt;/g;
print THINGS;
}

print THINGS q( </pre>) . "\n\n";
close( THINGS );

__END__

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds