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 Tue 21 Apr 2015, 17:08
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 Posts_count  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 793

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  227 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7902
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_website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2395
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: 793

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_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 MSNM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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