Search Results

Search: Posts Made By: mobile01
Forum: Programming 12-23-2006
11,139
Posted By mobile01
Thanks for this code snippet. Could you please...
Thanks for this code snippet. Could you please help me what if I have to do both simultaneously like in shell when Ctrl+l is pressed it clears the screen and the shell waits for the input also when...
Forum: Programming 12-22-2006
10,011
Posted By mobile01
Sorry, I will use tags from now onwards. ...
Sorry, I will use tags from now onwards.

Thanks


Please help with the problem
Forum: Programming 12-21-2006
10,011
Posted By mobile01
Thanks to all for their kind help. I implemented...
Thanks to all for their kind help. I implemented it as following:

#include<termios.h>
#include<unistd.h>
main()
{
char i;
i=getch();

printf("%d\n",i);
if(i==12)
...
Forum: Programming 12-20-2006
10,795
Posted By mobile01
Thanks, But I got stuck when the command length...
Thanks, But I got stuck when the command length is more than 3 pipes. I made that program and is running fine on 3 pipes but more than that my program is not able to handle.
Forum: Programming 12-20-2006
10,011
Posted By mobile01
In the following code I scan the Ctrl+L and it...
In the following code I scan the Ctrl+L and it returned the value 12 but it needs a enter key. Is there any function in Unix (C) so that the typed char should not appear on the screen. Like one in...
Forum: Programming 12-20-2006
10,795
Posted By mobile01
I am using the pipe command but I am unable to...
I am using the pipe command but I am unable to run it successfully
The command like
ls|more

Please help how to implement that piping.
Forum: Programming 12-19-2006
10,795
Posted By mobile01
Piping and redirection implementation
To implement the facility of piping and redirection I used the two commands dup, dup2, and strtok for tokenizing the command.
But when I run the command
ls|more
it is not running fine as I have...
Forum: Programming 12-17-2006
10,011
Posted By mobile01
Please Help
How I can detect a particular Key Combination through programming in Unix.

to trap the signals there are methods but control+L is not detected as a signal so how can I detect that combination of...
Forum: Programming 12-09-2006
51,183
Posted By mobile01
trap command in Unix
Could anybody tell me what the trap command does and how it performs the action it does. I had read the trap manual page but it is too concise that nothing is clear about it. Please tell how it works.
3,947
Posted By mobile01
how to stop others users to stop viewing what i am doing ?
Hi ,

I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing .
Now i want to stop others users to know what i am doing...
Forum: Programming 11-30-2006
12,224
Posted By mobile01
ulimit problem
I would like to know where is the ulimit value stored in the shell. And how to get or modify it using the C program.
I run the command ulimit it shows me unlimited and quits.
Where that value is...
Forum: Programming 11-30-2006
10,011
Posted By mobile01
Some more help
Could you please clarify my problem
I am making a program in C
Now I am getting the string from the user then How I can put it in that state that what user has hitted.
Any sample will me a great...
Forum: Programming 11-30-2006
5,645
Posted By mobile01
Thank You
Thank You
Could you please clarify me more about the terminal types.
and if I am getting it as a string then how I can get the result of that like the colors.

I am getting the environment...
Forum: Programming 11-30-2006
2,379
Posted By mobile01
Implementing the redirection
Hi all
I am facing a problem with redirection. Its somewhat related to parsing.
I am following the following steps.
1. take the command and tokenize it.
2. if redirection is there then give it...
Forum: Programming 11-30-2006
3,492
Posted By mobile01
How to override my profile
I would like to override the default profile which is loaded when the system starts or When I run a program so that profile should get loaded in the settings.
Is there any system call to do so.

.
Forum: Programming 11-30-2006
5,645
Posted By mobile01
Sorry again
That is a type mistake sir/mam. I am just getting the string stored over there.
8,176
Posted By mobile01
trap command
Dear All
could you please explain me what does the trap command do and how I can write a program which can work as a trap command(in C Language).
Forum: Programming 11-30-2006
5,645
Posted By mobile01
Sorry but I wrote the following program
#include<stdlib.h>
main()
{
char *t=getenv("PS1");
printf("%s",t);
}

It gets the entry of environment variable and displays it. But I would like to have the execution result...
Forum: Programming 11-30-2006
3,044
Posted By mobile01
diffrence between terminal and pseudo-terminal
Q.1 Diffrence between terminal and pseudo-terminal ?

Q.2 What is terminal login ? What is a netwok Login ?

Q.3 What is meant by baud rate of a terminal ?

Q.4 which structure is used for job...
Forum: Programming 11-30-2006
5,645
Posted By mobile01
export PS1='\[\033[1;34m\]\T \d | System_Analyst.\[\033[0m\]'
Dear All,
I have a problem with export. I would like to show a prompt on my shell but as I receive the export environment variable pointer it is the string.
Like it is shown in the Title of this...
Forum: Programming 11-30-2006
10,011
Posted By mobile01
Detecting a key combination
Could anybody tell me how I can detect a particular key combination and perform a particular task on that event. e.g. if I press Ctrl + L on the shell then it clears the screen. Please tell me how it...
37,038
Posted By mobile01
Problem
When I set it
set backspace=""
Then doesn't happened and the vi was as it is but when I set it as
set backspace="f"
Then backspace stopped working
Could you please tell me how to enable it...
37,038
Posted By mobile01
Disable and Enable Backspace or Ctrl^H in vi
Could anybody tell me how I can disable or enable the backspace key in vi editor.
I would like to feel the essence of the commands of vi editor but as I have the latest version and it is supporting...
5,347
Posted By mobile01
How to design a simple multi tasking shell in unix using C language
can any one help me in designing a shell in unix like bash shell using c language

plzzzzzzzzzzzzzzzzzzzz

help
Showing results 1 to 24 of 24

 
All times are GMT -4. The time now is 07:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy