Search Results

Search: Posts Made By: starless
3,601
Posted By starless
Hi again! Sorry for the delay... Well, the comm...
Hi again! Sorry for the delay...
Well, the comm driver is setup prior to use. I thought that serial communication would be the same with UNIX as it is with QNX. My mistake... I do:
---------------...
3,601
Posted By starless
test_app only uses "cin" for user input. It has...
test_app only uses "cin" for user input. It has not been written to be used with a file at first, I want to use a file to automate user input for testing purposes. It is intented to test the...
3,601
Posted By starless
Hi Ygor, I'll have to dig it a little bit but...
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...
3,601
Posted By starless
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...
Forum: Programming 09-29-2003
3,048
Posted By starless
I meant "serial or parallel printer." I took...
I meant "serial or parallel printer."
I took this approach to be the least intrusive in the client code. Replacing only 1 call (write) on the client side is better (to me)that replacing 3...
Forum: Programming 09-26-2003
3,048
Posted By starless
Telling apart serial from // port
I'm writing a journal_write() function and I want it to:
- be a possible drop in replacement for write()
- write entries to the journal ;-) Could be a regular file (journal.txt), a serial printer...
49,002
Posted By starless
That's exactly where I was... And it does! TY
That's exactly where I was...
And it does!
TY
49,002
Posted By starless
I'm using QNX 6.2.1 w/ ksh. My cat effectively...
I'm using QNX 6.2.1 w/ ksh.
My cat effectively returns 1 when this logfile is corrupted, and 0 when it isn't. That'll be perfect!

Thanks for your help!
49,002
Posted By starless
Sure! :-) This file is a plain text file used...
Sure! :-)
This file is a plain text file used for logging (ham.log)
I can tell it is corrupted because:
1) cat ham.log returns: ham.log: Corrupted file system detected.
2) The app that uses it to...
49,002
Posted By starless
detecting corrupted file
Hello,
Newbie question:
How can I detect a corrupted file from a script (ksh)?
Thank you,
Martin
Showing results 1 to 10 of 10

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