Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 10:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
pmirc - CLI irc client
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 783

PostPosted: Sun 31 Jul 2011, 15:03    Post subject:  pmirc - CLI irc client  

I wanted to make an irc client with some initial user choices (server, nickname), some formating of output and working with busybox applets only...still some fine tuning of the formating could be done...
Creates a log in /root/.pmlirc directory
# main irc function from:
# http://lists.canonical.org/pipermail/kragen-hacks/2008-February/000480.html
# other bits from:
# http://www.murga-linux.com/puppy/viewtopic.php?p=486385#486385
# https://github.com/pabloPXL/irc.sh
# https://github.com/halhen/shic
# works with telnet and nc (netcat) - change 1 line down in script

Use the normal irc commands after start ex.: "/join #puppylinux", "/quit"
pmirc310711.tar.gz
Description  pmirc is a CLI irc client
gz

 Download 
Filename  pmirc310711.tar.gz 
Filesize  2.35 KB 
Downloaded  211 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Mon 01 Aug 2011, 00:52    Post subject:  

What a little gem!

Here's part of my log just to confirm it works.
Quote:
:pupngo_user_915 MODE pupngo_user_915 :+i

:pupngo_user_915!~pmirc@115-64-206-145.tpgi.com.au JOIN :#puppylinux

:adams.freenode.net 332 pupngo_user_915 #puppylinux :Puppy Linux support chat | Latest official Puppy: Lucid 5.2.5 http://alturl.com/idc4q | Wary 5.1.2 http://alturl.com/hewq8 | PLEASE ask your question and wait PATIENTLY for a response. | Or search for an answer at http://tinyurl.com/34f4lq

:adams.freenode.net 333 pupngo_user_915 #puppylinux J_Rey!~J_Rey@JRey-1-pt.tunnel.tserv13.ash1.ipv6.he.net 1306341663

:adams.freenode.net 353 pupngo_user_915 = #puppylinux :pupngo_user_915 FrogLeader puppeee-user jayne J_Rey genera kidkat dejan555 Mirpupdesktop RoxFox64 azstew robsbots_lappy PupUser94bb33 P4R4N01D Tapionp autr sickgut sta19 mama21mama chum_bucket Rupp Roin gnz11 JStoker dTal waabimiigwan ikonia tomaw Salamander ron_o Fudge Mitzi helen kloeri @ChanServ tty234 dropdrive PuppyLinux Mir FreeBSOD Drakevr

:adams.freenode.net 366 pupngo_user_915 #puppylinux :End of /NAMES list.

:ChanServ!ChanServ@services. NOTICE pupngo_user_915 :[#puppylinux] Welcome to #puppylinux. Read our rules & info about this chat at: http://puppylinux.org/wikka/IRC | Main Sites: puppylinux.com & puppylinux.org | Forum @ http://bit.ly/PupForum

:FrogLeader!~FrogLeade@c-98-232-200-70.hsd1.or.comcast.net PRIVMSG #puppylinux :Fan Problems on Acer 7720. Anyone want to take a shot?

:Tukeke!~Tukeke@unaffiliated/tukeke JOIN :#puppylinux

:chum_bucket!~Administr@host81-141-39-118.wlms-broadband.com PRIVMSG #puppylinux :its working

:FrogLeader!~FrogLeade@c-98-232-200-70.hsd1.or.comcast.net PRIVMSG #puppylinux :Any Dev's online here today?

:pupngo_user_915!~pmirc@115-64-206-145.tpgi.com.au QUIT :Client Quit

ERROR :Closing Link: 115-64-206-145.tpgi.com.au (Client Quit)

Connection closed by foreign host


My status aren't recorded it seems.

Note I used the telnet method and got the error at the bottom of the log, not quiting cleanly?
nc method seems the same. Let me know if you want the full logs.

One other little bug, I get mkdir error, directory exists at start (referring to the ~/.pmirc) ... seems "-d" instead of "-p" is needed? [line 159]

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2386
Location: UK

PostPosted: Mon 01 Aug 2011, 09:01    Post subject:  

I dont use IRC very much at all, but I tested this anyway...
Another little gem from goinguts, as Micko says! Smile

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 783

PostPosted: Mon 01 Aug 2011, 13:32    Post subject:  

01micko & sc0ttman: Thanks for testing!
01micko: Setting your status just type: "/away im busy" and to remove again type "/away" - if thats what you mean. If it is status in the log I haven't looked at that...
The ERROR at quiting I do not know how to remove...thought that its was a normal message from server when quiting. Anyone knows about this?

Other commands works the same way: try "/admin" or "/PRIVMSG nick message" to send a private "message" to user "nick".
A good reference for commands to try (not all recognized by all servers).
Back to top
View user's profile Send private message Visit poster's website 
banger0250


Joined: 12 Aug 2010
Posts: 44
Location: Rothwell,Brisbane,Qld,AU

PostPosted: Tue 30 Aug 2011, 20:02    Post subject:  

Yes i get the client has quit msg on abjects server with x-chat
_________________
Taking pup for a walk
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0591s ][ Queries: 12 (0.0092s) ][ GZIP on ]