PDA

View Full Version : Telnet Service



Gzus666
21st June 2008, 04:53 AM
Well, I tried Putty for Telnet to a BBS (nostalgia, how I missed this stuff, just realized they still existed), and Putty does a terrible job with ASCII. Syncterm is supposed to be outstanding. Problem is, I got the .gz extracted, and it gives me a file called syncterm-linux.exe. Now, it won't execute of course, so I'm hoping someone might know how to get this to work. I come from Sabayon, so I'm used to compiling with portaged for my programs. Anyone know this one?

Gzus666
24th June 2008, 01:43 AM
Anyone? Putty really isn't cutting it.

scottro
24th June 2008, 02:46 AM
Aren't there some settings in putty that can be configured? While the session is open (I don't have an MS box here, so can't test), right click on the title bar and I think you can try various things.

This is just a stab in the dark though.

JohnVV
24th June 2008, 05:58 AM
"syncterm-linux.exe"
I am havein a bit of trouble typing, laffing to much.
Maybe use wine

Gzus666
25th June 2008, 01:01 AM
I am havein a bit of trouble typing, laffing to much.
Maybe use wine

If I was going to use Wine, I would get the Windows version, rather than the Linux binary.

wintersm
25th June 2008, 01:07 AM
what you are probably missing is the font that putty is using, other than that - just try using the telnet command line client..

btw - what bbs are you trying?

Gzus666
25th June 2008, 02:10 AM
OK, found the source files, just need to compile them (this is C by the way). Installed gcc, so that is out of the way. Now, my problem is there is a bunch of files in sub directories, main is syncterm, then there is like 8 sub directories. I don't see anywhere in the gcc options to get this compiled. Tried the -B option to search the directory, but that didn't work.

http://sourceforge.net/project/showfiles.php?group_id=183101

That is the site I got the source from, version .9.

Anyone familiar?

Edit:

To answer what BBS I am going on, there is a few, I'm in it for the old ASCII based games, cause I used to play them a lot when I was younger (Procomm Plus, good times)

wintersm
25th June 2008, 02:25 AM
it seems to make just fine, i downloaded

syncterm-20080406 and changed into the syncterm directory and typed "make" that is all you should need to do - read the COMPILING file..

looks like i am missing a dependency, but that doesnt matter as i wont really be using it..


[mathew@frodo syncterm-20080406]$ cd syncterm/
[mathew@frodo syncterm]$ ls
bbslist.c fonts.h menu.h st_crypt.h targets.mk uifcinit.h
bbslist.h GNUmakefile modem.c syncterm.c telnet_io.c window.c
COMPILING gpl.txt modem.h syncterm.desktop telnet_io.h window.h
conn.c htmlwin.h objects.mk syncterm.dsp term.c wxSyncTERM.h
conn.h Info.plist raw.h syncterm.dsw term.h xvtest.c
conn_pty.c Install-Mozilla.txt rlogin.c syncterm.h test.c
conn_pty.h Install-Win32.txt rlogin.h SyncTERM.icns testhtml.c
conn_telnet.c LICENCE ssh.c syncterm.man text_display.c
conn_telnet.h Makefile ssh.h syncterm.png TO_DO
fonts.c menu.c st_crypt.c syncterm.spec uifcinit.c
[mathew@frodo syncterm]$ make
make -C ../xpdev mtlib
make[1]: Entering directory `/home/mathew/temp/syncterm-20080406/xpdev'
Compiling conwrap.c
Compiling dat_file.c
Compiling datewrap.c
Compiling dirwrap.c
Compiling filewrap.c
Compiling genwrap.c
Compiling ini_file.c
Compiling link_list.c
Compiling msg_queue.c
Compiling semwrap.c
Compiling netwrap.c
Compiling sockwrap.c
Compiling semfile.c
Compiling str_list.c
Compiling strwrap.c
Compiling threadwrap.c
Compiling xpbeep.c
Compiling xpdatetime.c
Compiling xpprintf.c
xpprintf.c: In function âxp_asprintf_nextâ:
xpprintf.c:903: warning: cast from pointer to integer of different size
xpprintf.c:941: warning: cast from pointer to integer of different size
xpprintf.c:1102: warning: cast to pointer from integer of different size
xpprintf.c:1105: warning: cast to pointer from integer of different size
Compiling xpsem.c
Compiling xpevent.c
Creating gcc.linux.lib.debug/libxpdev_mt.a
make[1]: Leaving directory `/home/mathew/temp/syncterm-20080406/xpdev'
make -C ../conio mtlib
make[1]: Entering directory `/home/mathew/temp/syncterm-20080406/conio'
Compiling ansi_cio.c
Compiling ciolib.c
Compiling cterm.c
Compiling vidmodes.c
Compiling allfonts.c
Compiling mouse.c
Compiling curs_cio.c
Compiling x_events.c
Compiling x_cio.c
Compiling bitmap_con.c
Creating gcc.linux.lib.debug/libciolib_mt.a ...
make[1]: Leaving directory `/home/mathew/temp/syncterm-20080406/conio'
make -C ../uifc mtlib
make[1]: Entering directory `/home/mathew/temp/syncterm-20080406/uifc'
Compiling uifc32.c
Compiling uifcx.c
Creating gcc.linux.lib.debug/libuifc_mt.a ...
make[1]: Leaving directory `/home/mathew/temp/syncterm-20080406/uifc'
Compiling bbslist.c
Compiling uifcinit.c
Compiling ../uifc/filepick.c
Compiling fonts.c
Compiling rlogin.c
Compiling telnet_io.c
Compiling modem.c
Compiling conn_telnet.c
Compiling conn.c
Compiling ../comio/comio.c
Compiling ../sbbs3/telnet.c
Compiling term.c
Compiling window.c
Compiling menu.c
Compiling ../smblib/crc16.c
Compiling ../smblib/crc32.c
Compiling ../sbbs3/zmodem.c
Compiling ../sbbs3/xmodem.c
Compiling st_crypt.c

as you can see its compiling the sub directories..

Gzus666
25th June 2008, 02:30 AM
Hmm, well, for some reason my make command gives a bash: make: command not found. I thought make would work at first, but it doesn't seem to recognize it. I'm guess I'm missing something. I should probably mention I'm using Fedora 9 64 bit, as I just realized I didn't mention this. Nevermind, it is a package. Why the make and GCC compiler isn't installed with the live CD is beyond me.

Gzus666
25th June 2008, 03:51 AM
Well, I got this from the make, all was going well up till about midway.


[keith@localhost syncterm]$ make
make -C ../xpdev mtlib
make[1]: Entering directory `/home/keith/xpdev'
Compiling conwrap.c
Compiling dat_file.c
Compiling datewrap.c
Compiling dirwrap.c
Compiling filewrap.c
Compiling genwrap.c
Compiling ini_file.c
Compiling link_list.c
Compiling msg_queue.c
Compiling semwrap.c
Compiling netwrap.c
Compiling sockwrap.c
Compiling semfile.c
Compiling str_list.c
Compiling strwrap.c
Compiling threadwrap.c
Compiling xpbeep.c
Compiling xpprintf.c
xpprintf.c: In function ‘xp_asprintf_next’:
xpprintf.c:702: warning: cast from pointer to integer of different size
xpprintf.c:742: warning: cast from pointer to integer of different size
xpprintf.c:782: warning: cast from pointer to integer of different size
xpprintf.c:1087: warning: cast to pointer from integer of different size
xpprintf.c:1090: warning: cast to pointer from integer of different size
Compiling xpsem.c
Compiling xpevent.c
Creating gcc.linux.lib.debug/libxpdev_mt.a
make[1]: Leaving directory `/home/keith/xpdev'
make -C ../conio mtlib
make[1]: Entering directory `/home/keith/conio'
Compiling ansi_cio.c
Compiling ciolib.c
In file included from curs_cio.h:47,
from ciolib.c:60:
curs_fix.h:43:21: warning: curses.h: No such file or directory
Compiling cterm.c
Compiling vidmodes.c
Compiling allfonts.c
Compiling mouse.c
Compiling curs_cio.c
In file included from curs_cio.h:47,
from curs_cio.c:50:
curs_fix.h:43:21: warning: curses.h: No such file or directory
curs_cio.c: In function ‘curses_color’:
curs_cio.c:66: error: ‘COLOR_BLACK’ undeclared (first use in this function)
curs_cio.c:66: error: (Each undeclared identifier is reported only once
curs_cio.c:66: error: for each function it appears in.)
curs_cio.c:68: error: ‘COLOR_BLUE’ undeclared (first use in this function)
curs_cio.c:70: error: ‘COLOR_GREEN’ undeclared (first use in this function)
curs_cio.c:72: error: ‘COLOR_CYAN’ undeclared (first use in this function)
curs_cio.c:74: error: ‘COLOR_RED’ undeclared (first use in this function)
curs_cio.c:76: error: ‘COLOR_MAGENTA’ undeclared (first use in this function)
curs_cio.c:78: error: ‘COLOR_YELLOW’ undeclared (first use in this function)
curs_cio.c:80: error: ‘COLOR_WHITE’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_puttext’:
curs_cio.c:128: error: ‘stdscr’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_gettext’:
curs_cio.c:152: error: ‘chtype’ undeclared (first use in this function)
curs_cio.c:152: error: expected ‘;’ before ‘attr’
curs_cio.c:177: error: ‘stdscr’ undeclared (first use in this function)
curs_cio.c:182: error: ‘attr’ undeclared (first use in this function)
curs_cio.c:183: error: ‘A_REVERSE’ undeclared (first use in this function)
curs_cio.c:186: error: ‘A_ALTCHARSET’ undeclared (first use in this function)
curs_cio.c:190: error: ‘ACS_CKBOARD’ undeclared (first use in this function)
curs_cio.c:194: error: ‘ACS_BOARD’ undeclared (first use in this function)
curs_cio.c:198: error: ‘ACS_BSSB’ undeclared (first use in this function)
curs_cio.c:202: error: ‘ACS_SSBB’ undeclared (first use in this function)
curs_cio.c:206: error: ‘ACS_BBSS’ undeclared (first use in this function)
curs_cio.c:210: error: ‘ACS_SBBS’ undeclared (first use in this function)
curs_cio.c:214: error: ‘ACS_SBSS’ undeclared (first use in this function)
curs_cio.c:218: error: ‘ACS_SSSB’ undeclared (first use in this function)
curs_cio.c:222: error: ‘ACS_SSBS’ undeclared (first use in this function)
curs_cio.c:226: error: ‘ACS_BSSS’ undeclared (first use in this function)
curs_cio.c:230: error: ‘ACS_BSBS’ undeclared (first use in this function)
curs_cio.c:234: error: ‘ACS_SBSB’ undeclared (first use in this function)
curs_cio.c:238: error: ‘ACS_SSSS’ undeclared (first use in this function)
curs_cio.c:242: error: ‘ACS_BLOCK’ undeclared (first use in this function)
curs_cio.c:246: error: ‘ACS_UARROW’ undeclared (first use in this function)
curs_cio.c:250: error: ‘ACS_DARROW’ undeclared (first use in this function)
curs_cio.c:396: error: ‘A_BOLD’ undeclared (first use in this function)
curs_cio.c:400: error: ‘A_BLINK’ undeclared (first use in this function)
curs_cio.c:404: error: ‘A_COLOR’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_textattr’:
curs_cio.c:415: error: ‘chtype’ undeclared (first use in this function)
curs_cio.c:415: error: expected ‘;’ before ‘attrs’
curs_cio.c:424: error: ‘attrs’ undeclared (first use in this function)
curs_cio.c:424: error: ‘A_BOLD’ undeclared (first use in this function)
curs_cio.c:428: error: ‘A_BLINK’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_wherey’:
curs_cio.c:466: error: ‘stdscr’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_wherex’:
curs_cio.c:473: error: ‘stdscr’ undeclared (first use in this function)
curs_cio.c: In function ‘_putch’:
curs_cio.c:480: error: ‘chtype’ undeclared (first use in this function)
curs_cio.c:480: error: expected ‘;’ before ‘cha’
curs_cio.c:487: error: ‘cha’ undeclared (first use in this function)
curs_cio.c:487: error: ‘ACS_UARROW’ undeclared (first use in this function)
curs_cio.c:490: error: ‘ACS_DARROW’ undeclared (first use in this function)
curs_cio.c:493: error: ‘ACS_CKBOARD’ undeclared (first use in this function)
curs_cio.c:496: error: ‘ACS_BOARD’ undeclared (first use in this function)
curs_cio.c:502: error: ‘ACS_SBSB’ undeclared (first use in this function)
curs_cio.c:505: error: ‘ACS_SBSS’ undeclared (first use in this function)
curs_cio.c:514: error: ‘ACS_BBSS’ undeclared (first use in this function)
curs_cio.c:529: error: ‘ACS_SBBS’ undeclared (first use in this function)
curs_cio.c:541: error: ‘ACS_SSBB’ undeclared (first use in this function)
curs_cio.c:544: error: ‘ACS_SSBS’ undeclared (first use in this function)
curs_cio.c:547: error: ‘ACS_BSSS’ undeclared (first use in this function)
curs_cio.c:550: error: ‘ACS_SSSB’ undeclared (first use in this function)
curs_cio.c:553: error: ‘ACS_BSBS’ undeclared (first use in this function)
curs_cio.c:556: error: ‘ACS_SSSS’ undeclared (first use in this function)
curs_cio.c:568: error: ‘ACS_BSSB’ undeclared (first use in this function)
curs_cio.c:622: error: ‘ACS_BLOCK’ undeclared (first use in this function)
curs_cio.c:634: error: ‘A_BOLD’ undeclared (first use in this function)
curs_cio.c:636: error: ‘A_REVERSE’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_initciolib’:
curs_cio.c:681: error: ‘SCREEN’ undeclared (first use in this function)
curs_cio.c:681: error: ‘tst’ undeclared (first use in this function)
curs_cio.c:696: error: ‘stdscr’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_gettextinfo’:
curs_cio.c:723: error: ‘stdscr’ undeclared (first use in this function)
curs_cio.c: In function ‘curs_getch’:
curs_cio.c:902: error: ‘ERR’ undeclared (first use in this function)
curs_cio.c:910: error: ‘KEY_DOWN’ undeclared (first use in this function)
curs_cio.c:915: error: ‘KEY_UP’ undeclared (first use in this function)
curs_cio.c:920: error: ‘KEY_LEFT’ undeclared (first use in this function)
curs_cio.c:925: error: ‘KEY_RIGHT’ undeclared (first use in this function)
curs_cio.c:930: error: ‘KEY_HOME’ undeclared (first use in this function)
curs_cio.c:935: error: ‘KEY_BACKSPACE’ undeclared (first use in this function)
curs_cio.c:939: error: case label does not reduce to an integer constant
curs_cio.c:944: error: case label does not reduce to an integer constant
curs_cio.c:949: error: case label does not reduce to an integer constant
curs_cio.c:954: error: case label does not reduce to an integer constant
curs_cio.c:959: error: case label does not reduce to an integer constant
curs_cio.c:964: error: case label does not reduce to an integer constant
curs_cio.c:969: error: case label does not reduce to an integer constant
curs_cio.c:974: error: case label does not reduce to an integer constant
curs_cio.c:979: error: case label does not reduce to an integer constant
curs_cio.c:984: error: case label does not reduce to an integer constant
curs_cio.c:989: error: case label does not reduce to an integer constant
curs_cio.c:994: error: case label does not reduce to an integer constant
curs_cio.c:999: error: ‘KEY_DC’ undeclared (first use in this function)
curs_cio.c:1004: error: ‘KEY_IC’ undeclared (first use in this function)
curs_cio.c:1009: error: ‘KEY_EIC’ undeclared (first use in this function)
curs_cio.c:1014: error: ‘KEY_NPAGE’ undeclared (first use in this function)
curs_cio.c:1019: error: ‘KEY_PPAGE’ undeclared (first use in this function)
curs_cio.c:1024: error: ‘KEY_ENTER’ undeclared (first use in this function)
curs_cio.c:1029: error: ‘KEY_A1’ undeclared (first use in this function)
curs_cio.c:1034: error: ‘KEY_A3’ undeclared (first use in this function)
curs_cio.c:1039: error: ‘KEY_B2’ undeclared (first use in this function)
curs_cio.c:1044: error: ‘KEY_C1’ undeclared (first use in this function)
curs_cio.c:1049: error: ‘KEY_C3’ undeclared (first use in this function)
curs_cio.c:1054: error: ‘KEY_BEG’ undeclared (first use in this function)
curs_cio.c:1059: error: ‘KEY_CANCEL’ undeclared (first use in this function)
curs_cio.c:1064: error: ‘KEY_END’ undeclared (first use in this function)
curs_cio.c:1069: error: ‘KEY_SELECT’ undeclared (first use in this function)
make[1]: *** [gcc.linux.obj.debug-mt/curs_cio.o] Error 1
make[1]: Leaving directory `/home/keith/conio'
make: *** [ciolib-mt] Error 2

Got any ideas how to proceed from here?

wintersm
25th June 2008, 05:01 AM
the live cd's dont have the development tools as there wouldnt be space.. anyway looks like you need to install some development libraries..

Start with is ncurses-devel (yum install ncurses-devel)
there will be others and becuse the developer of this application has not provided a configure script or any info on what the source depends on its going to be hit-n-miss until you get it to compile.

Gzus666
26th June 2008, 01:03 AM
Ok, installed that package, now I am getting this.


[root@localhost keith]# cd /home/keith/syncterm
[root@localhost syncterm]# make
make -C ../xpdev mtlib
make[1]: Entering directory `/home/keith/xpdev'
make[1]: Nothing to be done for `mtlib'.
make[1]: Leaving directory `/home/keith/xpdev'
make -C ../conio mtlib
make[1]: Entering directory `/home/keith/conio'
Compiling curs_cio.c
Creating gcc.linux.lib.debug/libciolib_mt.a ...
make[1]: Leaving directory `/home/keith/conio'
make -C ../uifc mtlib
make[1]: Entering directory `/home/keith/uifc'
make[1]: Nothing to be done for `mtlib'.
make[1]: Leaving directory `/home/keith/uifc'
Compiling bbslist.c
Compiling uifcinit.c
Compiling ../uifc/filepick.c
Compiling fonts.c
Compiling rlogin.c
Compiling ssh.c
In file included from ssh.c:14:
st_crypt.h:4:21: error: cryptlib.h: No such file or directory
In file included from ssh.c:14:
st_crypt.h:12: error: expected specifier-qualifier-list before ‘C_RET’
ssh.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssh_session’
ssh.c: In function ‘ssh_input_thread’:
ssh.c:39: error: ‘struct crypt_funcs’ has no member named ‘PopData’
ssh.c:39: error: ‘ssh_session’ undeclared (first use in this function)
ssh.c:39: error: (Each undeclared identifier is reported only once
ssh.c:39: error: for each function it appears in.)
ssh.c:44: error: ‘CRYPT_ERROR_COMPLETE’ undeclared (first use in this function)
ssh.c:51: error: ‘struct crypt_funcs’ has no member named ‘GetAttributeString’
ssh.c:51: error: ‘CRYPT_ATTRIBUTE_INT_ERRORMESSAGE’ undeclared (first use in this function)
ssh.c: In function ‘ssh_output_thread’:
ssh.c:88: error: ‘struct crypt_funcs’ has no member named ‘PushData’
ssh.c:88: error: ‘ssh_session’ undeclared (first use in this function)
ssh.c:93: error: ‘CRYPT_ERROR_COMPLETE’ undeclared (first use in this function)
ssh.c:100: error: ‘struct crypt_funcs’ has no member named ‘GetAttributeString’
ssh.c:100: error: ‘CRYPT_ATTRIBUTE_INT_ERRORMESSAGE’ undeclared (first use in this function)
ssh.c:106: error: ‘struct crypt_funcs’ has no member named ‘FlushData’
ssh.c: In function ‘ssh_connect’:
ssh.c:143: error: ‘struct crypt_funcs’ has no member named ‘CreateSession’
ssh.c:143: error: ‘ssh_session’ undeclared (first use in this function)
ssh.c:143: error: ‘CRYPT_UNUSED’ undeclared (first use in this function)
ssh.c:143: error: ‘CRYPT_SESSION_SSH’ undeclared (first use in this function)
ssh.c:158: error: ‘struct crypt_funcs’ has no member named ‘SetAttributeString’
ssh.c:158: error: ‘CRYPT_SESSINFO_USERNAME’ undeclared (first use in this function)
ssh.c:170: error: ‘struct crypt_funcs’ has no member named ‘SetAttributeString’
ssh.c:170: error: ‘CRYPT_SESSINFO_PASSWORD’ undeclared (first use in this function)
ssh.c:180: error: ‘struct crypt_funcs’ has no member named ‘SetAttribute’
ssh.c:180: error: ‘CRYPT_SESSINFO_NETWORKSOCKET’ undeclared (first use in this function)
ssh.c:190: error: ‘struct crypt_funcs’ has no member named ‘SetAttribute’
ssh.c:190: error: ‘CRYPT_SESSINFO_ACTIVE’ undeclared (first use in this function)
ssh.c:198: error: ‘struct crypt_funcs’ has no member named ‘GetAttributeString’
ssh.c:198: error: ‘CRYPT_ATTRIBUTE_INT_ERRORMESSAGE’ undeclared (first use in this function)
ssh.c: In function ‘ssh_close’:
ssh.c:224: error: ‘struct crypt_funcs’ has no member named ‘DestroySession’
ssh.c:224: error: ‘ssh_session’ undeclared (first use in this function)
make: *** [gcc.linux.obj.debug-mt/ssh.o] Error 1

If you don't mind me asking, I'm curious as to how you knew to install that package? Just something you knew, or was it something you can figure out from the output? I tried to find out how you got it, but I don't see anything leading me in that direction.

JohnVV
26th June 2008, 02:23 AM
Gzus666 just wondering you did try the prebuilt binary from ( from the first post) i just dl'd it changed the property's of " syncterm-linux " to +x , allow to execute [ as i normally do]

chmod +x syncterm-linux
./syncterm-linux

http://img213.imagevenue.com/loc150/th_42965_syncterm-linux_122_150lo.jpg (http://img213.imagevenue.com/img.php?image=42965_syncterm-linux_122_150lo.jpg)
http://www.syncterm.net/
http://www.syncterm.net/syncterm-linux.gz

Gzus666
26th June 2008, 02:29 AM
Gzus666 just wondering you did try the prebuilt binary from ( from the first post) i just dl'd it changed the property's of " syncterm-linux " to +x , allow to execute [ as i normally do]

chmod +x syncterm-linux
./syncterm-linux

http://img213.imagevenue.com/loc150/th_42965_syncterm-linux_122_150lo.jpg (http://img213.imagevenue.com/img.php?image=42965_syncterm-linux_122_150lo.jpg)
http://www.syncterm.net/
http://www.syncterm.net/syncterm-linux.gz

You are a friggin' lifesaver, I could kiss you, but I won't, cause I'm not a ****, ha. But in all seriousness, thanks, was wondering why they would offer a binary if it wasn't meant to run. :D

wintersm
26th June 2008, 02:49 AM
I looked in the list of errors and saw that a include file could not be found, in the case you have above its the line.

st_crypt.h:4:21: error: cryptlib.h: No such file or directory

your first one required curses.h and from experence i knew ncurses-devel is what was needed, now you need to find what library provides cyrptlib.h

a google of "cryptlib.h rpm" gives me a link about cryptopp-devel which doesnt appear to exist.. but it might be in openssl-devel.

RealDeuce
26th June 2008, 08:14 AM
st_crypt.h:4:21: error: cryptlib.h: No such file or directory

a google of "cryptlib.h rpm" gives me a link about cryptopp-devel which doesnt appear to exist.. but it might be in openssl-devel.

The package that supplies it is cryptlib, available from http://www.cs.auckland.ac.nz/~pgut001/cryptlib/

If you don't need SSH support, using the command ``gmake WITHOUT_CRYPTLIB=1'' will build without SSH support (or at least it will with the current development source, not sure about the last release)