Sponsored Content
Full Discussion: Mini Shell in C
Top Forums Programming Mini Shell in C Post 76877 by vino on Friday 1st of July 2005 09:02:59 AM
Old 07-01-2005
Quote:
Originally Posted by zylwyz
This remark was for me? Smilie
Not at all intended for you.

What I meant was if my reply, in which I posted the URL, is a violation of the 'homework rule' i.e.

(6) Do not post classroom or homework problems.

then the administrators/moderators could possibly delete the post.

The o/p needed some help with creating a shell in C. It could be an assignment. And my post gives you the answer directly. And hence, that will raise the `violation interrupt`. Smilie

Cheers Smilie
Vino
 

7 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

mini digi-cam

hey guys! I am on a fedora core2 i686 with gui and I have a miniture cool-cam which is digital.. it connects through regular usb.. the system recognizes it and the when I go into the desktop peripheral and go to camera it gives name and tells test was successful.. it also says that the camera has... (0 Replies)
Discussion started by: moxxx68
0 Replies

2. UNIX for Dummies Questions & Answers

mini distribution

Maybe someone knows floppy distribution with which I could connect to the internet and browse sites. THanks for answers (1 Reply)
Discussion started by: Vilmis
1 Replies

3. UNIX for Dummies Questions & Answers

mini shell programming (help)

Hi All, Well i m a taking an operating system course (newbie to unix) we have studied till now: the fork () execv() the teacher asked us to create a mini shell that execute a user command: cmd1 he said everything in is optional we can use any combination Well dudes , i m really... (2 Replies)
Discussion started by: ELECTRO
2 Replies

4. Programming

Some questions for mini game

Hello fellow programmers!:) First of all excuse me for my English, i am from abroad... I am trying to learn the C++ programming language as it is one of the most basic languages.So,instead of just creating small examples for each feature(like class,input/output etc), I decided to create a mini... (6 Replies)
Discussion started by: bashuser2
6 Replies

5. Shell Programming and Scripting

Mini Project

Hi Experts, I'm a newbie.....just now i started to write some simple scripts on my own. Can anyone suggest me any simple project kind of stuff to hone my SHELL SCRIPTING skills....which involves database connection and more than that.....bcoz i already tried to write a script which connects to... (0 Replies)
Discussion started by: kritibalu
0 Replies

6. Shell Programming and Scripting

Need help in a mini project

Hi All, I want to make something like described below - "Double click on an executable file that will check the health status and other things of various linux servers and send an email to a list of people." I can make shell scripts for individual servers but how to make a script that will check... (1 Reply)
Discussion started by: csrohit
1 Replies

7. Shell Programming and Scripting

Thompson MSH(mini-shell)

Hi Guys! Recently, I disassemble the MSH. And reconstructed. I thought maybe somebody wants to see looked like a second shell. In practice, the most ancient shell. It is written in assembler (AT&T). Owner Ken Thompson, Dennis Ritchie. mov $parbuf,r1 mov $parp,r2 clr r3 jsr pc,blank... (0 Replies)
Discussion started by: GLbS
0 Replies
post(3FORM)															       post(3FORM)

NAME
post - write or erase forms from associated subwindows SYNOPSIS
#include <form.h> int post_form(FORM *form); int unpost_form(FORM *form); DESCRIPTION
The function post_form displays a form to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivalent curses routine (the implicit doupdate triggered by an curses input request will do). The function unpost_form erases form from its associated subwindow. RETURN VALUE
These routines return one of the following: E_OK The routine succeeded. E_BAD_ARGUMENT Routine detected an incorrect or out-of-range argument. E_BAD_STATE Routine was called from an initialization or termination function. E_NOT_POSTED The form has not been posted. E_NOT_CONNECTED No items are connected to the form. E_NO_ROOM Form is too large for its window. E_POSTED The form has already been posted. E_SYSTEM_ERROR System error occurred (see errno). SEE ALSO
ncurses(3NCURSES), form(3FORM). NOTES
The header file <form.h> automatically includes the header file <curses.h>. PORTABILITY
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions. AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. post(3FORM)
All times are GMT -4. The time now is 07:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy