[prev in list] [next in list] [prev in thread] [next in thread]
List: ncurses-bug
Subject: can't get /dev/ttyTX0 to work with dialog`
From: Chris Westervelt <chris.westervelt () advantor ! com>
Date: 2015-07-28 22:16:05
Message-ID: 37379F3F8CB45647A422DBB771807245B2BEB7 () AUSP01DAG0509 ! collaborationhost ! net
[Download RAW message or body]
Hi,
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
32826
http://www.advantor.com<http://www.advantor.com/>
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.
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span \
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:navy">Chris \
Westervelt</span></b><span style="font-family:"Times New \
Roman","serif";color:navy"><o:p></o:p></span></p> <p \
class="MsoNormal"><b><span \
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">Senior \
Product Development Engineer</span></b><span \
style="color:navy"><o:p></o:p></span></p> <p class="MsoNormal"><b><span \
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">Advantor \
Systems.<br> 12612 Challenger Pkwy<br>
Suite 300<br>
Orlando, FL<br>
32826</span></b><span style="color:navy"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span \
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray"><a \
href="http://www.advantor.com/"><span \
style="color:blue">http://www.advantor.com</span></a><br>
Office: (407) 926-6983<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">Mobile: \
(407) 595-7023 <br>
Fax: (407) 857-1635</span></b><span style="color:navy"> <br>
</span><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">Notice \
of Confidentiality:</span></b><span style="color:navy"> <br>
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">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.<b><o:p></o:p></b></span></p> <p \
class="MsoNormal"><o:p> </o:p></p> </div>
</body>
</html>
_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ncurses
--===============6570937402068075056==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic