The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Smircer, Clone of the Little Tcl IRC Client

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Smircer, Clone of the Little Tcl IRC Client Posted: Mar 8, 2006 6:12 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Smircer, Clone of the Little Tcl IRC Client
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement
I saw the link floating around for the IRC client written in 38 lines of Tcl and I just wondered. Obfuscation is so lackluster this season, so here’s a clone in nice, clean 70-something lines instead. The code is here: smircer.rb. It uses the FOX bindings by Lyle Johnson. It’s a great library, but I couldn’t figgr how to italicize only portions of the blamin text. The Tcl example is much more interesting than this one, though, because Tk fits Tcl so well. Ours will be much better once:
 class SmIrcer < FXMainWindow
   dimensions 600, 400
   add_vertical_frame :layout => :fill do
     add_text :text => [:readonly, :wordwrap], :layout => :fill
     add_text_field :frame => [:sunken, :thick], :layout => :fill_x
   end
 end

Read: Smircer, Clone of the Little Tcl IRC Client

Topic: ZenTest 3.0.0 released Previous Topic   Next Topic Topic: Capistrano 1.1

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use