Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

raw(3cur) [ultrix man page]

raw(3cur)																 raw(3cur)

       raw, noraw - enable/disable raw mode

       int raw()

       int noraw()

       The  routine sets the terminal into RAW mode.  RAW mode is similar to CBREAK mode, in that characters are immediately passed through to the
       user program as they are typed.	In RAW mode, the interrupt, quit, suspend and flow control characters are  passed  through  uninterpreted,
       and do not generate a signal.

       The behavior of the BREAK key depends on the settings of bits that are not controlled by

       The routine disables RAW mode.

Return Values
       The and functions return OK on success and ERR on error.


Check Out this Related Man Page

getch(3cur)															       getch(3cur)

       getch, mvgetch, mvwgetch, wgetch - read character

       #include <cursesX.h>

       int getch()

       int wgetch(win)
       WINDOW *win;

       int mvgetch(y, x)
       int y, x;

       int mvwgetch(win, y, x)
       WINDOW *win;
       int y, x;

       The routine reads a character from the terminal associated with the default window.

       The routine reads a character from the terminal associated with the specified window.

       The routine reads a character from the terminal associated with the default window at the specified position.

       The routine reads a character from the terminal associated with the specified window at the specified position.

       The  following information applies to all the routines.	In mode, if there is no input waiting, the integer is returned.  In mode, the pro-
       gram waits until the system passes text through to the program.	Usually the program will restart after one character or  after	the  first
       newline, but this depends on how is set.  The character will be echoed on the designated window unless has been set.

       If is and a function key is pressed, the token for that function key is returned instead of the raw characters.	Possible function keys are
       defined in the header file with integers beginning with 0401.  The function key names begin with KEY_.  Function keys and their	respective
       integer values are described in the Guide to X/Open Curses Screen-Handling (R)

       If  a character is received that could be the beginning of a function key (such as escape), sets a timer.  If the remainder of the sequence
       does not come within the designated time, the character will be passed through, otherwise the  function	key  value  is	returned.   Conse-
       quently, there may be a delay after a user presses the escape key before the escape is returned to the program.

       Using the escape key for a single character function is discouraged.

       The routines and are macros.

Return Values
       Upon successful completion, the and functions return the character read.

       If in delay mode and no data is available, ERR is returned.

See Also
       cbreak(3cur), keypad(3cur), nodelay(3cur), noecho(3cur)
       Guide to X/Open Curses Screen-Handling

Man Page

13 More Discussions You Might Find Interesting

1. Programming

Getting an ACK for RAW SYN packet

Hi, I'm trying to create a RAW TCP SYN packet and send it from one Linux machine to another. I know the packet I have created is well formed and is received by the peer. Now what I want is to get an ACK for my SYN. I want the peer's Network protocol stack to send me an ACK for that. I know... (17 Replies)
Discussion started by: zampya
17 Replies

2. Programming

[ C++ ] Drawing Program.

I made a program that prints dots and lines in a Page. So far that's all i could come up with. When i try to print the lines and the dots it just prints consecutive points,I want it to print the points & lines in the page's coordinates. I have been stuck for a long time now. Please Help. ... (12 Replies)
Discussion started by: Max_Payne
12 Replies

3. Solaris

Reading raw disk on Solaris

Hello I wonder if someone could help me in reading a raw (non-Solaris) disk on a Solaris system... I have an IDE HDD in my Sun Blade and would like to read it (using C). It appears on the system and with the format command shows up as c0t1d0. I use the dd command to read the disk as such:... (19 Replies)
Discussion started by: son_t
19 Replies

4. Solaris

How to create new partitions in solaris,from the raw disk?

Hi all, I would like to know how to make new partitions.... I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices... I am running only solaris on my box. My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Discussion started by: wrapster
19 Replies

5. Shell Programming and Scripting

Draw a Horizontal and Vertical line on UNIX

I want to draw a horizontal and vertical line on Unix. Please suggest some solution. (11 Replies)
Discussion started by: allways4u21
11 Replies

6. What is on Your Mind?

Do you draw flowcharts

Do you draw flowcharts while you do the programming , design new network or simmilar ? (8 Replies)
Discussion started by: solaris_user
8 Replies

7. Shell Programming and Scripting

Website crawler

Hi, I want to build a crawler that seeks for a keyword on certain websites. This is what the website looks like: I want that the crawler automatically changes the letters alphanumerically and if a certain keyword is found, the website got to be logged. But... (12 Replies)
Discussion started by: yaylol
12 Replies

8. Post Here to Contact Site Administrators and Moderators

Question Regarding Megabits Drawing

Dear Admins / Mods, I have been trying my luck with Megabits Drawing few times ;) but I am not sure how it works! :confused: I have few questions:- Why this page for me is still showing 3 Lotto & 4 SuperForumLotto purchased even after the drawing... (22 Replies)
Discussion started by: Yoda
22 Replies

9. Red Hat

Is it possible to extend a extended partition raw space in harddisk thru rhel 6

hi all, As going thru LVM concepts in rhel 6, got hit with a question about "how to use the raw partition of an harddisk which extended volume is taken a bit" please find the attached diagram... is it possible to use this raw space with previously created extended partition without data... (13 Replies)
Discussion started by: redhatlbug
13 Replies

10. Programming

Raw Socket Programming - Efficient Packet Sniffer

Hi, I have the requirement to sniff packets from the Ethernet card on my Linux machine and process it and feed it to a RANAP protocol stack. So far I have written the raw packet sniffer and successfully sniffing packets and do little processing. However, for huge number of packets ... (9 Replies)
Discussion started by: rstnsrr
9 Replies

11. Red Hat

Raw Devices

Can you please modify my script. This script is not working for i in /dev/sdf do /bin/raw /dev/raw/`/bin/basename ${i}` ${i} /bin/sleep 2 /bin/chown orasm:ordba /dev/raw/`/bin/basename ${i}` /bin/chmod 660... (9 Replies)
Discussion started by: karthik9358
9 Replies

12. Web Development

Vbseo removal

first off i want to thank you for such a great site, you helped me narrow down a long search on what was wrong with my forum, i have a large forum motorbicycling DOT com which i had someone remove vbseo before they went under because of all the security problems. anyway i have lots of 404 errors... (13 Replies)
Discussion started by: atcspaul
13 Replies

13. UNIX for Beginners Questions & Answers

How to stop a shell script if it encounters a error?

I am writing a bash shell script for GarazLab's "WP EMAIL CRAWLER - AUTO SCRAPER & REAL TIME EXTRACTOR". it contains some commands. I want to stop the shell execution as soon as it encounters an error. how to do it? (8 Replies)
Discussion started by: tahsin352
8 Replies