User avatar
PacificDragon64
Posts: 29
Joined: Thu Aug 09, 2012 8:20 pm
Location: Vancouver, Canada

SyncTERM on the Pi

Mon Apr 01, 2013 2:54 pm

Hi All

If anyone is interested...

For all you terminal heads and BBS freaks, SyncTERM does compile and run fine on the Pi.

Download source code here....

http://syncterm.bbsdev.net/syncterm-src.tgz

Cheers!
Cheers!

:-)

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: SyncTERM on the Pi

Mon Apr 01, 2013 3:06 pm

It does what and I should care because?
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

XxSwitchBladexX
Posts: 2
Joined: Mon May 27, 2013 3:54 pm

Re: SyncTERM on the Pi

Tue May 28, 2013 11:20 am

So what is the process to loading up Syncterm BBS client on the Raspberrypi? I just recieved one of these units and want to try Syncterm, any help would be appreciated. :idea:

pcollins2001
Posts: 1
Joined: Wed Aug 21, 2013 9:14 am

Re: SyncTERM on the Pi

Wed Aug 21, 2013 9:20 am

PacificDragon64 wrote:Hi All

If anyone is interested...

For all you terminal heads and BBS freaks, SyncTERM does compile and run fine on the Pi.

Download source code here....

http://syncterm.bbsdev.net/syncterm-src.tgz

Cheers!
hello,
how to install?
I downloaded the sourcefile, but what should i do know?
please please help.

regards

User avatar
Shevek
Posts: 2
Joined: Thu Aug 29, 2013 11:39 am
Location: Germany
Contact: Website

Re: SyncTERM on the Pi

Thu Mar 13, 2014 1:33 pm

What's wrong here?

Code: Select all

Compiling ciolib.c
In file included from curs_cio.h:48:0,
                 from ciolib.c:63:
curs_fix.h:43:21: fatal error: curses.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[1]: *** [gcc.linux.armv6l.obj.debug-mt/ciolib.o] Fehler 1
make[1]: Leaving directory `/home/pi/syncterm-20140108/src/conio'
make: *** [ciolib-mt] Fehler 2
pi@raspberrypi ~/syncterm-20140108/src/syncterm $
--
Sent from ‪Raspberry Pi | An ARM GNU/Linux box for $35. Take a byte!

User avatar
ragnarjensen
Posts: 333
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: SyncTERM on the Pi

Thu Mar 13, 2014 5:48 pm

Header files for the curses library are not installed.

Code: Select all

sudo apt-get install libncurses5-dev
--
Ragnar

tvjon
Posts: 769
Joined: Mon Jan 07, 2013 9:11 am

Re: SyncTERM on the Pi

Thu Mar 13, 2014 7:11 pm

synt.jpg
synt.jpg (62.35 KiB) Viewed 5507 times
PacificDragon64 wrote:...
Download source code here....

http://syncterm.bbsdev.net/syncterm-src.tgz

Cheers!
It took just 20 min's to build. Looks ok, thank you.

bcw142
Posts: 8
Joined: Fri Jun 20, 2014 3:37 pm

Re: SyncTERM on the Pi

Fri Jun 20, 2014 3:44 pm

That seems to helped someone, but I seem to have hit another snag in that same compile:
$ sudo apt-get install libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# so libncurses5-dev is installed, but still no go
/usr/local/src/syncterm-20140614/src/syncterm $ sudo make
#compiler warnings and stuff...
Compiling ciolib.c
ciolib.c: In function ‘ciolib_cprintf’:
ciolib.c:858:32: error: missing binary operator before token "("
ciolib.c:872:2: warning: implicit declaration of function ‘vasprintf’ [-Wimplicit-function-declaration]
make[1]: *** [gcc.linux.armv6l.obj.debug-mt/ciolib.o] Error 1
make[1]: Leaving directory `/usr/local/src/syncterm-20140614/src/conio'
make: *** [ciolib-mt] Error 2

So this is the next error on conio, looks like coding error in that src file syncterm-src.tgz
:roll:

bcw142
Posts: 8
Joined: Fri Jun 20, 2014 3:37 pm

Re: SyncTERM on the Pi

Fri Jun 20, 2014 6:13 pm

After the last failure, I deleted what I had and started from scratch.
Did:
wget -c http://syncterm.bbsdev.net/syncterm-src.tgz
sudo tar -xf $HOME/temp/syncterm-src.tgz
# unpacking to /usr/local/src like I used to do about 20 years ago
/usr/local/src/syncterm-20140614/src/syncterm $ sudo make
An hour later, Result?
gcc.linux.armv6l.exe.debug/
/usr/local/src/syncterm-20140620/src/syncterm/gcc.linux.armv6l.exe.debug $ syncterm
-su: syncterm: command not found

This is the normal result from running 64 bit programs on 32 bit installed machines. Generally the newer systems have a 32 bit compatible setup these days and can run most 32 bit code. I'm guessing I've missed an argument or flag to compile correctly even though it shows:
armv6l.exe which should be correct. Any one have a clue what's wrong this time?

User avatar
dperry324
Posts: 19
Joined: Tue Aug 13, 2013 6:27 pm
Location: San Jose, CA, USA

Re: SyncTERM on the Pi

Thu Jan 22, 2015 9:52 pm

bcw142 wrote:After the last failure, I deleted what I had and started from scratch.
Did:
wget -c http://syncterm.bbsdev.net/syncterm-src.tgz
sudo tar -xf $HOME/temp/syncterm-src.tgz
# unpacking to /usr/local/src like I used to do about 20 years ago
/usr/local/src/syncterm-20140614/src/syncterm $ sudo make
An hour later, Result?
gcc.linux.armv6l.exe.debug/
/usr/local/src/syncterm-20140620/src/syncterm/gcc.linux.armv6l.exe.debug $ syncterm
-su: syncterm: command not found

This is the normal result from running 64 bit programs on 32 bit installed machines. Generally the newer systems have a 32 bit compatible setup these days and can run most 32 bit code. I'm guessing I've missed an argument or flag to compile correctly even though it shows:
armv6l.exe which should be correct. Any one have a clue what's wrong this time?
Hello bcw142!

I'd be happy to hear if you were able to get it to compile for you. I'm running into the same issues. At first, I thought that maybe I needed to download and compile the full Synchronet BBS distro, but that doesn't seem to help either.

I still get:
Linking gcc.linux.armv6l.exe.debug/syncterm
/usr/bin/ld: gcc.linux.armv6l.obj.debug-mt/st_crypt.o: undefined reference to symbol 'dlsym@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
GNUmakefile:149: recipe for target 'gcc.linux.armv6l.exe.debug/syncterm' failed
make: *** [gcc.linux.armv6l.exe.debug/syncterm] Error 1

User avatar
dperry324
Posts: 19
Joined: Tue Aug 13, 2013 6:27 pm
Location: San Jose, CA, USA

Re: SyncTERM on the Pi

Fri Jan 23, 2015 7:05 pm

dperry324 wrote:
bcw142 wrote:After the last failure, I deleted what I had and started from scratch.
Did:
wget -c http://syncterm.bbsdev.net/syncterm-src.tgz
sudo tar -xf $HOME/temp/syncterm-src.tgz
# unpacking to /usr/local/src like I used to do about 20 years ago
/usr/local/src/syncterm-20140614/src/syncterm $ sudo make
An hour later, Result?
gcc.linux.armv6l.exe.debug/
/usr/local/src/syncterm-20140620/src/syncterm/gcc.linux.armv6l.exe.debug $ syncterm
-su: syncterm: command not found

This is the normal result from running 64 bit programs on 32 bit installed machines. Generally the newer systems have a 32 bit compatible setup these days and can run most 32 bit code. I'm guessing I've missed an argument or flag to compile correctly even though it shows:
armv6l.exe which should be correct. Any one have a clue what's wrong this time?
Hello bcw142!

I'd be happy to hear if you were able to get it to compile for you. I'm running into the same issues. At first, I thought that maybe I needed to download and compile the full Synchronet BBS distro, but that doesn't seem to help either.

I still get:
Linking gcc.linux.armv6l.exe.debug/syncterm
/usr/bin/ld: gcc.linux.armv6l.obj.debug-mt/st_crypt.o: undefined reference to symbol 'dlsym@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
GNUmakefile:149: recipe for target 'gcc.linux.armv6l.exe.debug/syncterm' failed
make: *** [gcc.linux.armv6l.exe.debug/syncterm] Error 1
Well, I got it to work. Change the LDFLAGS environment variable before running make.
# export LDFLAGS="$LDFLAGS -ldl"
# make
# make install

Deuce
Posts: 14
Joined: Sun Dec 30, 2012 4:41 am
Location: Lake Forest, CA, USA

Re: SyncTERM on the Pi

Thu Feb 26, 2015 9:42 am

It really shouldn't require changing the LDFLAGS. I'll take a look and commit a patch if needed in the next day or two.

Incidentally, If libsdl1.2-dev is installed, SyncTERM can run in a graphics mode which more accurately shows CP437 (and others) as well as Commodore 64 and other oddball modes.

shift838
Posts: 14
Joined: Sat Sep 24, 2016 8:16 pm

Re: SyncTERM on the Pi

Thu Jun 29, 2017 3:37 am

i got it to compile successfully with the LDFLAGS fix.

Is there a trick or to get the ANSI graphics to display correctly? I have copied my settings exactly from Syncterm on my windows machine and ANSI does not display at all. looks like the Pi Syncterm does not interpret the ansi codes correctly.

bcw142
Posts: 8
Joined: Fri Jun 20, 2014 3:37 pm

Re: SyncTERM on the Pi

Sun Jul 02, 2017 10:12 pm

After 3 years and tries on multiple systems it compiled!

cd $HOME/Downloads
wget -c http://syncterm.bbsdev.net/syncterm-src.tgz
cd /usr/local/src
sudo tar -xf $HOME/Downloads/syncterm-src.tgz
cd sync*
cd src
cd syncterm
sudo make
sudo make install
# then it's in /usr/local/bin/syncterm with everything in place.

shift838
Posts: 14
Joined: Sat Sep 24, 2016 8:16 pm

Re: SyncTERM on the Pi

Sun Jul 02, 2017 11:39 pm

I got it compiled but the ANSI graphics does not.look real good for ANSI characters. I'll post a pic later.

shift838
Posts: 14
Joined: Sat Sep 24, 2016 8:16 pm

Re: SyncTERM on the Pi

Mon Jul 03, 2017 2:36 am

I have taken screenshots of what each Syncterm Looks like with the same exactly settings between the Pi3 and the PC.

Keep in mind that on the Pi3 I cannot execute the compiled syncterm via the file manager. If I double click it then I am presented to "Execute" or "Execute In Terminal". If I select Execute then I get nothing, but if I Execute in Terminal option then Syncterm runs.

Syncterm via Pi3 with ANSI:
(code page 437 English)
Image

Syncterm via PC with ANSI:
(code page 437 English)
Image

shift838
Posts: 14
Joined: Sat Sep 24, 2016 8:16 pm

Re: SyncTERM on the Pi

Thu Jul 06, 2017 3:43 am

got it working. had to recompile. I thought I installed the libsdl1.2-dev library but for some reason I missed it. of course I was working on 3 pi's at once and i bet i installed it on one of the others.

Return to “General discussion”