<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><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>tadd@mac.com</div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>