LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2008, 02:03 PM   #1
zeinab
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Smile chat system in linux with NCHURSES


Hello friends !
I have a question..How can I write a chat program in linux using NCHURSES ?
Please Guide me.
Thanks
 
Old 05-23-2008, 03:36 AM   #2
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 35
Have a look at the NCURSES-Programming-HOWTO.
 
Old 05-23-2008, 04:17 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you're going to write the program from the beginning, you probably also want to take a look at how sockets work on Linux (BSD sockets), possibly how threads work (POSIX threads), and so on. The result depends a bit on which language you're writing it in - maybe C or C++ would be good, it depends a little.

I just wrote a chatting system (a client and a server) as a sort of homework..well it's not actually 100% ready yet, but the main parts work (connecting, disconnecting, chatting, ...) And if this is your homework, you should mention it right away

You can also take a look at already-written programs (irssi, epic, ...) too if you find any help there. In the beginning the best advice I can give is that you should first design the program trough and then start writing it, possibly re-thinking the design if you face problems. The actual code isn't difficult to write (it seems in the end), but to get the pieces work in a sane way is far more complicated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a prog like gaim that has voice chat, chat to groups, and webcam support? kublador Linux - Software 3 07-08-2008 07:53 AM
how to block yahoo chat & gmail chat with squid sunlinux Linux - Networking 1 08-10-2007 09:33 AM
voice chat or text chat rezapci General 2 06-07-2006 01:42 AM
Creating my own chat system Hawkster78 Linux - Software 4 11-24-2003 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration