Find the answer to your Linux question:
Results 1 to 8 of 8
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Programming a shell script messaging programme


    Hello people,
    I would like to make a simple messaging programme that allows to send messages over the network from one computer to another. It should have functionalities like sending messages to certain groups and single users and it would also be nice to save the messages locally in some file. Is that possible?

    Is there anywhere a good example to get started? Thanks.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    4,034
    You may want to dig out the source code for the 'write' terminal command which does most of what you want already.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Many thanks! That's a good hint to get started

  4. $spacer_open
    $spacer_close
  5. #4
    Is this task also possible without "write"-, "talk"- or "message"-command?

  6. #5
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,645
    Yes, pidgin has a console brother called finch.
    Install finch and you can use about any IM protocol out there.

    However, for learning purposes the write sourcode is probably easier to understand.
    You must always face the curtain with a bow.

  7. #6
    I want to implement a shell script solution (without write, talk and message) and not use a programme that already exists.

  8. #7
    Quote Originally Posted by pinhead View Post
    I want to implement a shell script solution (without write, talk and message) and not use a programme that already exists.
    Program*

    A programme is like a listing of events or a timetable.

  9. #8
    Thanks. Does anyone know which commands aside from write, talk and message could be used to build a messaging program? Could netcat be an option?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •