<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Had a "doh" moment.  I was running this via SSH.  It wanted to be run local to the PI   Doh.   Works now.  Very nice.<br><br>Sent from my abacus</div><div><br>On Mar 2, 2014, at 2:43 PM, Tadd Torborg <<a href="mailto:tadd@mac.com">tadd@mac.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div>I found a program called BPQtermTCP that is just wonderful on MSWindows.  It gives a nice keyboard entry area while showing the echo of things that have been sent with <ENTER> as well as any incoming traffic on the BPQ node.  </div><div><br></div><div>This site explains how KB8PMY got it to work on Linux and provides the source code</div><div><a href="http://kb8pmy.net/index.php/hamradio/packet-radio/termtcp">http://kb8pmy.net/index.php/hamradio/packet-radio/termtcp</a></div><div><br></div><div>This site has the source code  </div><a href="http://kb8pmy.net/index.php/termtcpsource">http://kb8pmy.net/index.php/termtcpsource</a><div><br></div><div>I put it on the PI and attempted to make it.  It called out libraries.  </div><div><br></div><div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">CC = gcc</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); min-height: 16px;"><br></div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">CFLAGS = -Wall<span class="Apple-tab-span" style="white-space:pre">                  </span> <span class="Apple-tab-span" style="white-space:pre">   </span>\</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">      </span>-DG_DISABLE_DEPRECATED <span class="Apple-tab-span" style="white-space:pre">        </span> <span class="Apple-tab-span" style="white-space:pre">   </span>\</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">      </span>-DGDK_DISABLE_DEPRECATED <span class="Apple-tab-span" style="white-space:pre">   </span>\</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">      </span>-DGDK_PIXBUF_DISABLE_DEPRECATED</div><p style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); min-height: 16px;"><span class="Apple-tab-span" style="white-space:pre">        </span><br class="webkit-block-placeholder"></p><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">TermTCP: TermTCP.c </div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">       </span>$(CC) TermTCP.c -o TermTCP $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs` </div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); min-height: 16px;"><br></div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">Clean:</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>rm -f *.o TermTCP</div><p style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); min-height: 16px;"><span class="Apple-tab-span" style="white-space:pre">      </span><br class="webkit-block-placeholder"></p></div><div><br></div><div><br></div><div>So.. I did this:</div><div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); position: static; z-index: auto;">sudo apt-get install libgtk2.0-dev</div></div><div>I found a comment on the web about GTK lib and it suggested this:  So I did this.  </div><div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); position: static; z-index: auto;">sudo apt-get install glade</div></div><div><br></div><div><br></div><div>and then <b>make</b></div><div>which seemed to generate an output file even though giving warnings.  But then the program won’t run.  It says</div><div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(125, 154, 255); background-color: rgb(0, 0, 0);"><span style="color: #34bd26"><b>pi@dewvil</b></span><span style="color: #ffffff"> </span><b>~/bpqterm $</b><span style="color: #ffffff"> make</span></div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">gcc TermTCP.c -o TermTCP -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags --libs` </div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">TermTCP.c: In function ‘get_fontname’:</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">TermTCP.c:886:5: warning: passing argument 2 of ‘strcpy’ from incompatible pointer type [enabled by default]</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">/usr/include/string.h:128:14: note: expected ‘const char * __restrict__’ but argument is of type ‘struct PangoFontDescription *’</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(125, 154, 255); background-color: rgb(0, 0, 0);"><span style="color: #34bd26"><b>pi@dewvil</b></span><span style="color: #ffffff"> </span><b>~/bpqterm $</b><span style="color: #ffffff"> ls</span></div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><span style="color: #34bd26"><b>Makefile</b></span>  <span style="color: #34bd26"><b>TermTCP</b></span>  TermTCP.c  <span style="color: #c33720"><b>TermTCP.c.tar</b></span></div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><span style="color: #34bd26"><b>pi@dewvil</b></span> <span style="color: #7d9aff"><b>~/bpqterm $</b></span> ./TermTCP</div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); min-height: 16px;"><br></div><div style="margin: 0px; font-family: 'Courier New'; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">(TermTCP:11942): Gtk-WARNING **: cannot open display: </div></div><div><br></div><div><br></div><div>I’m not a very good linux hacker, yet.  This may be trivial for all I know.  What next?</div><div><br></div><div>Thanks.</div><div>    Tadd   KA2DEW</div><div><br><div>
<div>Tadd Torborg</div><div><a href="mailto:tadd@mac.com">tadd@mac.com</a></div><div><br></div><br class="Apple-interchange-newline">

</div>
<br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Linux-ham mailing list</span><br><span><a href="mailto:Linux-ham@trilug.org">Linux-ham@trilug.org</a></span><br><span><a href="http://www.trilug.org/mailman/listinfo/linux-ham">http://www.trilug.org/mailman/listinfo/linux-ham</a></span><br></div></blockquote></body></html>