LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Closed Thread
 
Search this Thread
Old 10-03-2005, 06:12 PM   #1
SatYr_84
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
SHell program in c


I am implementing a program called shell.c in which I have to write code for a basic shell.The problem is it must include history option of shell i.e. whenever I press up key it must show the last command.Could you please tell me how to detect that up key is pressed and what to do after that.Thanks in advance
 
Old 10-03-2005, 06:49 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


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
can't start program from shell roxxe1 Linux - General 11 04-24-2005 08:58 PM
opening a program from shell hari78 Linux - Newbie 4 03-08-2005 10:33 AM
HELP!! I need to program a shell pleowulf Programming 2 02-11-2005 02:12 PM
Shell Program Veteq Programming 12 08-18-2004 08:20 AM
bash shell program help embsupafly Programming 7 11-27-2002 01:05 AM


All times are GMT -5. The time now is 04:48 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration