Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Sat Aug 23, 2014 11:08 am

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: my first port: gXipmsg
Unread postPosted: Thu Aug 23, 2012 2:01 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
hi everyone!

at last i finished something for my SGI projects hehe hope you can try this on your side for me, really thanks for any comments and suggestion :)

README:
Quote:
//created: geo (August 2012)
https://github.com/gorais/gXipmsg.git


gXipmsg is a Motif version of the wonderful tool IPMsg found on this site: http://ipmsg.org/index.html.en
This project taught me a lot about Motif and TCP/UDP. The goal was to design an application that can be build and run
on all *nix platforms with as much as possible no need of modifiyng anything, as inspired by the O'Reilly book and sample codes.

The main goal for this project is to utilize the fast and easy file transfer on any *nix system between other platforms without
setting up NFS,SAMBA or other client-server apps for this purpose. Current release is ALPHA.

APLHA release: (done)
* Messaging thru UDP protocol
* Can broadcast message to specific people

BETA release: (next)
* File/folder transfer thru TCP


gXipmsg was tested on the following:

1. Intel x86:
* Windows XP through Cygwin
* Solaris 10 through VMWare
* FreeBSD 9 with OpenMotif through VBox
* Ubuntu 12.04 with OpenMotif through VBox

2. MIPS:
* IRIX 6.5 on SGI O2 and Octane

If you have any chance to try this on other platform, i'll be delighted to hear your feedback :)
You can contact me via email: orais.georgephillip@gmail.com

To try, please download the Windows version on your Windows box.
Then build using make or GNU make with Makefile.
PLease note, BSD and SUN has its own Makefile, please use this with -f option.

Hope you enjoy trying this as much i enjoyed coding this, thanks!!!


Attachment:
gXipmsg_ALPHA.tar.gz [60 KiB]
Downloaded 240 times

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 5:53 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
ops! did a quick compile test on my O2 and it seems the Makefile has a glitch, sorry when i updated the Makefile i only try it on my Cygwin.
Anyway, i already updated them on my github.
But ill just quote it here for your convenience. (im using FF on my O2 now and cannot attach the Makefile hmmm)

Please overwrite the Makefile with this: (even quote doesn't work, strange FF on my O2...)

DEBUG = -g
INCDIR =
LIBDIR =
FLAGS = -lXm -lXt -lSM -lICE -lX11

gXipmsg : main.o udp.o pack.o appIcon.o sendDialog.o recvDialog.o
cc $(INCDIR) $(DEBUG) -o gXipmsg main.o udp.o pack.o appIcon.o sendDialog.o recvDialog.o $(LIBDIR) $(FLAGS)

main.o : main.c main.h gXipmsg.h
cc $(INCDIR) $(DEBUG) -c main.c

udp.o : udp.c udp.h
cc $(INCDIR) $(DEBUG) -c udp.c

pack.o : pack.c pack.h
cc $(INCDIR) $(DEBUG) -c pack.c

appIcon.o : appIcon.c appIcon.h
cc $(INCDIR) $(DEBUG) -c appIcon.c

sendDialog.o : sendDialog.c sendDialog.h
cc $(INCDIR) $(DEBUG) -c sendDialog.c

recvDialog.o : recvDialog.c recvDialog.h
cc $(INCDIR) $(DEBUG) -c recvDialog.c

clean :
rm -f gXipmsg *.s *.o *.exe *.stackdump

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 7:44 am 
Offline
User avatar

Joined: Wed Feb 19, 2003 1:54 pm
Posts: 976
Screenshots would be nice!

_________________
:Onyx2:


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 8:50 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
mia wrote:
Screenshots would be nice!

hi mia! before i sleep here are some quick screenshots that i took:

gXipmsg in action under Cygwin
Attachment:
gXipmsg on WinXP.JPG
gXipmsg on WinXP.JPG [ 99.85 KiB | Viewed 2952 times ]


IPMsg under WinXP (downloaded for testing)
Attachment:
IPMsg on WinXP.JPG
IPMsg on WinXP.JPG [ 104.95 KiB | Viewed 2952 times ]


gXipmsg from Octane
Attachment:
gXipmsg from Octane.jpg
gXipmsg from Octane.jpg [ 213.62 KiB | Viewed 2953 times ]


btw, please ignore the time stamps, i forgot to properly set my Octanes system time.
Tomorrow will post some screenshots for Solaris, FreeBSD and Ubuntu, coz all these are just running on my office vmware and vbox. For FreeBSD, it compiles but i cannot get any UDP response, my suspicion is firewall? Any BSD user here can help me? :) thanks... so, will hit the sack now, its 12:47am now... hope you guys can try this for me :) ciao!!

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 8:55 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
Just for excitement, this release just contains the main feature which is sending messages thru UDP.
Next release will focus to implement the file/folder transfer thru TCP. With this nice feature, we can share files from any platform
without setting up NFS, Samba or others.. :)

night everyone!

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 10:45 am 
Offline
User avatar

Joined: Mon Jul 21, 2003 5:19 am
Posts: 750
The SGI Screenshots don't look IRIXy enough. If your app supports Xresources (it should), try setting the following resourced (prefixed by gXipmsg or whatever it's using as an internal name). Use xrdb -merge to merge your new resources with those already set at the start of your session.
Code:
*schemeFileList:        SgiSpec
*useSchemes:            all
*useEnhancedFSB:        True
*sgiMode:               true


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 10:59 am 
Offline
User avatar

Joined: Tue May 04, 2004 6:55 am
Posts: 126
Location: Czech Republic
geo wrote:
Hope you enjoy trying this as much i enjoyed coding this, thanks!!!


Hi,

It looks very nice! Can you please provide also the IRIX binary? I don't have SGI compiler and I'm not able to compile it here :-(

_________________
:O2: :Indy: :Indy:


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 5:08 pm 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
canavan wrote:
The SGI Screenshots don't look IRIXy enough. If your app supports Xresources (it should), try setting the following resourced (prefixed by gXipmsg or whatever it's using as an internal name). Use xrdb -merge to merge your new resources with those already set at the start of your session.
Code:
*schemeFileList:        SgiSpec
*useSchemes:            all
*useEnhancedFSB:        True
*sgiMode:               true

hi canavan! thanks for this suggestion! ok will put this on my todolist for the next version :)


jirka wrote:
Hi,

It looks very nice! Can you please provide also the IRIX binary? I don't have SGI compiler and I'm not able to compile it here

hi jirka! thanks! ok here is the binary compiled on my Octane. Not sure to ask this but if i compile it on Octane, its runable on any SGI right? or should it compiled on specific machines? My feeling is it should work but i remember O2 uses 32bit while others are 64bit? But i guess these specs doesn't matter right? OK thanks for trying this out! :)
Attachment:
gXipmsg.zip [20.34 KiB]
Downloaded 86 times

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Thu Aug 23, 2012 6:49 pm 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
other screenshots as promised:

on x86 Solaris 10 via VMware
Attachment:
gXipmsg on x86 Solaris 10 via VMWare.JPG
gXipmsg on x86 Solaris 10 via VMWare.JPG [ 184.48 KiB | Viewed 2914 times ]


on Ubuntu 12.04 via Virtual Box
Attachment:
gXipmsg on Ubuntu 12.04 via VirtualBox.JPG
gXipmsg on Ubuntu 12.04 via VirtualBox.JPG [ 135.22 KiB | Viewed 2914 times ]


FreeBSD still working with firewall option :(

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Fri Aug 24, 2012 11:19 am 
Offline
User avatar

Joined: Tue May 04, 2004 6:55 am
Posts: 126
Location: Czech Republic
geo wrote:
Hi,
hi jirka! thanks! ok here is the binary compiled on my Octane. Not sure to ask this but if i compile it on Octane, its runable on any SGI right? or should it compiled on specific machines?


Hello,
Thanks much! It works on my O2 (IRIX 6.5.27) so it must be 32-bit binary. I can even receive messages from the IPmessenger (I have tried the version 0.9 on my old PowerPC iMac)! Only the sending to that IPmessenger don't work for me.


Attachments:
1.png
1.png [ 201.88 KiB | Viewed 2888 times ]

_________________
:O2: :Indy: :Indy:
Top
 Profile  
 
Unread postPosted: Fri Aug 24, 2012 4:46 pm 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
jirka wrote:
Hello,
Thanks much! It works on my O2 (IRIX 6.5.27) so it must be 32-bit binary. I can even receive messages from the IPmessenger (I have tried the version 0.9 on my old PowerPC iMac)! Only the sending to that IPmessenger don't work for me.

Hi jirka! Thanks too for trying this :) so I guess it doesn't matter which machine as long as the app is not particular with the bit width right?

Anyway, nice screenshoot! hehe but i notice the gXipmsg didn't show the xpm icon, i forgot to mention that you should place the ipmsg.xpm together with the binary, next version ill add a make install on the makefiles ;)

Oh! i see, sorry i dont have any mac here to replicate it but hmm which IPmessenger did you use again on the iMac? is it the GNOME2 version? if so, could you please try compile gXipmsg on the iMac and see if still not able to send message? Or you can also try the X11R6 version on the iMac, just what is convenient for you, this will let us know which has the bug, is it on my Motif version, or the other IPmessnger.

Really thanks a lot to try it out, this way we can polish this more and soon i will focus on the file transfer, just imagine a file sharing to any platforms without installing anything, would be great right? :)

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Fri Aug 24, 2012 8:20 pm 
Offline

Joined: Tue Feb 24, 2004 4:10 pm
Posts: 9549
This is a useful piece of work, geo. Thank you. :D


Top
 Profile  
 
Unread postPosted: Sat Aug 25, 2012 12:57 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 4:07 am
Posts: 522
Location: Shenzhen, P.R.C
hamei wrote:
This is a useful piece of work, geo. Thank you. :D

thanks hamei!! Yeah esp here in our company, we use this to communicate with others and pass files like schematics, firmware, pcb drawing, mechanical drawing or office files :) sending it to bldg B is just a drag n drop n clik away hehe so this is why i want this to work on our NIX machines ;) coz im a bit lazy to setup again NFS hehe so lets finish this fast! Wanna lend a hand there hehe or still busy with your motif browser? :) if im done with this i can also help you.

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Unread postPosted: Sat Aug 25, 2012 1:37 am 
Offline
User avatar

Joined: Thu May 26, 2005 2:37 am
Posts: 628
Location: Munich, Germany
well done!

_________________
:Octane: :Octane2: 2xR12000 400MHz, 4GB RAM, V12
SGI - the legend will never die!!


Top
 Profile  
 
Unread postPosted: Sat Aug 25, 2012 5:29 am 
Offline

Joined: Tue Feb 24, 2004 4:10 pm
Posts: 9549
geo wrote:
Wanna lend a hand there hehe or still busy with your motif browser? :) if im done with this i can also help you.

I'd love to, but kind of busy right now getting the text big enough so I can put the magnifying glass away :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group