Everything2
Near Matches
Ignore Exact
Full Text
Everything2

chatterbox client

created by N-Wing

(thing) by N-Wing (3.4 d) (print)   ?   1 C! Mon Feb 14 2000 at 7:14:36

This project by N-Wing is a Java applet that allows access to the chatterbox without having to constantly reload web pages. This is currently under development, although there is an alpha version available for testing at Java chatterbox. For those interested in making their own clients, chatterbox XML ticker contains the chatterbox messages. (warning - this is an XML file, so it will probably not look like much in your browser). Note: the current version only shows text from the "main" room.

things to do/bugs at
http://sourceforge.net/bugs/?group_id=4370
You can also add bugs you've found and/or any suggestions you may have there.

source is at
http://sourceforge.net/project/showfiles.php?group_id=4370

News: I am a lazy bum, and haven't updated this writeup for a while. Anyway, the version on E2 is "0.1.9.3 beta", the week AMTFB release.


Older news:

update, 2000.06.14.n3 - Yay! Version 0.1.7.2 is done and up at Java chatterbox, and it works for me in NS 4.08 and IE 5. A manual is at Java Chatterbox Manual.

Argh! It still doesn't work under NS, only now instead of not updating the messages, it won't get them at all. (actually, I fixed one problem, but that caused another problem due to a different reason) When I was tested it locally, NS popped up the security window, asking me if I wanted to allow network access. However, when loaded from E2, Java chatterbox, it just fails, without even asking. Anybody know why and/or how to get around that? I'm going nuts with it.

2000.05.16.n2 - version 0.1.6 is done, which should fix the problem with Netscape caching the chatterbox XML ticker page, which caused it not to updated. I solved this by writing a lower-level HTTP class, LowHTTP. It (the LowHTTP class) is ugly right now, but I think it works. As long as I don't have any more major bugs to fix, I'm going to start working on making a rich-text display, so links will work.

2000.04.16.n0 - FYI - I'm working on some back end stuff on version 0.1.5, so it will be easier to convert it into an application. I'm also going to put the prefs in another window, b/c they are cluttering up the main window.

2000.04.11.n2 @ 5:43 UTC - Version 0.1.4 is up at Java chatterbox, which should allow login on most browsers. (note: "most" means "IE" and "NS" and maybe others) Please report bugs/suggestions to the bug page of the "E2 Java Chatterbox Client" project on SourceForge at
http://sourceforge.net/bugs/?group_id=4370


(idea) by THEWeirdo (5.2 y) (print)   ?   Tue Mar 28 2000 at 23:00:13

I am writing a chatterbox client as well. The language it is written in is Delphi. So far, it can load the chatterbox XML ticker and parse it, though it does not yet parse links or /mes. I have yet to allow the user to actually say some thing, but, due to N-Wing's help, I should have that done soon.

I just had the following idea: to take some load off of Everything 2's server, how about some body putting up a server middle-man for chatterbox clients to connect to? What this middle-man would do is connect to E2 every ten seconds or so, get the chatterbox XML ticker, and PUSH the results to all connected chatterbox clients.


(thing) by eric+ (5.5 y) (print)   ?   1 C! Sun Jul 02 2000 at 22:39:26

Here's a short read-only chatterbox client in perl. It uses the perl chatterbox client module and Curses (barely).

Usage:
    e2chatterbox.pl [username] [password]


#!/usr/bin/perl -w

use strict;
use Curses;
use E2Chatterbox2;
use Text::Wrap;

my $cbox = new E2Chatterbox2;

if ( scalar( @ARGV ) >= 2 ) {
  $cbox->login( @ARGV[0,1] );
}
 
$SIG{INT} = sub { endwin(); exit; };

initscr();
noecho();
scrollok(1);

while (1) {
  my ( $chatter, $msg ) = $cbox->get_all();
  # clear();                               
  erase();  
            
  foreach my $line ( @$chatter ) {
    my ( $time, $speaker, $speech ) = @$line;
    $speech =~ s/\&/\&/g;
    $speech =~ s/\"/"/g;
    addstr( Text::Wrap::wrap("", "\t", 
      "[$time] $speaker: $speech\n") );
  }
     
  if ( scalar( @$msg ) ) {
    addstr( "----------------------- Messages -----------------------\n" );
    foreach my $line ( @$msg ) {
      my ( $time, $speaker, $speech, $id ) = @$line;
      $speech =~ s/\&/\&/g;
      $speech =~ s/\"/"/g;
      addstr( Text::Wrap::wrap("", "\t", 
        "[$time/$id] $speaker: $speech\n") );
    }
  }
     
     
  refresh();
  sleep( 15 );
}
 
endwin();


(idea) by Psychonaut (1.2 wk) (print)   ?   Wed Jul 25 2001 at 3:31:59

I will use this writeup to beg the following question: Why not a non-java chatterbox client that can be distributed as a binary or as source, so that it can run in a more optimized environment?

As of right now, I can't use the Java Chatterbox, as I'm at my girlfriend's apartment, on her roommate's iMac (with MacOS 8.6), and Netscape 4.5 pukes every time I even try to open the Java Chatterbox node.

If only there were a text client, compilable under *nix, I could telnet to a shell, compile the client, and use the chatterbox from there. Instead, I will have to use the chatterbox nodelet, which only refreshes when I load a page from e2.

Other advantages would include having binaries that are more optimized for the platform it is running on. There could also be features added to the independant client, such as making links that would open a web browser to the appropriate node, spell checking (and &Diety knows, when it comes to spelling, I am The Weakest Link), and who knows what else.


Since the writing, I've discovered #catbox on slashnet. Still, a seperate chatterbox client for the Windows platform would be nice. Actually, a client for multiple platforms including Windows would be nice.

I'd write it myself, but I'm no coder.


printable version
chaos

E2 Explorer Notelet Nodelet Squawkbox Client #catbox E2 Link and Logger Client
perl chatterbox client module Chatterbox Java Chatterbox Manual We must increase our bust!
E2 Java Chatterbox Client E2 Flash Chatterbox Client Psalm 69: The Way To Succeed and the Way to Suck Eggs E2 Mozilla Chatterbox Client
LowHTTP XML SlashNET Curses
development SourceForge Pop Will Eat Itself Integrated IRC/Everything Client
June 14, 2000 application incest keep it on the client side
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help


cooled by hoopy_frood

Cool Staff Picks
After stirring Everything, these nodes rose to the top:
Some of our best friends are three minutes long
brown recluse
mistletoe
E Train
Osama bin Laden
whiskey
The Baby-Sitters Club
Here lies one whose name was writ in water
Into the Woods
Girolamo Cardano
US Copyright for Recipes
jazz
Which 4-manifold do we live in?
New Writeups
cryforhelp
Major dictionaries of the world(review)
Glowing Fish
The Uncanny X-Men and the New Teen Titans(thing)
WolfKeeper
Launch loop(idea)
TendoKing
Katana(person)
Wuukiee
Highly ornamental cultivars of brambles still have as many thorns as their wild counterparts(idea)
TheDeadGuy
Editor Log: May 2008(log)
everyday j.Lo
pray do not molest them(thing)
ammie
Bands Who Take Their Names from Eighteenth-century English Poetry and Prose(idea)
shaogo
Under My Thumb(review)
ammie
Rock On(person)
The Custodian
The Dresden Files(thing)
Ouzo
PETA becomes you, a proposed future(fiction)
Ereneta
Stone Soup, Part Two(fiction)
jjen
Sorrier than I ever thought I would be(personal)
locke baron
Moskva class antisubmarine cruiser(thing)
This affordable entertainment brought to you by The Everything Development Company