# HG changeset patch # User Matti Hamalainen # Date 1482166887 -7200 # Node ID 650e7a5c74c54004940708f2da31c0207bd41824 # Parent 358cdc4c91782f459e6dc41590f17a0f301ab967 Add homepage and adjust Makefiles. diff -r 358cdc4c9178 -r 650e7a5c74c5 Makefile.gen --- a/Makefile.gen Wed Mar 09 16:13:55 2016 +0200 +++ b/Makefile.gen Mon Dec 19 19:01:27 2016 +0200 @@ -41,8 +41,6 @@ # Documentation # $(DOC): - @wget -qO- http://www.tnsp.org/~ccr/nnchat/ | tr '\n' '§' | \ - sed "s/<.-- BEGIN -->.*<.-- END -->//g;s///g" | tr '§' '\n' > "$@.tmp" + @cat doc/index.html | tr '\n' '§' | sed "s/<.-- BEGIN -->.*<.-- END -->//g;s///g" | tr '§' '\n' > "$@.tmp" @links -dump "$@.tmp" > $@ - diff -r 358cdc4c9178 -r 650e7a5c74c5 Makefile.w32 --- a/Makefile.w32 Wed Mar 09 16:13:55 2016 +0200 +++ b/Makefile.w32 Mon Dec 19 19:01:27 2016 +0200 @@ -33,7 +33,3 @@ resource.o: resource.rc $(WINDRES) $< -O coff -o $@ - -upload: $(BINPATH)/nncsetup.msi $(DOC) - @scp $< ccr@tnsp.org:public_html/nnchat/nncsetup-$(NN_VERSION).msi - @touch $@ diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/COPYING --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/COPYING Mon Dec 19 19:01:27 2016 +0200 @@ -0,0 +1,12 @@ + DO WHAT EVER THE FUCK YOU WANT TO PUBLIC LICENSE + Version 1, March 2008 + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT EVER THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT EVER THE FUCK YOU WANT TO. + diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/index.html Mon Dec 19 19:01:27 2016 +0200 @@ -0,0 +1,163 @@ + + + + + + NNChat client + + + +
+
+ +
+Distributed under DWETFYWTPL (Do What Ever The Fuck You Want +To Public License), see file COPYING for more information. +NOTICE! There is NO guarantee or warranty of ANY KIND, nor guarantee of +applicability. This software is provided freely and free of charge, and +as a unofficial 3rd-party development it may or may not remain compatible +with the NN chat protocol. +
+ +

About

+

+A simple NCurses-based client compatible with NewbieNudes.com chatroom +protocol. There is a basic line-editing interface with some bells and +whistles, such as a input history, logging to file, ignore lists, +persistent configuration, etc. +

+

+The original Flash-based chat client can be accessed through NN website. +

+ + + + +
+ + +

Download

+

+Currently only Windows version is distributed, although the software is +mainly developed and used under Linux and other UNIX-style platforms. +Windows binaries are compiled with 32-bit MinGW and MSI installer created +with Freeware version of Caphyon's Advanced Installer. +

+ + + + + + + + + + +
Download Windows installer + for NNChat v1.3.632-bit and 64-bit Windows XP, Vista or Win7.
Sourcecode tar.gz for NNChat v1.5.2For generic UNIX, Linux, *BSD. Requires GNU Make, GCC 4.x + binutils and NCurses.
+ +

Installation on Windows

+
    +
  1. Run the installer provided above.
  2. +
  3. Two (2) new icons should appear on desktop (and under Start - Programs - + NNChat), one for each of NN's chatrooms respectively.
  4. +
  5. Click one of them, enter your username and password.
  6. +
  7. See keyboard / command instructions below.
  8. +
+ + + +

Usage

+

Keys

+ + + + + + + + + + + + + + + + + + + + + +
left/right arrowMove cursor in the current edit buffer.
home/endMove cursor to beginning or the end of the current edit buffer.
arrow up/down Browse input history.
ctrl+left/right arrow Skip cursor through words.
ins Toggle between insert and overwrite modes.
del Delete one character at cursor position.
backspace Delete one character left to the cursor position.
tab(ulator) Try to complete a command or username. For example "an<tab>" + would check the userlist for usernames beginning with + "an" and replace this with the first match. Subsequent + tab-keypresses will "cycle" around other matches. + Commands must start with "/".
F2 Clear current edit buffer.
F5 Toggle ignore mode on/off.
F6 Toggle "only friends allowed to PRV you" mode on/off.
ESC+[1..9] Switch between sub-windows / buffers. 1 is the main room, 2..9 are PRV buffers.
Alt+[1..9] Same as ESC+[1..9]
ctrl+L Refresh/redraw screen.
+ +

Commands

+

+In addition to normal NN commands (such as /prvon, /prvoff, etc.) NNChat +supports following list of internal commands. +

+

+Remember that ALL these commands can be autocompleted via Tab key! +For example, just type /c<tab> and it will be expaned to /close. +Hit Tab second time and it will "cycle" to /color, etc. +

+ + + + + + + + + + + + + + + + + + + + + + + + +
/w <user>
+/profile <user>
Open profile of given username +via system default web browser.
/ignore [user] Toggle user to/from ignore. "/ignore" without specified + username will list users currently on the ignore list. + When ignore mode is ENABLED (via function key F5), + no messages or actions from users on the list will be + displayed. However, they will go into log file, if + logging is active.
/friend [user] Add or remove user to/from friend list. "/friend" without specified + username will list users currently on the friends list. + Names on the friends list will be highlighted differently + and cannot be placed on ignore.
/color <color> Changes your current user color visible to OTHER people + using the regular NN chat. Of course, this does not + affect this client in any way, as user colors are + ignored. Color must be specified as a hexadecimal value, + for example 006080.
/save Save current configuration (username, password, color, etc.) + Notice that this may be a risk, if your computer + has several users as just starting the client will + automatically log into the chat with your username and + password!
/namesLists all users on the chat currently.
/listAlias for NN server-side command /listallusers
/query <user>Start a PRV chat ("query") with the specified user.
/close [user]Close the specified PRV buffer / window or if no argument given ("/close"), then just close the current "window".
/win [number]Switch to given window, or show information about current "window".
/quitQuit the chat.
+ +

+Enjoy! -- Anonymous Finnish Guy +

+
+ + diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/logo.png Binary file doc/logo.png has changed diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/readme.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/readme.css Mon Dec 19 19:01:27 2016 +0200 @@ -0,0 +1,83 @@ +body { + margin: 1em; + background-color: #604; + color: #ddd; + text-shadow: 1px 1px 1px #000; +} + + +body, p, ul, td, th { + font-family: Verdana, Arial, helvetica, sans-serif; + font-size: 10pt; +} + + +a, a:visited, a:active { + text-decoration: underline; + color: #fc0; +} + +a:hover { + text-decoration: none; + background-color: black; + color: white; +} + + +.icenter { + text-align: center; +} + +.noborder { + border: none; + padding: 0pt; +} + + +h1, h2, h3 { + font-family: Arial, sans-serif; + font-weight: normal; + color: #efe; + background: rgba(200,200,200,0.1); + padding: 4pt; + padding-bottom: 8px; + box-shadow: 0px 0px 6px rgba(0,0,0,0.7); + -moz-border-radius: 5pt; + border-radius: 5pt; +} + + + +th { + padding: 2px; + margin: 2px; + background: #705; + color: #fc0; + text-align: center; +} + +td { + padding: 4px; + margin: 2px; +} + +td > a, td > a:visited, td > a:active { + text-decoration: none; +} + +td > a:hover { + background: black; + color: white; + text-decoration: none; +} + +#header { + text-align: center; +} + +#license { + border: 1px solid rgba(255,255,255,0.3); + margin: 1em; + padding: 1em; + box-shadow: 0px 0px 6px rgba(0,0,0,0.7); +} diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/shot_unix1.png Binary file doc/shot_unix1.png has changed diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/shot_windows1.png Binary file doc/shot_windows1.png has changed diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/sm_shot_unix1.png Binary file doc/sm_shot_unix1.png has changed diff -r 358cdc4c9178 -r 650e7a5c74c5 doc/sm_shot_windows1.png Binary file doc/sm_shot_windows1.png has changed