Sponsored Content
Full Discussion: character I/O basics
Top Forums UNIX for Dummies Questions & Answers character I/O basics Post 43275 by starless on Friday 14th of November 2003 10:35:05 AM
Old 11-14-2003
Hi Ygor,
I'll have to dig it a little bit but it does exactly what I need!
One thing though: I'm feeding test_app with characters, so input.txt has 1 char per line. Works good. But once input.txt has been read, test_app keeps on getting the last character. How to avoid that?
And one more question: I thought that "somewhere" could be some kind of virtual device (bridge) that I could use this way:

$ test_app < bridge

and then:
$ echo v > bridge
$ echo f > bridge
And so on, using a script.
Am I dreaming? Smilie

Thanks for your help!
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Basics

Hey, you said this forum was for Dummies, so don't blame me for the following! :D My whole "web building" life, I've had my sites hosted in one for or another. Lately, I've gotten into PHP and MySQL and, of course, those are also hosted for me. But lately, I've been thinking of using PHP and... (2 Replies)
Discussion started by: cap97
2 Replies

2. UNIX for Dummies Questions & Answers

Installation basics

hello, Im new to this Os. so, can i get any information'bout installation basics of unix. (1 Reply)
Discussion started by: Abhijit Bhatt
1 Replies

3. IP Networking

SAN basics

Hi I like to learn and practice SAN, iSCSI. Could you sugges the appropriate tutorial and small tasks to practice SAN. Thankyou (1 Reply)
Discussion started by: kingskar
1 Replies

4. AIX

DB2 basics

Dear friends I am going to study DB2 and i dont have any experience with any DB's.. Please provide me with some links or pdf's for DB2 starters. any advice will be very usefull (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

5. UNIX for Dummies Questions & Answers

awk basics

Hi, Please tell me where can I get started with awk..like the basics and the whole awk stuff. Regards, Deepti (2 Replies)
Discussion started by: gaur.deepti
2 Replies

6. Shell Programming and Scripting

ls command basics???

how do i use the ls command with a single argument to list all files whose names end with the letter 'r'? (7 Replies)
Discussion started by: lilbo4231
7 Replies

7. UNIX for Dummies Questions & Answers

help me with basics

hello everyone i have to start with unix as it is a part of my training programme and i have to do a self study, i dont know where to start from. i need some basic questions to be answerd like why we use unix ? what is a terminal? what is an editor? why we write commands inside terminal? these... (4 Replies)
Discussion started by: aryancool
4 Replies
SERIAL_CS(4)						     Kernel Interfaces Manual						      SERIAL_CS(4)

NAME
serial_cs - PCMCIA serial port driver SYNOPSIS
insmod serial_cs.o [pc_debug=n] [irq_list=i,j,...] [do_sound=n] DESCRIPTION
Serial_cs is the Card Services driver for all PCMCIA serial devices, including modem cards. When serial_cs is bound to a serial or modem card, it will generally attempt to allocate the first unused serial device for use by the card. The device chosen will be recorded in the kernel log file, and will also be reported to cardmgr(8). The major and minor numbers and device name reported by serial_cs will match the corresponding "dialout" device (/dev/cua#). The new device can be accessed using this device file or the corresponding /dev/ttyS# device. The default serial card setup script will link the dialout device to /dev/modem. PARAMETERS
pc_debug=n Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero value enables debugging. irq_list=i,j,... Specifies the set of interrupts that may be allocated by this driver. do_sound=n A flag specifying if speaker output should be enabled. The default is 1 (true). Set to 0 to disable speaker output. AUTHOR
David Hinds - dahinds@users.sourceforge.net SEE ALSO
cardmgr(8), pcmcia(5). pcmcia-cs 2000/06/12 21:24:48 SERIAL_CS(4)
All times are GMT -4. The time now is 08:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy