Home

SCLJ Perl Client's Journal

Recent Entries

You are viewing the most recent 25 entries.

13th May 2006

sapphirecat11:04am: 3.3 patch

There's a patch available at www.sapphirepaw.org/sclj/sclj-3.2-3.3.diff for sclj 3.3. I have no plans to roll a tarball.

Due to the Sponsored+ betrayal, I will no longer be working on sclj, or purchasing or renewing any paid services.

10th March 2006

dennisthetiger9:55am: Not a sclj3 datafile?

When I just type "ac" at the sclj prompt, I am told that '~/.sclj3/accounts' does not look like a sclj3 data file. Looking at it directly, however, it shows that it's a directory containing three data files.

Is something wrong?

Note, using sclj 3.2.

23rd June 2005

dennisthetiger3:45pm: sclj as a debian package?

I'm thinking of setting up and maintaining sclj as a Debian package. Any thoughts on this?

22nd March 2004

sapphirecat6:23pm: 3.2 released

This discussion in [info]lj_clients brought to my attention the fact that challenge/response authentication is available for clients. While implementing it, I also implemented another feature I've been meaning to include for a while but never remembered to: smarter handling of the editor setting. It's now split on words, with double-quotes parsed, so things like '"/special path/emacs" -nw' would work.

Now available through SourceForge.

13th March 2004

sapphirecat11:24am: sclj 3.1 has hit the servers!

Get it through the usual channels.

I have brazenly not tested the packaging for this release. If there are problems, please let me know.

Changes:

  • Just plain better "music detect" support: doesn't clobber the field if detection fails, gives sensible error messages, and doesn't fight with trying to clear the field.
  • New "screen" command corresponding to the new LJ feature of setting screening policy per-entry (as mentioned in Feb. status report)
  • Text::Textile support thanks to [info]willco
  • Fix "Subject truncated" and similar messages to appear when the illegal value is entered, not when it's replaced
  • Document GNU make dependency thanks to [info]zop

Recovery mode and Term::ReadLine support regrettably didn't make it.

Current Mood: happy

27th February 2004

sapphirecat10:46pm: Minor comment policy change

Anonymous posting in this community is now screened. Anyone who really wants porno blogspam will have to find it through a different channel. :-P

19th January 2004

willco10:07pm: Textile in SCLJ
First off, I'd like to thank the Saphire Cat for SCLJ. I love having a command-line LJ client!

That said, I've become addicted to Movable Type's Textile Plug-in. I installed Text::Textile, and updated SCLJ 3.0.2 to allow for a Textile mode. See Dean Allen's demo page to see why it's useful.

The changes required are minimal. Here are the diffs:

sclj:
41c41,45
<       $has_D_MD5 = $has_P_T = $has_T_RK = 0;
---
>       $has_Textile = $has_D_MD5 = $has_P_T = $has_T_RK = 0;
>       if(eval "require Text::Textile") {
>               eval "use Text::Textile qw(textile)";
>               $has_Textile = 1;
>       }
820a825,826
>       } elsif($post->{'format'} eq 't' && $SCLJ::has_Textile) {
>               print "using Textile to format text as HTML";
900c906
<               $$fieldref = $arg;
---
>               $fieldref = $arg;
1078c1084
<       if($arg =~ m/^([shp])/i) {
---
>       if($arg =~ m/^([shpt])/i) {
2413a2420,2424
>       } elsif($post->{"format"} eq 't' && $SCLJ::has_Textile) { # Textile
>               my $txtl = new Text::Textile;
>               $txtl->{line_open} = '';
>               $txtl->{line_close} = '';
>               $webvars{"event"} = $txtl->process(join("\n", @{$post->{"event"}}));


scljed:
1013,1014c1013
<                       "HTML only" => 'h',
<                       "Textile" => 't'
---
>                       "HTML only" => 'h'


Enjoy!

20th November 2003

sapphirecat10:29pm: CVS revived; 3.1 plans

CVS has arisen. This means I'll be working on sclj again, and it would be a good time to post feature requests or bug reports here or at SourceForge.

Current plans for 3.1:

  • Optional recovery mode to resurrect last post.
  • Implement Readline support.
  • Improve XMMS support (make native for better error messages).
  • Document that GNU Make is required, or split into GNUmakefile/Makefile, and credit [info]zop for pointing it out.
  • Check to see if selection by item name in scljed's menus is actually documented.
  • Investigate the "Warning: subject truncated" message I got once when replacing one ~80 char subject with another.

3rd October 2003

sapphirecat6:58pm: I have really made a mess of CVS.

Background information )

At this point, I probably can't find the problem without extensive interaction with the SourceForge staff. I don't really want to place that burden on them; as of the last time LiveJournal was keeping statistics, there are under 50 users of sclj. It's obviously not a popular project. There probably won't be a major cataclysm, complete with flamewars on Slashdot, if I ask SourceForge to reinitialize the CVS directory, then import the releases into it.

On the other hand, I have a decent amount of respect for the history that's been built up there. Therefore, I'm offering this opportunity to look over my copy of the repository, to see if anyone else can find what I cannot. It's posted at <http://thesapphirecat.iwarp.com/sclj-cvsroot-broken.tar.bz2> (95314 bytes.)

Current Mood: dejected

10th September 2003

sapphirecat11:22am: 3.0.2 released

The fix for metacharacters in 3.0.1 wasn't properly thought out, so it merely changed the character that triggered the bug from double-quotes to single-quotes. It's properly fixed now.

Downloads: SourceForge and my website. Diffs are available against 3.0 and 3.0.1.

9th September 2003

sapphirecat10:51pm: 3.0.1 released; CVS borked

First things first: release at SourceForge or my website. This is a bugfix release, to repair standard autoformatting and commands like 'su A $PHB said "Foo"' which generate an "EVAL FAILED" message.

CVS is broken, sorry. My client segfaulted while trying to tag for 3.0.1 and left a stale lockfile. Before I ask Sourceforge to fix it, I'm going to make sure my rearranging of the repository didn't screw anything up.

30th July 2003

sapphirecat9:59pm: 3.0 released

SourceForge download.

Changes in brief, from the 2.X series:

  • Command arguments: "su It was only a couple of flipper babies!"
  • Pervasive autocompletion: "jo moz" = journal mozilla, "mo ecs" = mood ecstatic
  • Multiple accounts: "ac test"
  • Saving entries: "sa ketchup", "op ketchup"
  • Music autodection: "mu d" = "mu detect" (requires Xmms module)
  • Autoformat replaced with Format
  • Listmoods replaced with List, to handle listing moods, (friend) groups, journals, and pictures
  • Support for overriding default entry values (suggestion of frew)
  • Major changes to command line options
  • rc-less mode, allowing traceless posting of saved entries from any Perl and LWP-equipped system
  • separate "scljed" program included to manage accounts, servers, and options
  • separate "scljconv" program included to convert old sclj files to the new file format

It's tagged as PUBLIC_3_0, but a checkout won't get the right permissions. Thus, it can't be used until it's installed unless scljed and xmmscurrent.sh are made executable. I'll fix that soon with the major CVS overhaul.

Current Mood: sleepy

18th July 2003

sapphirecat4:50pm: 3.0-BETA3 released

I'm leaving for a week, but email will wait for me. I still haven't heard from anyone whether everything works on Perl 5.005 or not, so if you have a FreeBSD 4.x system lying around, it is your duty to test it.

Download from SourceForge.

Major changes involve ripping out the 2.x-style interface, and some changes to accommodate that: proper ambiguous completion for friend groups, and replacing listmoods with list {moods|pictures|journals|groups}. Also, paths complete while opening/saving entries. The event command can now take an argument of a filename to load the event from.

3.0-final should be released on schedule (July 30), whether it supports music autodetection or not. All other features are frozen. As usual, patches are being accepted via SourceForge and loonxtall@hotmail.com. Remember that any mail that goes to my Hotmail account should have "sclj" in the subject to avoid being accidentally tossed out with the copious amount of spam.

CVS is currently a mess. Checking out PUBLIC_3_0_BETA3 is correct, but nothing else is. I'll try to fix that when I get back, if it's even possible. The problem is that I moved some files into new directories, but that means all the old versions are in there too.

Current Mood: exhausted

13th July 2003

gconnor11:06pm: download entries?
Quick question. Can SCLJ be used to download all your entries? I used to use export.bml for this before someone went and modified it so you have to be "logged in"... so my old script using wget doesn't work anymore. I want to be able to call it from the command line (or from cron, preferably) and get all entries to my local disk. You know, in case something funny happens at LJ Central.

3rd July 2003

sapphirecat8:48pm: Roadmap and Poll

Release schedule for 3.0 )

And the poll! )

Current Mood: pensive

30th June 2003

sapphirecat7:19pm: 3.0-BETA2 released

bz2 and gz from SourceForge or bz2 from my website. Or for cvs die-hards, it's PUBLIC_3_0_BETA2.

This release brings scljed, the account and options editor, into the fold. It also supports an rc-less mode to support loading and posting without leaving any crap behind. The rc-less support, along with changing the default to persist-mode, required major incompatible changes to the command line arguments. In particular, -p is proxy, -q is "quit-after-post" (the old non-persistent mode), and -c is just gone. It's no longer possible to avoid clobbering a file—names have 8 random characters in them so that multiple copies of sclj can use the same temporary dir. The best workaround is to save the whole post and open it later.

Also included in this release is support for ambiguous completion. All the documentation has been updated properly; I don't think I finished changing the man page for BETA1.

LATE-BREAKING NEWS: scljed has a 5.8-ism in the "use constant" syntax. Patch (also soon to be up on SourceForge)

17th June 2003

sapphirecat11:10pm: sclj 2.7 and 3.0-BETA1 released

Both posted to SourceForge and my website.

CVS info )

2.7 Changes )

3.0-BETA1 Changes )

As always, please let me know of any problems with anything sclj-related.

Current Mood: cheerful

16th June 2003

sapphirecat5:52pm: SCLJ 3.0 Status Update

I've been busier that the CVS commit counter on the project page claims, because Sourceforge has apparently had some technical difficulties updating it. Here is the state of the CVS:

  • All of the commands are implemented now, including saving posts and login information.
  • Many things can autocomplete: commands, moods, journals, security, friend groups, accounts, and userpics. Things like 'se f', 'jo moz', 'li s', and 'he fo' all work. However, ambiguous completion is unfinished.
  • The '?' command has been removed, because it didn't really depend on the client. The information from "?html" has been moved into Documentation, along with documentation (lifted from the FAQ and Poll Creator) on creating polls.
  • There is a framework for calling __MusicAutoDetect when (something completing to) 'detect' is entered for music. ([info]frew: if I dropped your patch by mistake, please re-send it.)
  • I will be making a 2.7 very soon, so that it can handle the protocol maximum of 30 friend groups, instead of the 14 it's currently limited to due to an erroneous bitmask. It will branch from PUBLIC_2_6_1 and be tagged PUBLIC_2_7 on release. Due to the nature of CVS, the version number will be pulled from the filename at this point for 2.x as well.
  • I would like to make a beta release of 3.0 as soon as the changes to the UI from 2.x are documented. (Notably, custom security and friend group names containing spaces don't work together well; only selecting them from the menu is guaranteed to work.) The tag will be BETA_3_0.
Another thing to note is that I don't know my way around SourceForge very well. If anything fails that shouldn't, please let me know.

The CVS repository is at :pserver:anonymous@cvs.sourceforge.net:/cvsroot/sclj; there is no password—simply hit Enter when prompted.

Current Mood: excited

2nd June 2003

sapphirecat5:37pm: Now available on SourceForge...

<sclj.sourceforge.net>

The 2.6.1 release was uploaded to SourceForge's system. It has also been put into CVS with the tag of PUBLIC_2_6_1, and the CVS HEAD is at the current 3.0 alpha release. (Assuming I understood everything about CVS.) I don't understand branching and merging very well yet, so my plan is to create a 2.x maintenance branch once something needs to be done to it.

Current Mood: happy

23rd May 2003

sapphirecat11:50am: Fun sclj poll!

Making it easy for your voice to be heard!

Poll #137779 SCLJ development quiz
Open to: All, detailed results viewable to: Friends, participants: 7

Would support for multiple accounts and servers be useful to you?

Yes
4 (57.1%)

Maybe later
1 (14.3%)

No
2 (28.6%)

Would CVS access encourage you to become active in development?

Yes
2 (28.6%)

Maybe
3 (42.9%)

No
1 (14.3%)

What's CVS?
1 (14.3%)

What's a good public CVS server?

What's the URL of a good CVS tutorial?

sapphirecat11:20am: Another 3.0 alpha

I spent some more quality time with the code. Mood autocompletion required a minor change to the files in dotdir, so that the hash getting filled with moods actually had something pointing to it. Bugs in boolean options (undefined subroutine call) and formatting (when shown with the values command) also fixed.

The obligatory download URL: <thesapphirecat.iwarp.com/present/program/dl/sclj-dev-20030523.tar.gz>

17th May 2003

sapphirecat5:03pm: New alpha release of 3.0

New development version posted: <thesapphirecat.iwarp.com/present/program/dl/sclj-dev-20030517.tar.gz>

Improvements over the last version: it actually logs in, allows for editing the event, and posts. It also allows for post defaults to be overridden, at the suggestion of [info]frew.

I'm thinking of removing the "reset" command, which was added to the 2.x series because it was easy. If anyone would like it kept, speak up. Thanks.

23rd April 2003

sapphirecat12:14am: SCLJ 2.6.1 Released

Available as a full tarball or simple diff. This version simply moves the event file to event.html so that editors can syntax highlight it.

22nd April 2003

vulpine1371:22am: Newbie sclj question
Hello sclj users, got a newbieish question. Is there a way to force sclj to change the name of the 'event' file in .livejournal. I'd like to use my vim colorizations for HTML, but I can't get vim to recognize 'event' as a html file ? I tried looking though the source code, and promptly got lost (my perl skills are less than useful).

Btw SapphireCat, thanks for a cool way to use LJ for us command line fans.

Vulpine
Current Mood: geeky
Current Music: Slayer - Hell Awaits

20th April 2003

sapphirecat1:05pm: Another development release

I spent the morning cleaning up the code a bit; it's at <http://thesapphirecat.iwarp.com/present/program/dl/sclj-dev-20030420b.tar.gz>.

It desperately needs file loading and saving. Logging in and posting don't work because there is no support for the new directory format that doesn't yet exist in detail. Any takers?

This tarball adds "sample_rc", which is a sample rc file intended to be read by the current code. It's essentially there to shut sclj up and let it load so that everyone can play with the new UI.

Speaking of the UI, I've kept everything but "?html" backwards-compatible. I think.

Go forth and test. Patches are accepted via email (loonxtall@hotmail.com); please include "sclj" in the subject to ensure it doesn't get deleted with the spam.

Powered by LiveJournal.com

Advertisement