[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't get /dev/ttyTX0 to work with dialog`

From: Chris Westervelt
Subject: can't get /dev/ttyTX0 to work with dialog`
Date: Tue, 28 Jul 2015 22:16:05 +0000



I have 1.2.2 of dialog source and and have cross compiled for Linux armv5.  When I use the –output-fd and –input-fd settings, I have not been able to get this to go to my ttyTX0 port to do all I/O.  I have also compiled the Hello world dialog app linked against libdialog.a and when substituting a FILE* value for init_dialog(MyFile, MyFile) where MyFile = fopen(“/dev/ttyTX0”, “rw”);.  Neither case works and always seems to default to stdout although the input will come from ttyTX0 though.  Is this broken or am I doing something wrong?



Chris Westervelt

Senior Product Development Engineer

Advantor Systems.
12612 Challenger Pkwy
Suite 300
Orlando, FL

Office:   (407) 926-6983

Mobile: (407) 595-7023       
Fax:    (407) 857-1635

Notice of Confidentiality:
This e-mail communication and the attachments hereto, if any, are intended solely for the information and use of the addressee(s) identified above and may contain information which is legally privileged and/or otherwise confidential. If a recipient of this e-mail communication is not an addressee (or an authorized representative of an addressee), such recipient is hereby advised that any review, disclosure, reproduction, re-transmission or other dissemination or use of this e-mail communication (or any information contained herein) is strictly prohibited. If you are not an addressee and have received this e-mail communication in error, please advise the sender of that circumstance either by reply e-mail or by telephone at (800) 238-2686, immediately delete this e-mail communication from any computer and destroy all physical copies of same.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]