Console port app?

Place to discuss Fedora and/or Red Hat

Console port app?

Postby ZiaTioN » Wed Jul 28, 2004 11:14 am

Is there another console port application for Fedora/Red Hat besides minicom? Preferably a graphical interface like Hyperterm on Windows. If there is not a gui app that is fine as long as there is a text based (not menu driven like minicom) one I can write a front end for it.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Wed Jul 28, 2004 11:17 am

Serial port app? There are several actually, although I like minicom about the best. There was/is a graphical (X11) one that is really nice that I used to use. Let me think a minute.....
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Void Main » Wed Jul 28, 2004 11:26 am

User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Wed Jul 28, 2004 12:50 pm

Hmm this is weird. I get the following error when installing seyon:

[root@localhost seyon]# make
rm -f version.h
./makever.sh
gcc -m32 -O2 -pipe -march=i386 -mcpu=i686 -fno-strict-aliasing -pipe -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o Seyon.o Seyon.c
In file included from Seyon.c:16:
SeDecl.h:59: error: conflicting types for `usleep'
/usr/include/unistd.h:405: error: previous declaration of `usleep'
make: *** [Seyon.o] Error 1


I looked at line 59 in SeDecl.h but all it was was a call to the usleep() subroutine.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Wed Jul 28, 2004 6:34 pm

Ok, I have built an RPM that seems to work. I built it under FC2 but I added it to both my FC1 and FC2 apt repos. I tested it under FC2 and it seems to work, not sure what you are running but if you are running FC1 let me know if it works.

If you are pointing to my repo you should be able to just:

# apt-get update
# apt-get install seyon

If you want to install the source RPM:

# apt-get source seyon

Or here are the RPMS directly:
http://voidmain.is-a-geek.net/files/RPMS/

I found an old SuSE RPM and used that SRPM as a base. Had to create a patch that patches two source files and include it in the SPEC file.

Some notes about running it. You'll either have to add your username to the "uucp" group or you'll have to be root to run it. After installing you might want to copy the /etc/skel/.seyon directory to your home directory and check over the files, customize them as needed, otherwise I *think* you can just start it with something like:

# seyon -modem /dev/ttyS0

I notice the colors don't seem to be recognized on start up by default. I'll have to either dig around on Google or in my memory banks for this one. I can say it has something to do with the Xresources:

/usr/X11R6/lib/X11/app-defaults/Seyon-color

There is also a man page:

http://voidmain.is-a-geek.net/man/?para ... n&mode=man

May the force be with you.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Thu Jul 29, 2004 9:35 am

Thanks for puting together this package. It seemed to install ok but I got a bunch of warning about group and user ownership.

Preparing... ########################################### [100%]
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
warning: user voidmain does not exist - using root
warning: group voidmain does not exist - using root
1:seyon ########################################### [100%]
Done.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Thu Jul 29, 2004 9:52 am

That shouldn't hurt anything but it is annoying. I should have added something to set the ownership to root but it defaulted to the ID I was logged in as when I built it. It should not effect how it functions (if you can get it to function).

Of course when this was created there really was no such thing as KDE (QT) or GNOME (GTK) so it's all Xlib based. If you were to write one today you would probably use something like QT or GTK and it would be much nicer. I really can't imaging there isn't a "Hyperterminal-like" app out there that uses QT. Maybe there is, I have just never needed anything more than minicom in a long long time.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron