Results 1 to 8 of 8
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-08-2012 #1Just Joined!
- Join Date
- Oct 2012
- Posts
- 29
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.
- 10-08-2012 #2
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/
- 10-08-2012 #3Just Joined!
- Join Date
- Oct 2012
- Posts
- 29
Many thanks! That's a good hint to get started
- 10-14-2012 #4Just Joined!
- Join Date
- Oct 2012
- Posts
- 29
Is this task also possible without "write"-, "talk"- or "message"-command?
- 10-14-2012 #5
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.
- 10-14-2012 #6Just Joined!
- Join Date
- Oct 2012
- Posts
- 29
I want to implement a shell script solution (without write, talk and message) and not use a programme that already exists.
- 10-14-2012 #7Just Joined!
- Join Date
- May 2012
- Posts
- 43
- 10-21-2012 #8Just Joined!
- Join Date
- Oct 2012
- Posts
- 29
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?


3Likes
Reply With Quote

