09-14-2010
Ok. I'am finally beginning to see where the word emulator comes in now. So apart from isatty(), are there a number of other calls to watch for, is there documentation online for this.
Strange, but I made a console application and redirected the stdout and stderr the way you instructed, but to a file and it worked just fine. How did the isatty() function not pickup on this?
5 More Discussions You Might Find Interesting
1. Linux
hello,
can any body tell how to use terminal emulator....
i want to check he serial port communication with the help of that terminal emmulator....
also tell me how to open terminal emmulator.....and how to configure it........and how to use it...
I am using fedora core 6..... (1 Reply)
Discussion started by: arunchaudhary19
1 Replies
2. UNIX for Advanced & Expert Users
hi all,
i'm trying to write a unix system from scratch (not re-writing the kernel)
does anyone have information about that? tips and stuff...?i would appreciate every help,
thnks :) (9 Replies)
Discussion started by: elzalem
9 Replies
3. UNIX for Advanced & Expert Users
Hey,
Had anyone tried with writing a new FS - file system ( whether its useful or not, that doesn't matter ) ?
I tried one couple of years ago, but that was a fatal failure :( and can't continue working on it since then. :(
Anybody got some experience with writing file system from the... (4 Replies)
Discussion started by: matrixmadhan
4 Replies
4. Solaris
Hello Expert! :b:
Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
Discussion started by: katsloko
2 Replies
5. UNIX for Dummies Questions & Answers
Hi, I was just wondering how to distinguish between the two terms:
1. Terminal emulator (vt100, vt220 and so on)
2. shell command line
Then i decided to conclude myself that these 2 are very equivalent. am I right? this actually came to my mind when I was using my HP-UX terminal.
I am... (1 Reply)
Discussion started by: messi777
1 Replies
ISATTY(P) POSIX Programmer's Manual ISATTY(P)
NAME
isatty - test for a terminal device
SYNOPSIS
#include <unistd.h>
int isatty(int fildes);
DESCRIPTION
The isatty() function shall test whether fildes, an open file descriptor, is associated with a terminal device.
RETURN VALUE
The isatty() function shall return 1 if fildes is associated with a terminal; otherwise, it shall return 0 and may set errno to indicate
the error.
ERRORS
The isatty() function may fail if:
EBADF The fildes argument is not a valid open file descriptor.
ENOTTY The fildes argument is not associated with a terminal.
The following sections are informative.
EXAMPLES
None.
APPLICATION USAGE
The isatty() function does not necessarily indicate that a human being is available for interaction via fildes. It is quite possible that
non-terminal devices are connected to the communications line.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
The Base Definitions volume of IEEE Std 1003.1-2001, <unistd.h>
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE
/The Open Group 2003 ISATTY(P)