Sponsored Content
Full Discussion: character I/O basics
Top Forums UNIX for Dummies Questions & Answers character I/O basics Post 43243 by starless on Thursday 13th of November 2003 08:24:18 PM
Old 11-13-2003
character I/O basics

Hello!
I have an application that needs user input.
For testing, I created a text file and redirected it as input for the application.
# test_app < input.txt
This works, but never ends(keeps on getting last char), and it goes too fast.
I would like to create a script that pushes characters "somewhere", at a controlled rate, and then redirect this "somewhere" as input for the app. How do I do this?
TY!
 

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
XOpenIM(3X)							  XLIB FUNCTIONS						       XOpenIM(3X)

NAME
XOpenIM - open input method information SYNTAX
XIM XOpenIM(display, db, res_name, res_class) Display *display; XrmDatabase db; char *res_name; char *res_class; ARGUMENTS
display Specifies the connection to the X server. db Specifies a pointer to the resource database. res_name Specifies the full resource name of the application. res_class Specifies the full class name of the application. DESCRIPTION
The XOpenIM function opens an input method, matching the current locale and modifiers specification. Current locale and modifiers are bound to the input method at opening time. The locale associated with an input method cannot be changed dynamically. This implies the strings returned by XmbLookupString or XwcLookupString, for any input context affiliated with a given input method, will be encoded in the locale current at the time the input method is opened. The specific input method to which this call will be routed is identified on the basis of the current locale. XOpenIM will identify a default input method corresponding to the current locale. That default can be modified using XSetLocaleModifiers for the input method mod- ifier. The db argument is the resource database to be used by the input method for looking up resources that are private to the input method. It is not intended that this database be used to look up values that can be set as IC values in an input context. If db is NULL, no database is passed to the input method. The res_name and res_class arguments specify the resource name and class of the application. They are intended to be used as prefixes by the input method when looking up resources that are common to all input contexts that may be created for this input method. The characters used for resource names and classes must be in the X Portable Character Set. The resources looked up are not fully specified if res_name or res_class is NULL. The res_name and res_class arguments are not assumed to exist beyond the call to XOpenIM. The specified resource database is assumed to exist for the lifetime of the input method. XOpenIM returns NULL if no input method could be opened. SEE ALSO
XCloseIM(3X), XSetIMValues(3X), XGetIMValues(3X), XDisplayOfIm(3X), XLocaleOfIM(3X), XRegisterIMInstantiateCallback(3X), XUnregisterIMIn- stantiateCallback(3X) X Version 11 Release 6 XOpenIM(3X)
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy