LAIM docs (^_^)
email: Jae Jang <akubi@stones.com>
email: Holland Rhodes <nak@d4.org>
Read!! READ!! Please READ!!
----------------------------------

Compiling and installing:

    I recommend before you compile that you edit include/options.h
    you can change a few things to make the program more to your
    liking. However, it's not neccasary.

    ./configure
    make
	
    You will find the executable in ./claim that contains debugging
    information. To reduce it's size, run strip claim from ./claim
    After testing it out, you can install claim by running:

    make install
    or (recommended):
    make install-strip

    Read INSTALL for further info


Important: 
  I made some byte order assumptions so the program will NOT work 
  correctly on machines using motorola etc. I've marked the sections
  throughout the source code with "intel" so do  grep intel *.cc and
  move around the byte patterns. (Jae Jang)

  This WILL be corrected... (in laim, but not nak's laim). I don't
  have any big endien machines lying around so I can't at the moment.
  (Jae Jang)
			
Configuration:
  For now you will need to have a file in your homedir called
  .aim/Info.sig. I will change it in a later version to create this
  file for you and change the info within the program. You do *not*
  need AIM.cfg. The file name is now called buddy.list and the program
  will run without it. Simply use 'a' within the program to start adding
  people to your buddy list :)

  If the screen name you are adding has spaces in it, replace the spaces
  with +, do not use quotes.

Running it:
  After you've created .aim/Info.sig, and finished compiling, you can
  run the frontend that's located in the claim directory, or if you did
  make install, you can just run it from anywhere.

  Also, you should make sure your TERM environment variable is set to
  the correct setting. For example, on a linux console TERM=linux,
  in xterm TERM=xterm (no color), others: TERM=vt220 (no color),
  TERM=ansi Some xterms support color. (e.g. rvxt uses TERM=kterm)
		
  Since 1.2, you can _receive_ IMs from people not on your buddy list.
  They get marked as being online and never go away. They don't get added
  to your buddy.list file. You can *not* use 'a' to add them... this will
  be fixed in a later version.


Comamnds:
  keys in nak laim:
  space - sends an IM
  r - sends an IM to the last person who IM'd you
  i - gets a little bit of info on a person
  s - searches for screen names by email address
  a - add someone to your buddy.list file
  esc - quits nak laim (you wouldn't want to do this though ;)
  h - displays basic help information

Features and other stuff:
  laim is a library of functions written by Jae Jang <akubi@stones.com>
  to interact with AOL's oscar protocol and IM service. claim is a console
  based program to make use of the library. nak laim is a modification of
  the laim library and the claim program.

  Not many changes were made to the library, mostly changes to support
  features added to claim, or to fix bugs.

  The bugs fixed in laim are only that it won't crash when someone chat
  requests you. Other bugs were added I think and if you email me with
  any problems you have I will try to fix them. Most other changes are
  just the text output.

  The claim code was heavily modified by nak. While the fundamental parts
  of it weren't changed, the interface was, and many features added. The
  following is hopefully a complete list of changes made:

  1. the help information is now displayed in a 'pop-up window'. Hit any
     key to close it.
  2. main() was broken into a couple functions. One function to setup the
     initial display, one to get login information, and the big-loop is
     still in main().
  3. Modified the layout of the windows a little bit. Also fixed the way
     color fills them in.
  4. For some reason my dev kernel makes my console use a latin1 char set
     by default. The program now sets the console to ibm-pc char set.
  5. Display version information, and options on start (mostly for my own
     debugging).
  6. The login now happens before ncurses is initialized. Also, it doesn't
     think you got in OK if you put a null screen name.
  7. Replying to msgs hasn't changed at all. Sending msgs didn't change
     either. Only the way they display, now it looks more "clean".
  8. Use 'i' to get info on a person (thier profile). Only the key changed.
  9. Use 's' to search for people. Only the key changed.
 10. Use 'h' to display a list of keys. Now it's not displayed in the main
     window but rather in a pop-up type window you can get rid of by hitting
     any key you like.
 11. Use 'a' to add people to your buddy.list file and keep track of their
     movement. This feature is NEW and only in nak's laim. The original claim
     you'd have to edit your AIM.cfg then close and restart claim.
 12. Recieved and sent msgs get displayed "cleaner". Just a visual change.
 13. When people sign on or off it is time stamped. Leave yourself connected
     24/7 and make reports of your friend's time online ;)
 14. You can change the program to beep or not beep for sign on/off and
     when an IM is recieved.
 15. The whole contact list has a nicer look, I think Jae Jang might be
     color blind.
 16. The outputting of stuff to the main window is updated to allow logging
     You can enable this in options.h, the file written is ~/.aim/claim.log
 17. HTML parsing is more watered down, and a seperate function. You can also
     insert < and > and & by just typing them. If you want to send a tag use
     ctrl+a for < and ctrl+b for >.
 18. Word wrapping is NEW for nak laim. No more words getting cut off in
     the middle. Also, the subsequent lines can be indented. Look at
     options.h to change how many spaces to indent, or 0 for no indenting.
 19. Other things may have been added or changed. Just use the program and
     if you find anything that isn't documented here let me know. Also, if
     there is some bug or feature you'd like to see added please let me
     know.
 20. Changed how screen names with spaces are handled. Now you replace the
     space with a "+". Do not put the screen name (nor +) in quotes.

  *** Holland Rhodes <nak@d4.org> ***
  the rest of this document is by Jae Jang, author of laim and the original
  creator of claim.

---------------------------------------------------------------------------
copying policy (I basically cut and pasted this out of the GPL license):
read the text file COPYING for more detailed info (GPL license)

    LAIM/cLAIM
    Copyright (C) 1998 Jae Jang <akubi@stones.com>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

	LAIM is *obviously* not affiliated with AOL in any way.
	
-------------------------------------------------------------- doc ends here
Hey, if you are interested in the AIM protocol, check out Adam Fritzler's
AIM protocol page at http://delphid.ml.org/faim/protocol/
-------------------------------------------------------------- 

P.S.: (optional reading)
-----
This is my first linux/socket program after coming from the Win95 world.
Although I've programmed in C for some time, this is my first C++ 
program and an attempt at OOP. If you are a C++ programmer you
might notice that I am using objects in an incorrect way... 
One of the reasons I started this is to get prepared for the Computer
science course I'm taking in school starting in September, so tell
me what I'm doing wrong and how I can use C++ optimally.

LAIM began as an acronym for Lame AIM. You can call
it whatever you like but I think I'll stick to the recursive:
	LAIM's An Instant Messenjer
(hmm... I don't wanna violate the trademark...)
^_^/~ ok, enough babbling... enjoy!
