Skip navigation
This discussion is archived

IRC in Terminal

17670 Views 10 Replies Latest reply: Jul 18, 2008 2:01 PM by osayifromcupertino RSS
osayifromcupertino Level 1 Level 1 (15 points)
Currently Being Moderated
Jul 11, 2008 5:42 AM
How can I get on IRC using Terminal?
MacBook, Mac OS X (10.5.4), 2.2 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM
  • red_menace Level 6 Level 6 (14,275 points)
    Currently Being Moderated
    Jul 11, 2008 1:40 PM (in response to osayifromcupertino)
    You will need to run an IRC client application. Whether that application uses the Terminal or not (most don't) is up to the developer. You can start by checking out this list.
    MacBook Pro, Mac OS X (10.5.4), /  G4 Digital Audio, G4 mini [Tiger 10.4.11]  /  G3 MiniTower [OS 9.2]
  • Dunolie Level 1 Level 1 (15 points)
    Currently Being Moderated
    Jul 11, 2008 4:23 PM (in response to osayifromcupertino)
    I would recommend irssi as a good irc client. Although you need to have the xcode installed to compile it. Another way to compile it is with macports (which is handy anyway if you do a lot of CLI stuff). Make sure you complile with the perl bindings so you can use the scripts for irssi later on.
    MacMini, iBook , B&W, +more old macs, Mac OS X (10.5.4), Leopard , Tiger & Panther
  • red_menace Level 6 Level 6 (14,275 points)
    Currently Being Moderated
    Jul 12, 2008 11:56 AM (in response to osayifromcupertino)
    The Terminal isn't some kind of magical "kitchen sink" application. It allows access to the system's Command Line Interface, and can also emulate a dumb terminal - you need something a bit smarter for IRC, such as a client application.
    MacBook Pro, Mac OS X (10.5.4), /  G4 Digital Audio, G4 mini [Tiger 10.4.11]  /  G3 MiniTower [OS 9.2]
  • Bill Scott Level 6 Level 6 (11,445 points)
    Currently Being Moderated
    Jul 12, 2008 2:05 PM (in response to osayifromcupertino)
    just use the unix "talk" command



    TALK(1) BSD General Commands Manual TALK(1)

    NAME
    talk -- talk to another user

    SYNOPSIS
    talk person [ttyname]

    DESCRIPTION
    The talk utility is a visual communication program which copies lines from your terminal to that of
    another user.

    Options available:

    person If you wish to talk to someone on your own machine, then person is just the person's login
    name. If you wish to talk to a user on another host, then person is of the form `user@host'
    or `host!user' or `host:user'.

    ttyname If you wish to talk to a user who is logged in more than once, the ttyname argument may be
    used to indicate the appropriate terminal name, where ttyname is of the form `ttyXX'.

    When first called, talk sends the message
    Message from TalkDaemon@his_machine...
    talk: connection requested by yourname@yourmachine.
    talk: respond with: talk yourname@yourmachine

    to the user you wish to talk to. At this point, the recipient of the message should reply by typing

    talk yourname@yourmachine

    It does not matter from which machine the recipient replies, as long as his login-name is the same.
    Once communication is established, the two parties may type simultaneously, with their output appearing
    in separate windows. Typing control-L `^L' will cause the screen to be reprinted. Typing control-D
    `^D' will clear both parts of your screen to be cleared, while the control-D character will be sent to
    the remote side (and just displayed by this talk client). Your erase, kill, and word kill characters
    will behave normally. To exit, just type your interrupt character; talk then moves the cursor to the
    bottom of the screen and restores the terminal to its previous state.

    Permission to talk may be denied or granted by use of the mesg(1) command. At the outset talking is
    allowed.

    FILES
    /etc/hosts to find the recipient's machine
    /var/run/utmpx to find the recipient's tty

    SEE ALSO
    mail(1), mesg(1), wall(1), who(1), write(1), talkd(8)

    HISTORY
    The talk command appeared in 4.2BSD.

    In FreeBSD 5.3, the default behaviour of talk was changed to treat local-to-local talk requests as
    originating and terminating at localhost. Before this change, it was required that the hostname (as
    per gethostname(3)) resolved to a valid IPv4 address (via gethostbyname(3)), making talk unsuitable for
    use in configurations where talkd(8) was bound to the loopback interface (normally for security rea-
    sons).

    BUGS
    The version of talk released with 4.3BSD uses a protocol that is incompatible with the protocol used in
    the version released with 4.2BSD.

    Multibyte characters are not recognized.

    BSD July 3, 2004 BSD
    G5 2x2.5 GHZ and a few others, Mac OS X (10.5.4)
  • Dunolie Level 1 Level 1 (15 points)
    Currently Being Moderated
    Jul 12, 2008 5:47 PM (in response to osayifromcupertino)
    If you plan to use the terminal a lot then learning how to install stuff will be a bonus. You may just want to stick to a GUI application like Colloquy or MacIrssi 0.8.2. Both are free and worth a try .. I would argue that you can do a lot with the terminal as it is an opening to a lot of powerful tools. Vim text editor and Irssi are such tools.

    If you wish at some point to try the a Terminal irc client I would suggest going to #irssi on irc.freenode.net and asking some questions. there are 200+ users there who can give you a lot of info.

    here is a screenshot of my irssi in terminal.app

    http://img241.imageshack.us/img241/5907/irssisv1.jpg

    hope this helps.

    Message was edited by: Dunolie
    MacMini, iBook , B&W, +more old macs, Mac OS X (10.5.2), Leopard , Tiger & Panther
  • Dunolie Level 1 Level 1 (15 points)
    Currently Being Moderated
    Jul 13, 2008 11:38 AM (in response to osayifromcupertino)
    irc.freenode.net is a irc network (irc.* for irc protocol, like http.* is the prefix for website addresses.) I sugguest you use colloquy to start with .. you can get it here http://colloquy.info/index.html
    and then use that to connect to the freenode network (irc.freenode.net) and then join the #irssi channel (it is the easiest way to get started on irc with a mac). you may find it easier to stick with a gui in the long run. Good luck . If you need any more help you can chat to me via ichat ( robbiedunolie via aim/.mac or dunolie@gmail.com via jabber).

    Message was edited by: Dunolie
    MacMini, iBook , B&W, +more old macs, Mac OS X (10.5.2), Leopard , Tiger & Panther
  • felideon Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 18, 2008 12:50 PM (in response to osayifromcupertino)
    You can use ERC (Emacs IRC). In terminal, type emacs to open up Emacs. In emacs, the command to open ERC is M-x erc RET which means "Hit ESC, then the letter X, then Return". From there the default seems to be Freenode, so hit enter a few times (maybe change your alias when prompted).

    Once logged on you just use the standard IRC commands to join channels, etc.
    iMac 6.1, Mac OS X (10.5.4)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.