help needed

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.

help needed

Postby djawais » Thu Apr 06, 2006 10:09 pm

Hello to all
I have three problems

1)how to add a system call in linux kernel
For eg kernel oututs a message at a certain time saying hello or something like this
2)how can I make a simple editor(text) which can save,edit,cut,paste
3)how to make a linux shell(just a small one)
djawais
Cadet
 
Posts: 14
Joined: Sat Jun 11, 2005 3:46 pm

Re: help needed

Postby LinuxFreaK » Fri Apr 07, 2006 1:44 pm

Dear djawais,
Salam,

djawais wrote:I have three problems

1)how to add a system call in linux kernel
For eg kernel oututs a message at a certain time saying hello or something like this
2)how can I make a simple editor(text) which can save,edit,cut,paste
3)how to make a linux shell(just a small one)


For System Call Check this out : http://fossil.wpi.edu/docs/howto_add_systemcall.html

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

reply

Postby djawais » Fri Apr 07, 2006 3:57 pm

very encouraging reply,it helped me a lot,plz solve other two problems i-e of making editor and a linux shell
djawais
Cadet
 
Posts: 14
Joined: Sat Jun 11, 2005 3:46 pm

Postby fawad » Fri Apr 07, 2006 8:37 pm

djawais, so you are really serious about the editor question? Most code in the Linux distribution is OSS. Pick the editor you like, and read the source code for it. Same goes for shells. Code reading is great for getting a broader understanding of stuff.
fawad
Site Admin
 
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Website: http://www.fawad.net
WLM: fawadhalim@hotmail.com
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL

simple editor

Postby djawais » Sat Apr 08, 2006 3:17 pm

i need a very simple command line editor,which uses concepts of file handling and saves and edits a file
djawais
Cadet
 
Posts: 14
Joined: Sat Jun 11, 2005 3:46 pm


Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron