[Unicon-group] Programming exercise
Programming Praxis | | | | || | | | | | Programming Praxis A collection of etudes, updated weekly, for the education and enjoyment of the savvy programmer | | | | posts interesting problems requiring some programming, presents his solution (typically in Scheme I think) and then invites others to present solutions. I took the occasion for this problem (https://programmingpraxis.com/2017/03/17/word-sets/) to post one in my work language, MUMPS. I thought to also present one in Unicon, but I admit that what skills I had are rusty from non-use. I wonder if one of you guys/gals would like to take a shot. He seems open to different languages. Steve -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Unable to build from Alpha 13.0
Thanks, Bruce and Clint. Getting closer. The program segment is: import gui$include "guih.icn"## To do# 1. On saving home teachers and families, only save those which are not assigned to routes# global dataStore, filef, fileht, filer, fromRoute, itemToBeMoved, procedureStore, routes class Untitled : Dialog(panel_1, border_1, save_button, cancel_button, Route_1_Checkbox, Route_1_List, Route_1_label, Route_1_Families, Route_2_Checkbox, Route_2_List, Route_2_label, Route_2_Families, Route_3_Checkbox, Route_3_List, Route_3_label, Route_3_Families, Route_4_Checkbox, Route_4_List, Route_4_label, Route_4_Families, Route_5_Checkbox, Route_5_List, Route_5_label, Route_5_Families, Route_6_Checkbox, Route_6_List, Route_6_label, Route_6_Families, Route_7_Checkbox, Route_7_List, Route_7_label, Route_7_Families, Route_8_Checkbox, Route_8_List, Route_8_label, Route_8_Families, Route_9_Checkbox, Route_9_List, Route_9_label, Route_9_Families, Route_10_Checkbox, Route_10_List, Route_10_label, Route_10_Families, Route_11_Checkbox, Route_11_List, Route_11_label, Route_11_Families, Route_12_Checkbox, Route_12_List, Route_12_label, Route_12_Families, Route_13_Checkbox, Route_13_List, Route_13_label, Route_13_Families, Route_14_Checkbox, Route_14_List, Route_14_label, Route_14_Families, Route_15_Checkbox, Route_15_List, Route_15_label, Route_15_Families, Route_16_Checkbox, Route_16_List, Route_16_label, Route_16_Families, Route_17_Checkbox, Route_17_List, Route_17_label, Route_17_Families, Route_18_Checkbox, Route_18_List, Route_18_label, Route_18_Families, Route_19_Checkbox, Route_19_List, Route_19_label, Route_19_Families, Route_20_Checkbox, Route_20_List, Route_20_label, Route_20_Families, Route_21_Checkbox, Route_21_List, Route_21_label, Route_21_Families, Route_22_Checkbox, Route_22_List, Route_22_label, Route_22_Families, Route_23_Checkbox, Route_23_List, Route_23_label, Route_23_Families, Route_24_Checkbox, Route_24_List, Route_24_label, Route_24_Families, Route_25_Checkbox, Route_25_List, Route_25_label, Route_25_Families, Route_26_Checkbox, Route_26_List, Route_26_label, Route_26_Families, Route_27_Checkbox, Route_27_List, Route_27_label, Route_27_Families, Route_28_Checkbox, Route_28_List, Route_28_label, Route_28_Families, Route_29_Checkbox, Route_29_List, Route_29_label, Route_29_Families, Route_30_Checkbox, Route_30_List, Route_30_label, Route_30_Families, Route_31_Checkbox, Route_31_List, Route_31_label, Route_31_Families, Route_32_Checkbox, Route_32_List, Route_32_label, Route_32_Families, Route_33_Checkbox, Route_33_List, Route_33_label, Route_33_Families, Route_34_Checkbox, Route_34_List, Route_34_label, Route_34_Families, Route_35_Checkbox, Route_35_List, Route_35_label, Route_35_Families, Route_36_Checkbox, Route_36_List, Route_36_label, Route_36_Families) method component_setup() <-- Line 12 self.setup() end global dataStore, filef, fileht, filer, fromRoute, itemToBeMoved, procedureStore, routes steve@steve-Satellite-L555D:/opt/unicon/bin$ echo $IPATH/opt/unicon/ipl/lib /opt/unicon/ipl /opt/unicon/uni /opt/unicon/uni/ide /opt/unicon/uni/3d /opt/unicon/uni/gui /opt/unicon/uni/gui/ivib /opt/unicon/uni/ide /opt/unicon/uni/lib /opt/unicon/uni/parser /opt/unicon/uni/udb /opt/unicon/uni/udb/dta /opt/unicon/uni/udb/lib /opt/unicon/uni/unicon /opt/unicon/uni/unidep /opt/unicon/uni/unidoc /opt/unicon/uni/unilib /opt/unicon/uni/util /opt/unicon/uni/xml /opt/unicon/local /opt/unicon/ipl/incl /opt/unicon/ipl/procs opt/unicon/ipl/gincl steve@steve-Satellite-L555D:/opt/unicon/bin$ echo $LPATH/opt/unicon/ipl/lib /opt/unicon/ipl /opt/unicon/uni /opt/unicon/uni/ide /opt/unicon/uni/3d /opt/unicon/uni/gui /opt/unicon/uni/gui/ivib /opt/unicon/uni/ide /opt/unicon/uni/lib /opt/unicon/uni/parser /opt/unicon/uni/udb /opt/unicon/uni/udb/dta /opt/unicon/uni/udb/lib /opt/unicon/uni/unicon /opt/unicon/uni/unidep /opt/unicon/uni/unidoc /opt/unicon/uni/unilib /opt/unicon/uni/util /opt/unicon/uni/xml /opt/unicon/local /opt/unicon/ipl/incl /opt/unicon/ipl/procs opt/unicon/ipl/gincl steve@steve-Satellite-L555D:/opt/unicon/bin$ unicon ht.icnFile guih.icn; Line 11 # $include: cannot open "keysyms.icn" steve@steve-Satellite-L555D:/opt/unicon/bin$ keysyms.icn is in the /opt/unicon/ipl/gincl directory, which is the last one in IPATH and LPATH (which are identical). Not sure why the file cannot be opened. In the past this error message seemed to indicate that it could not be found. Ideas? Thanks again, Steve From: Bruce & Breeanna Rennie <bren...@dcsi.net.au> To: Steve Graham <jsgraha...@yahoo.com>; Unicon Group <unicon-group@lists.sourceforge.net> Sent: Sunday, September 18, 2016 7:21 AM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Good evening Steve, Is the IPL on your IPATH variable. When I do the following echo $IPATH I get the following output /home/bruce/unicon/ipl/lib /home/bruce/unicon/ipl /
Re: [Unicon-group] Unable to build from Alpha 13.0
Clint, Thanks, those instructions did the trick. A few years ago with your help and those of others here in this group, I created my first real Windows GUI program. I did such on a Windows 7 computer and tried recompiling that program today on my Ubuntu 16.04 system. It fails to compile and I can't figure out why. import gui$include "guih.icn"## To do# 1. On saving home teachers and families, only save those which are not assigned to routes# global dataStore, filef, fileht, filer, fromRoute, itemToBeMoved, procedureStore, routes class Untitled : Dialog(panel_1, border_1, save_button, cancel_button, Route_1_Checkbox, Route_1_List, Route_1_label, Route_1_Families, Route_2_Checkbox, Route_2_List, Route_2_label, Route_2_Families, Route_3_Checkbox, Route_3_List, Route_3_label, Route_3_Families, Route_4_Checkbox, Route_4_List, Route_4_label, Route_4_Families, Route_5_Checkbox, Route_5_List, Route_5_label, Route_5_Families, Route_6_Checkbox, Route_6_List, Route_6_label, Route_6_Families, Route_7_Checkbox, Route_7_List, Route_7_label, Route_7_Families, Route_8_Checkbox, Route_8_List, Route_8_label, Route_8_Families, Route_9_Checkbox, Route_9_List, Route_9_label, Route_9_Families, Route_10_Checkbox, Route_10_List, Route_10_label, Route_10_Families, Route_11_Checkbox, Route_11_List, Route_11_label, Route_11_Families, Route_12_Checkbox, Route_12_List, Route_12_label, Route_12_Families, Route_13_Checkbox, Route_13_List, Route_13_label, Route_13_Families, Route_14_Checkbox, Route_14_List, Route_14_label, Route_14_Families, Route_15_Checkbox, Route_15_List, Route_15_label, Route_15_Families, Route_16_Checkbox, Route_16_List, Route_16_label, Route_16_Families, Route_17_Checkbox, Route_17_List, Route_17_label, Route_17_Families, Route_18_Checkbox, Route_18_List, Route_18_label, Route_18_Families, Route_19_Checkbox, Route_19_List, Route_19_label, Route_19_Families, Route_20_Checkbox, Route_20_List, Route_20_label, Route_20_Families, Route_21_Checkbox, Route_21_List, Route_21_label, Route_21_Families, Route_22_Checkbox, Route_22_List, Route_22_label, Route_22_Families, Route_23_Checkbox, Route_23_List, Route_23_label, Route_23_Families, Route_24_Checkbox, Route_24_List, Route_24_label, Route_24_Families, Route_25_Checkbox, Route_25_List, Route_25_label, Route_25_Families, Route_26_Checkbox, Route_26_List, Route_26_label, Route_26_Families, Route_27_Checkbox, Route_27_List, Route_27_label, Route_27_Families, Route_28_Checkbox, Route_28_List, Route_28_label, Route_28_Families, Route_29_Checkbox, Route_29_List, Route_29_label, Route_29_Families, Route_30_Checkbox, Route_30_List, Route_30_label, Route_30_Families, Route_31_Checkbox, Route_31_List, Route_31_label, Route_31_Families, Route_32_Checkbox, Route_32_List, Route_32_label, Route_32_Families, Route_33_Checkbox, Route_33_List, Route_33_label, Route_33_Families, Route_34_Checkbox, Route_34_List, Route_34_label, Route_34_Families, Route_35_Checkbox, Route_35_List, Route_35_label, Route_35_Families, Route_36_Checkbox, Route_36_List, Route_36_label, Route_36_Families) ... --- steve@steve-Satellite-L555D:~/Desktop/HT$ icont ht.icnTranslating:ht.icn:ht.icn:1: # "import": invalid declarationht.icn:8: # ";": invalid declaration main copyFile getSelection handleAllHomeTeachers handleFamily handleHomeTeacher labelToList LoadTable makeRouteLabel makeSelectionList printReport putSelection removeDistrict repaintSelectionList SaveData saveTable sortedList toInternalIndex2 errors --- steve@steve-Satellite-L555D:~/Desktop/HT$ unicon ht.icnFile ht.icn; Line 2 # $include: cannot open "guih.icn" steve@steve-Satellite-L555D:~/Desktop/HT$ From: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> To: Unicon Group <unicon-group@lists.sourceforge.net>; Steve Graham <jsgraha...@yahoo.com> Sent: Thursday, September 15, 2016 5:41 PM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 #yiv8453922257 #yiv8453922257 -- P {margin-top:0;margin-bottom:0;}#yiv8453922257 Hi Steve, It sounds like you've got your path problem sorted out for an existing session by manually setting it, but you still want a path solution that will work automatically for each shell session in future. You know, UNIX is a wonderful thing, and one of thewonderful parts is that it has so many shells with different initialization files. For example, you set your path in .profile, butyou don't mention what your shell is. Maybe you needed to set it in .bashrc instead of .profile. Or maybe you needed to setit in .cshrc, with different syntax. And you probably already know that after adding Unicon to your path in one of these files,you have to either reboot, or re-login, or at least run the "source" command, in order for your change to take effect. If I am walking into a generic UNIX and don't know what shell I am running, I run "ps&
Re: [Unicon-group] Unable to build from Alpha 13.0
I downloaded the file from http://unicon.org/dist/uni.zip steve@steve-Satellite-L555D:/opt/unicon/bin$ ./unicon -featuresUnicon Version 13.0 alpha. Oct 1, 2015UNIXPOSIXDBMASCIIco-expressionsdynamic loadingenvironment variablesevent monitoringexternal functionskeyboard functionslarge integersmultiple programspattern typepipespseudo terminalssystem functionmessaginggraphicsX Windowslibz file compressionJPEG imagesPNG imagesCCompiler gcc 5.4.0Physical memory: 3878723584 bytesRevision Arch x86_64CPU cores 2Binaries at /opt/unicon/bin/steve@steve-Satellite-L555D:/opt/unicon/bin$ I tried adding /opt/unicon/bin to /etc/profile and ~/.profile, but the PATH was unchanged when starting up a new terminal. When adding them to the PATH of an existing terminal, I am able to start ui and within ui am able to compile and run the program (only if it ends in .icn though). Thanks, Steve From: Jafar Al-Gharaibeh <to.ja...@gmail.com> To: Steve Graham <jsgraha...@yahoo.com> Cc: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu>; Unicon Group <unicon-group@lists.sourceforge.net> Sent: Thursday, September 15, 2016 3:04 PM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Hello Steve, Are you building off svn checkout? or downloading the zipped sources from unicon.org? "unicon -features" tells you which revision you have exactly. That might be useful when reporting a problem. I tested ui and didn't and it worked with a hello world program. However the lines "Script started... Script done" lines seems to be something that shouldn't be there, I don't remember seeing them before. Do you have "/opt/unicon/bin/" in your path? --Jafar On Thu, Sep 15, 2016 at 1:31 PM Steve Graham <jsgraha...@yahoo.com> wrote: Another question on setup. I downloaded and compiled Unicon again on the same system. After remembering to make the change to Makedefs, it worked fine. I placed the unicon directory in /opt. I'm having trouble compiling from ui: steve@steve-Satellite-L555D:/opt/unicon/bin$ ./ui <-- Brings up ui Typing in the Hello Amigo program I select Run/Run, which results in a terminal window coming up which says: Script started, file is /tmp/ui17730737.tmpbash: ./Hello-Amigo: No such file or directoryScript done, file is /tmp/ui17730737.tmp steve@steve-Satellite-L555D:/tmp$ cat ui17730737.tmp Script started on Thu 15 Sep 2016 11:22:37 AM PDTbash: ./Hello-Amigo: No such file or directory Script done on Thu 15 Sep 2016 11:22:37 AM PDTsteve@steve-Satellite-L555D:/tmp$ What am I doing wrong here? Thanks, Steve From: Jafar Al-Gharaibeh <to.ja...@gmail.com> To: Steve Graham <jsgraha...@yahoo.com> Cc: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu>; Unicon Group <unicon-group@lists.sourceforge.net> Sent: Monday, August 15, 2016 12:31 PM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Steve, Thanks for the update. Not sure why you had the problem the first time. Maybe something went wrong during initialization/configuration. I also have see anonymous svn checkout/update to be unreliable/out-of-date in some rare occasions. I'm glad we got it sorted out anyway. Cheers,JafarOn Mon, Aug 15, 2016 at 11:59 AM, Steve Graham <jsgraha...@yahoo.com> wrote: Clint: Thanks for the suggestions. Jafar:Your suggestions proved to be the solution. Here is a compare between the original Makedefs and the generated one steve@steve-Satellite-L555D:/ opt/unicon$ diff Makedefs.old Makedefs 25c25< RLIBS = $(LIBS) -L../../bin -lm -lgdbm -ltp -lnsl -ldl -lcrypt---> RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcryptsteve@steve-Satellite-L555D:/ opt/unicon$ Not sure why the original one gave me problems because I got everything last week from the svn site. Thanks, Steve From: Jafar Al-Gharaibeh <to.ja...@gmail.com> To: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> Cc: Steve Graham <jsgraha...@yahoo.com> Sent: Thursday, August 11, 2016 8:16 AM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Steve, Just to make sure we get this properly fixed, I looked at my Makedef to see the order of the libraries. I have these lines: AC_LIBS= -lcrypto -lssl -lpthread -lGLU -lGL -lpng -ljpeg -lX11 -lz -lcrypt -lnsl LIBS = -L/usr/lib64 $(AC_JV_LDFLAGS) $(AC_GL_LDFLAGS) $(AC_LIBS) -lm RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcrypt RLIBS is what eventually used at the link line, and as you can see we specifically placed -ltp before LIBS. I remember doing this a while back, not sure if the change was triggered by ssl or another library. This change has been in svn for a long time. The template for x86_64_linux Makedef file is under unicon/config/x86_64_linux/ Makedfes. Is there a chance your Makedefs template is out of date? I suggest you do
Re: [Unicon-group] Unable to build from Alpha 13.0
Another question on setup. I downloaded and compiled Unicon again on the same system. After remembering to make the change to Makedefs, it worked fine. I placed the unicon directory in /opt. I'm having trouble compiling from ui: steve@steve-Satellite-L555D:/opt/unicon/bin$ ./ui <-- Brings up ui Typing in the Hello Amigo program I select Run/Run, which results in a terminal window coming up which says: Script started, file is /tmp/ui17730737.tmpbash: ./Hello-Amigo: No such file or directoryScript done, file is /tmp/ui17730737.tmp steve@steve-Satellite-L555D:/tmp$ cat ui17730737.tmp Script started on Thu 15 Sep 2016 11:22:37 AM PDTbash: ./Hello-Amigo: No such file or directory Script done on Thu 15 Sep 2016 11:22:37 AM PDTsteve@steve-Satellite-L555D:/tmp$ What am I doing wrong here? Thanks, Steve From: Jafar Al-Gharaibeh <to.ja...@gmail.com> To: Steve Graham <jsgraha...@yahoo.com> Cc: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu>; Unicon Group <unicon-group@lists.sourceforge.net> Sent: Monday, August 15, 2016 12:31 PM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Steve, Thanks for the update. Not sure why you had the problem the first time. Maybe something went wrong during initialization/configuration. I also have see anonymous svn checkout/update to be unreliable/out-of-date in some rare occasions. I'm glad we got it sorted out anyway. Cheers,Jafar On Mon, Aug 15, 2016 at 11:59 AM, Steve Graham <jsgraha...@yahoo.com> wrote: Clint: Thanks for the suggestions. Jafar:Your suggestions proved to be the solution. Here is a compare between the original Makedefs and the generated one steve@steve-Satellite-L555D:/ opt/unicon$ diff Makedefs.old Makedefs25c25< RLIBS = $(LIBS) -L../../bin -lm -lgdbm -ltp -lnsl -ldl -lcrypt---> RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcryptsteve@steve-Satellite-L555D:/ opt/unicon$ Not sure why the original one gave me problems because I got everything last week from the svn site. Thanks, Steve From: Jafar Al-Gharaibeh <to.ja...@gmail.com> To: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> Cc: Steve Graham <jsgraha...@yahoo.com> Sent: Thursday, August 11, 2016 8:16 AM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Steve, Just to make sure we get this properly fixed, I looked at my Makedef to see the order of the libraries. I have these lines: AC_LIBS= -lcrypto -lssl -lpthread -lGLU -lGL -lpng -ljpeg -lX11 -lz -lcrypt -lnsl LIBS = -L/usr/lib64 $(AC_JV_LDFLAGS) $(AC_GL_LDFLAGS) $(AC_LIBS) -lm RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcrypt RLIBS is what eventually used at the link line, and as you can see we specifically placed -ltp before LIBS. I remember doing this a while back, not sure if the change was triggered by ssl or another library. This change has been in svn for a long time. The template for x86_64_linux Makedef file is under unicon/config/x86_64_linux/ Makedfes. Is there a chance your Makedefs template is out of date? I suggest you do "svn up" at the top level Unicon directory and see if you get new stuff. Cheers,Jafar On Thu, Aug 11, 2016 at 12:26 AM Jafar Al-Gharaibeh <to.ja...@gmail.com> wrote: For some reason my gmail's spam filter got all Steve's emails, I got confused when I got the email from Clint! :) sorry I didn't help earlier. From glancing through your logs and without trying on my end, I suspect the problem is in the order of libraries at the link line. Specially -lss should probably come after -ltp, and maybe the same goes for -lcrypto. After you configure, please edit your Unicon/Makedefs file to make the change, and proceed to build as usual. Sorry Again!Jafar On Wed, Aug 10, 2016 at 7:50 PM, Jeffery, Clint (jeffe...@uidaho.edu) <jeffe...@uidaho.edu> wrote: Steve, Thanks, the extra details are necessary for us to figure out why your Unicon isn't building OK. To be honest, debugging at this level of detail is probably not that entertaining and we should take it off of unicon-group. However, if we learn something of general interest, we can post back about it. Your next step is to tell me exactly what libssl you got, from where or using what command, so I can try to apply the same packages to my Ubuntu machine. Your best hope for a quick resolution is for either myself or Jafar to be able to reproduce your trouble. I also will want to know the value of your LD_LIBRARY_PATH environment variable if any, and the output of "nm" for whatever version of libssl you are linking in with the -lssl command. When autoconf finds a viable libssl and tells the make command to link it in, the same link that causes the test to pass would normally cause the symbols that are undefined to be included in your iconx, so it is a puzzler. Cheers,Clint From: Steve Graham <jsgraha...@yahoo.com> S
[Unicon-group] Creating a maze game
I would like to create a game for some grandsons: Something that would include typical maze elements (walls, barriers, traps, jumping platforms, etc) and would allow them to enter in "code" to create or modify some of the elements. It would be hosted on a Windows 7+ platform (platform-agnostic would be better for me) and would be coded in a lisp-family language (CL, Scheme, Racket, Arc, Logo, etc), Unicon and/or JavaScript. I have been learning CL and Scheme, know a bit of Arc and Logo and a bit more of Unicon and JavaScript. While I have been a medical information systems programmer for most of my career, it has been focused on CRUD (create/retrieve/update/delete) applications and interfacing (HL7 and proprietary). I have virtually no experience with GUI and audio applications. Here are some questions that have occurred to me:1. Which languages would be best?2. Which toolkits would help? OpenGL?3. Can this be done on a browser?4. How does one control scrolling in different directions? Do you create the screen in memory and then instruct the system to scroll in the direction of the newly created portion?5. Could you interface with one of the available free game engines? Obviously this would not have to be world-class. Just something a 10 and 12 year old might like and perhaps from which they could learn how to do some elementary coding. Regarding Unicon, I would like the ability to put in code during the play of the game -- like eval() in other languages -- and wonder if that is even possible in Unicon. I would appreciate your input. Thanks, Steve-- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Unable to build from Alpha 13.0
Actually I misspoke. The old one was the generated file and the other one was the result of my editing the generated file based upon your comments. Regardless thanks again. > On Aug 15, 2016, at 12:31 PM, Jafar Al-Gharaibeh <to.ja...@gmail.com> wrote: > > Steve, > > Thanks for the update. Not sure why you had the problem the first time. Maybe > something went wrong during initialization/configuration. I also have see > anonymous svn checkout/update to be unreliable/out-of-date in some rare > occasions. I'm glad we got it sorted out anyway. > > Cheers, > Jafar > >> On Mon, Aug 15, 2016 at 11:59 AM, Steve Graham <jsgraha...@yahoo.com> wrote: >> Clint: Thanks for the suggestions. >> >> Jafar: >> Your suggestions proved to be the solution. Here is a compare between the >> original Makedefs and the generated one >> >> steve@steve-Satellite-L555D:/opt/unicon$ diff Makedefs.old Makedefs >> 25c25 >> < RLIBS = $(LIBS) -L../../bin -lm -lgdbm -ltp -lnsl -ldl -lcrypt >> --- >> > RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcrypt >> steve@steve-Satellite-L555D:/opt/unicon$ >> >> Not sure why the original one gave me problems because I got everything last >> week from the svn site. >> >> >> Thanks, Steve >> >> From: Jafar Al-Gharaibeh <to.ja...@gmail.com> >> To: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> >> Cc: Steve Graham <jsgraha...@yahoo.com> >> Sent: Thursday, August 11, 2016 8:16 AM >> >> Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 >> >> Steve, >> >> Just to make sure we get this properly fixed, I looked at my Makedef to see >> the order of the libraries. I have these lines: >> >> AC_LIBS= -lcrypto -lssl -lpthread -lGLU -lGL -lpng -ljpeg -lX11 -lz -lcrypt >> -lnsl >> >> LIBS = -L/usr/lib64 $(AC_JV_LDFLAGS) $(AC_GL_LDFLAGS) $(AC_LIBS) -lm >> >> RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcrypt >> >> RLIBS is what eventually used at the link line, and as you can see we >> specifically placed -ltp before LIBS. I remember doing this a while back, >> not sure if the change was triggered by ssl or another library. This change >> has been in svn for a long time. The template for x86_64_linux Makedef file >> is under unicon/config/x86_64_linux/Makedfes. >> >> Is there a chance your Makedefs template is out of date? I suggest you do >> "svn up" at the top level Unicon directory and see if you get new stuff. >> >> Cheers, >> Jafar >> >> >> On Thu, Aug 11, 2016 at 12:26 AM Jafar Al-Gharaibeh <to.ja...@gmail.com> >> wrote: >> >> For some reason my gmail's spam filter got all Steve's emails, I got >> confused when I got the email from Clint! :) sorry I didn't help earlier. >> >> From glancing through your logs and without trying on my end, I suspect the >> problem is in the order of libraries at the link line. Specially -lss should >> probably come after -ltp, and maybe the same goes for -lcrypto. After you >> configure, please edit your Unicon/Makedefs file to make the change, and >> proceed to build as usual. >> >> >> Sorry Again! >> Jafar >> >> >> On Wed, Aug 10, 2016 at 7:50 PM, Jeffery, Clint (jeffe...@uidaho.edu) >> <jeffe...@uidaho.edu> wrote: >> Steve, >> >> Thanks, the extra details are necessary for us to figure out why your Unicon >> isn't building OK. To be honest, debugging at this level of detail is >> probably not that entertaining and we should take it off of unicon-group. >> However, if we learn something of general interest, we can post back about >> it. >> >> Your next step is to tell me exactly what libssl you got, from where or >> using what command, so I can try to apply the same packages to my Ubuntu >> machine. Your best hope for a quick resolution is for either myself or Jafar >> to be able to reproduce your trouble. >> >> I also will want to know the value of your LD_LIBRARY_PATH environment >> variable if any, and the output of "nm" for whatever version of libssl you >> are linking in with the -lssl command. When autoconf finds a viable libssl >> and tells the make command to link it in, the same link that causes the test >> to pass would normally cause the symbols that are undefined to be included >> in your iconx, so it is a puzzler. >> >> Cheers, >> Clint >> >> >> From: Steve
Re: [Unicon-group] Unable to build from Alpha 13.0
As an Icon and currently a Unicon user I do appreciate all of the time and effort you two have spent in maintaining and enhancing the language and in answering questions. Thanks so much. Steve > On Aug 15, 2016, at 10:07 PM, Jafar Al-Gharaibeh <to.ja...@gmail.com> wrote: > > Yes, I recall similar issues happening at different occasions. It is always > tricky to get the libraries/configuration right all the time with us trying > to support all Major OSs. The Mac especially used to be behind, but not > anymore with both Clint and myself owning Macs for development and testing. I > regularly build and test on Linux/Windows/Mac, 32/64 bits, and ARM/x86. > > --Jafar > > > > > > >> On Mon, Aug 15, 2016 at 6:18 PM Richard H. McCullough <r...@pioneerca.com> >> wrote: >> Jafar >> You might recall that I had a similar problem a couple of years ago >> when building Unicon on a Mac. The standard Unicon files caused >> the GDB files to be single .db files because the GDB library was in >> the wrong order in RLIBS. >> >> Dick McCullough >> >> From: to.ja...@gmail.com >> Date: Mon, 15 Aug 2016 14:31:51 -0500 >> To: jsgraha...@yahoo.com >> CC: jeffe...@uidaho.edu; unicon-group@lists.sourceforge.net >> >> Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 >> >> Steve, >> >> Thanks for the update. Not sure why you had the problem the first time. >> Maybe something went wrong during initialization/configuration. I also have >> see anonymous svn checkout/update to be unreliable/out-of-date in some rare >> occasions. I'm glad we got it sorted out anyway. >> >> Cheers, >> Jafar >> >> On Mon, Aug 15, 2016 at 11:59 AM, Steve Graham <jsgraha...@yahoo.com> wrote: >> Clint: Thanks for the suggestions. >> >> Jafar: >> Your suggestions proved to be the solution. Here is a compare between the >> original Makedefs and the generated one >> >> steve@steve-Satellite-L555D:/opt/unicon$ diff Makedefs.old Makedefs >> 25c25 >> < RLIBS = $(LIBS) -L../../bin -lm -lgdbm -ltp -lnsl -ldl -lcrypt >> --- >> > RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcrypt >> steve@steve-Satellite-L555D:/opt/unicon$ >> >> Not sure why the original one gave me problems because I got everything last >> week from the svn site. >> >> >> Thanks, Steve >> >> From: Jafar Al-Gharaibeh <to.ja...@gmail.com> >> To: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> >> Cc: Steve Graham <jsgraha...@yahoo.com> >> Sent: Thursday, August 11, 2016 8:16 AM >> >> Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 >> >> Steve, >> >> Just to make sure we get this properly fixed, I looked at my Makedef to see >> the order of the libraries. I have these lines: >> >> AC_LIBS= -lcrypto -lssl -lpthread -lGLU -lGL -lpng -ljpeg -lX11 -lz -lcrypt >> -lnsl >> >> LIBS = -L/usr/lib64 $(AC_JV_LDFLAGS) $(AC_GL_LDFLAGS) $(AC_LIBS) -lm >> >> RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcrypt >> >> RLIBS is what eventually used at the link line, and as you can see we >> specifically placed -ltp before LIBS. I remember doing this a while back, >> not sure if the change was triggered by ssl or another library. This change >> has been in svn for a long time. The template for x86_64_linux Makedef file >> is under unicon/config/x86_64_linux/Makedfes. >> >> Is there a chance your Makedefs template is out of date? I suggest you do >> "svn up" at the top level Unicon directory and see if you get new stuff. >> >> Cheers, >> Jafar >> >> >> On Thu, Aug 11, 2016 at 12:26 AM Jafar Al-Gharaibeh <to.ja...@gmail.com> >> wrote: >> >> For some reason my gmail's spam filter got all Steve's emails, I got >> confused when I got the email from Clint! :) sorry I didn't help earlier. >> >> From glancing through your logs and without trying on my end, I suspect the >> problem is in the order of libraries at the link line. Specially -lss should >> probably come after -ltp, and maybe the same goes for -lcrypto. After you >> configure, please edit your Unicon/Makedefs file to make the change, and >> proceed to build as usual. >> >> >> Sorry Again! >> Jafar >> >> >> On Wed, Aug 10, 2016 at 7:50 PM, Jeffery, Clint (jeffe...@uidaho.edu) >> <jeffe...@uidaho.edu> wrote: >> Steve, >>
Re: [Unicon-group] Unable to build from Alpha 13.0
Clint: Thanks for the suggestions. Jafar:Your suggestions proved to be the solution. Here is a compare between the original Makedefs and the generated one steve@steve-Satellite-L555D:/opt/unicon$ diff Makedefs.old Makedefs25c25< RLIBS = $(LIBS) -L../../bin -lm -lgdbm -ltp -lnsl -ldl -lcrypt---> RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcryptsteve@steve-Satellite-L555D:/opt/unicon$ Not sure why the original one gave me problems because I got everything last week from the svn site. Thanks, Steve From: Jafar Al-Gharaibeh <to.ja...@gmail.com> To: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> Cc: Steve Graham <jsgraha...@yahoo.com> Sent: Thursday, August 11, 2016 8:16 AM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Steve, Just to make sure we get this properly fixed, I looked at my Makedef to see the order of the libraries. I have these lines: AC_LIBS= -lcrypto -lssl -lpthread -lGLU -lGL -lpng -ljpeg -lX11 -lz -lcrypt -lnsl LIBS = -L/usr/lib64 $(AC_JV_LDFLAGS) $(AC_GL_LDFLAGS) $(AC_LIBS) -lm RLIBS = -ltp $(LIBS) -L../../bin -lm -lgdbm -lnsl -ldl -lcrypt RLIBS is what eventually used at the link line, and as you can see we specifically placed -ltp before LIBS. I remember doing this a while back, not sure if the change was triggered by ssl or another library. This change has been in svn for a long time. The template for x86_64_linux Makedef file is under unicon/config/x86_64_linux/Makedfes. Is there a chance your Makedefs template is out of date? I suggest you do "svn up" at the top level Unicon directory and see if you get new stuff. Cheers,Jafar On Thu, Aug 11, 2016 at 12:26 AM Jafar Al-Gharaibeh <to.ja...@gmail.com> wrote: For some reason my gmail's spam filter got all Steve's emails, I got confused when I got the email from Clint! :) sorry I didn't help earlier. From glancing through your logs and without trying on my end, I suspect the problem is in the order of libraries at the link line. Specially -lss should probably come after -ltp, and maybe the same goes for -lcrypto. After you configure, please edit your Unicon/Makedefs file to make the change, and proceed to build as usual. Sorry Again!Jafar On Wed, Aug 10, 2016 at 7:50 PM, Jeffery, Clint (jeffe...@uidaho.edu) <jeffe...@uidaho.edu> wrote: Steve, Thanks, the extra details are necessary for us to figure out why your Unicon isn't building OK. To be honest, debugging at this level of detail is probably not that entertaining and we should take it off of unicon-group. However, if we learn something of general interest, we can post back about it. Your next step is to tell me exactly what libssl you got, from where or using what command, so I can try to apply the same packages to my Ubuntu machine. Your best hope for a quick resolution is for either myself or Jafar to be able to reproduce your trouble. I also will want to know the value of your LD_LIBRARY_PATH environment variable if any, and the output of "nm" for whatever version of libssl you are linking in with the -lssl command. When autoconf finds a viable libssl and tells the make command to link it in, the same link that causes the test to pass would normally cause the symbols that are undefined to be included in your iconx, so it is a puzzler. Cheers,Clint From: Steve Graham <jsgraha...@yahoo.com> Sent: Wednesday, August 10, 2016 2:10 PM To: Jeffery, Clint (jeffe...@uidaho.edu); Unicon Group Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Here is the log from my attempt at building Unicon: -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- -- Sent From My Smartphone -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Unable to build from Alpha 13.0
Here is the log from my attempt at building Unicon: root@steve-Satellite-L555D:/opt/unicon# make X-Configure name=x86_64_linux make Pure >/dev/nullmake[3]: *** No rule to make target 'Clean'. Stop.make[2]: [Pure] Error 2 (ignored)cd config/unix; make Setup-Graphics name=x86_64_linuxmake[1]: Entering directory '/opt/unicon/config/unix'cd Config; make Makefiles name=x86_64_linuxmake[2]: Entering directory '/opt/unicon/config/unix/Config' ... configure: creating ./config.statusconfig.status: creating Makedefsconfig.status: creating src/h/auto.hmake[1]: Leaving directory '/opt/unicon'Think we found X11, you are good to go. --- root@steve-Satellite-L555D:/opt/unicon# make Uniconcd src/common; makemake[1]: Entering directory '/opt/unicon/src/common'gcc -fno-strict-aliasing -fno-unit-at-a-time -I../libtp -I../gdbm -I../xpm -I/usr/X11R6/include -c -o doincl.o doincl.cgcc -fno-strict-aliasing -fno-unit-at-a-time -I../libtp -I../gdbm -I../xpm -I/usr/X11R6/include -c -o patchstr.o patchstr.c ... gcc -rdynamic -Wl,-E -L../../bin -L/usr/lib64 -L/usr/lib64 -L/usr/lib -L/usr/lib -Lbin -L/usr/lib -L/usr/local/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib64 -L/usr/lib -o iconx xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o xfdb.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o xrdb.o xrdebug.o xrlocal.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o xrwinrsc.o xrgfxsys.o xrwinsys.o xrwindow.o xfxtra.o xraudio.o xrposix.o xrmsg.o ../common/long.o ../common/time.o ../common/save.o ../common/rswitch.o ../common/redirerr.o ../common/xwindow.o ../common/alloc.o ../common/mlocal.o ../common/filepart.o ../common/drawstring3d.o -L/usr/X11R6/lib64 -L/usr/lib64 -lXft -lcrypto -lssl -lpthread -lpng -ljpeg -lX11 -lz -lfreetype -lcrypt -lnsl -lm -L../../bin -lm -lgdbm -ltp -lnsl -ldl -lcrypt -L../../bin -lXpm -L/usr/X11R6/lib64 ../../bin/libtp.a(tpdssl.o): In function `init_openssl':tpdssl.c:(.text+0x5): undefined reference to `SSL_load_error_strings'tpdssl.c:(.text+0xa): undefined reference to `SSL_library_init'tpdssl.c:(.text+0xf): undefined reference to `ERR_load_BIO_strings'tpdssl.c:(.text+0x14): undefined reference to `OPENSSL_add_all_algorithms_noconf'../../bin/libtp.a(tpdssl.o): In function `read_from_stream':tpdssl.c:(.text+0x4e): undefined reference to `BIO_read'tpdssl.c:(.text+0x75): undefined reference to `BIO_test_flags'../../bin/libtp.a(tpdssl.o): In function `write_to_stream':tpdssl.c:(.text+0xbe): undefined reference to `BIO_write'tpdssl.c:(.text+0xdc): undefined reference to `BIO_test_flags'../../bin/libtp.a(tpdssl.o): In function `connect_encrypted':tpdssl.c:(.text+0x11f): undefined reference to `SSLv23_client_method'tpdssl.c:(.text+0x127): undefined reference to `SSL_CTX_new'tpdssl.c:(.text+0x15d): undefined reference to `SSL_CTX_load_verify_locations'tpdssl.c:(.text+0x17a): undefined reference to `SSL_CTX_load_verify_locations'tpdssl.c:(.text+0x19c): undefined reference to `BIO_new_ssl_connect'tpdssl.c:(.text+0x1bd): undefined reference to `BIO_ctrl'tpdssl.c:(.text+0x1ee): undefined reference to `SSL_ctrl'tpdssl.c:(.text+0x20b): undefined reference to `BIO_ctrl'tpdssl.c:(.text+0x226): undefined reference to `BIO_ctrl'tpdssl.c:(.text+0x241): undefined reference to `SSL_get_verify_result'../../bin/libtp.a(tpdssl.o): In function `sslclose':tpdssl.c:(.text+0x693): undefined reference to `BIO_free'collect2: error: ld returned 1 exit statusMakefile:45: recipe for target 'iconx' failedmake[2]: *** [iconx] Error 1make[2]: Leaving directory '/opt/unicon/src/runtime'Makefile:41: recipe for target 'interp_all' failedmake[1]: *** [interp_all] Error 2make[1]: Leaving directory '/opt/unicon/src/runtime'Makefile:139: recipe for target 'Icont' failedmake: *** [Icont] Error 2 From: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> To: Steve Graham <jsgraha...@yahoo.com> Sent: Tuesday, August 9, 2016 8:01 PM Subject: RE: [Unicon-group] Unable to build from Alpha 13.0 make Configure name=x86_64_linux is our configuration step. It runs autoconf which tells the makefiles about libssl if it is found. Original message ---- From: Steve Graham <jsgraha...@yahoo.com> Date: 08/09/2016 7:34 PM (GMT-07:00) To: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu>, Unicon Group <unicon-group@lists.sourceforge.net> Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 Hi, Clint. I did not reconfigure Unicon to take advantage of libssl: How does one do that? Just minding my own business when the SSL code broke the build. I just added libcrypto++9v5 and that didn't seem to help. Thanks for looking at this. Steve From: "Jeffery, Cl
Re: [Unicon-group] Unable to build from Alpha 13.0
Hi, Clint. I did not reconfigure Unicon to take advantage of libssl: How does one do that? Just minding my own business when the SSL code broke the build. I just added libcrypto++9v5 and that didn't seem to help. Thanks for looking at this. Steve From: "Jeffery, Clint (jeffe...@uidaho.edu)" <jeffe...@uidaho.edu> To: Steve Graham <jsgraha...@yahoo.com> Sent: Tuesday, August 9, 2016 3:09 PM Subject: Re: [Unicon-group] Unable to build from Alpha 13.0 #yiv7672597019 #yiv7672597019 -- P {margin-top:0;margin-bottom:0;}#yiv7672597019 Steve, I think my laptop is running Ubuntu 16.04 so I should be able to try reproducing your issue pretty easily. After adding some libssl files, did you reconfigure Unicon to take advantage of them? Were you trying to turn on SSL, or were you minding your own business and SSL code broke your build? What is is supposed to happen is autoconf is supposed to determine whether SSL is available, and you don't get any of this stuff linked in (or missing from an attempted link, in this case) if you didn't have the library and headers required. I will go upstairs and do some updates and see if I get this on my laptop. ClintFrom: Steve Graham <jsgraha...@yahoo.com> Sent: Tuesday, August 9, 2016 12:00:06 PM To: Unicon Group Subject: [Unicon-group] Unable to build from Alpha 13.0 I am running on an Ubuntu 16.04.1 LTS system with x64. After getting the errors below, I added some libssl files through Synaptic. Still getting the following as part of the build output. Any help would be appreciated. Steve --- ../../bin/libtp.a(tpdssl.o): In function `init_openssl':tpdssl.c:(.text+0x5): undefined reference to `SSL_load_error_strings'tpdssl.c:(.text+0xa): undefined reference to `SSL_library_init'tpdssl.c:(.text+0xf): undefined reference to `ERR_load_BIO_strings'tpdssl.c:(.text+0x14): undefined reference to `OPENSSL_add_all_algorithms_noconf'../../bin/libtp.a(tpdssl.o): In function `read_from_stream':tpdssl.c:(.text+0x4e): undefined reference to `BIO_read'tpdssl.c:(.text+0x75): undefined reference to `BIO_test_flags'../../bin/libtp.a(tpdssl.o): In function `write_to_stream':tpdssl.c:(.text+0xbe): undefined reference to `BIO_write'tpdssl.c:(.text+0xdc): undefined reference to `BIO_test_flags'../../bin/libtp.a(tpdssl.o): In function `connect_encrypted':tpdssl.c:(.text+0x11f): undefined reference to `SSLv23_client_method'tpdssl.c:(.text+0x127): undefined reference to `SSL_CTX_new'tpdssl.c:(.text+0x15d): undefined reference to `SSL_CTX_load_verify_locations'tpdssl.c:(.text+0x17a): undefined reference to `SSL_CTX_load_verify_locations'tpdssl.c:(.text+0x19c): undefined reference to `BIO_new_ssl_connect'tpdssl.c:(.text+0x1bd): undefined reference to `BIO_ctrl'tpdssl.c:(.text+0x1ee): undefined reference to `SSL_ctrl'tpdssl.c:(.text+0x20b): undefined reference to `BIO_ctrl'tpdssl.c:(.text+0x226): undefined reference to `BIO_ctrl'tpdssl.c:(.text+0x241): undefined reference to `SSL_get_verify_result'../../bin/libtp.a(tpdssl.o): In function `sslclose':tpdssl.c:(.text+0x693): undefined reference to `BIO_free'collect2: error: ld returned 1 exit statusMakefile:45: recipe for target 'iconx' failedmake[2]: *** [iconx] Error 1make[2]: Leaving directory '/opt/unicon/src/runtime'Makefile:41: recipe for target 'interp_all' failedmake[1]: *** [interp_all] Error 2make[1]: Leaving directory '/opt/unicon/src/runtime'Makefile:139: recipe for target 'Icont' failedmake: *** [Icont] Error 2steve@steve-Satellite-L555D:/opt/unicon$ -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Uses of Unicon
Shawn, I've used Icon/Unicon in the past, but not so much recently. I am interested in what you and others use it for. I used it a few years ago to create a Windows app to keep track of families and men assigned to visit them. This was my first foray into Windows programming. It was a blast and many kudos to all the folks on this forum for their invaluable help! Steve From: Shawn FratisTo: unicon-group@lists.sourceforge.net Sent: Wednesday, July 20, 2016 7:15 AM Subject: [Unicon-group] Fwd: Compiling Unicon 12.3 on Windows -- Forwarded message -- From: Shawn Fratis Date: Wed, Jul 20, 2016 at 7:15 AM Subject: Re: [Unicon-group] Compiling Unicon 12.3 on Windows To: Sergey Logichev Thank you for your work! I am curious to hear from people how Unicon is working with Win 10. I've become kinda dependent on it, and my employer is getting ready to get everyone switched from Win 7, which I'm a tad nervous about. :( -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Soft thread changes
ObjectIcon? From: Bruce & Breeanna RennieTo: Jafar Al-Gharaibeh Cc: Unicon group Sent: Thursday, April 28, 2016 8:35 PM Subject: Re: [Unicon-group] Soft thread changes Good afternoon Jafar, As I am able I'll have a look and see if I can add anything of worth for the implementation. The idea sounds good. At the moment I am still trying to wrap my head around the differences between Unicon and ObjectIcon implementation details. regards Bruce Rennie On 29/04/16 12:21, Jafar Al-Gharaibeh wrote: > Good Morning Bruce, > > Soft-threads ( software threads or maybe vs hard-threads) are a hybrid > between native co-expressions and threads made possible by my recent > changes to allow native coswitch() to coexist with concurrent threads. > They are similar to native co-expressions in that they are completely > a Unicon thing (no OS context, i.e can't be scheduled by the OS), but > they are similar to threads in that they are concurrent. Since a soft > thread doesn't have a pthread (OS context) it needs to be scheduled > "manually". Unlike co-expressions which get scheduled via an explicit > activation, soft threads are managed implicitly by the language's > runtime. That means we need a scheduler that takes care of this new > task with all of the problems that comes with it. :) > > The goal is allow us to create a lot of "cheap" concurrent threads > even without creating pthreads, or get by with a few pthreads through > thread pooling, etc. The idea is to decouple Unicon's threads from the > the OS threads. > > What I have committed so far under "SoftThread" ifdefs is very very > basic experimental implementation that I did in under two hours. I > got some basic scheduling to work and was able to run a small demo. We > have a long a long way to go. If anyone is interested in this or > helping with implementation I'd be very happy to share more details > with them. > > Cheers, > Jafar > > > > > On Thu, Apr 28, 2016 at 8:25 PM, Bruce & Breeanna Rennie > > wrote: > > Good morning Jafar, > > Can you clue us into what the soft-thread changes are for, please? > > regards > > Bruce Rennie > > > > > -- > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > ___ > Unicon-group mailing list > Unicon-group@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/unicon-group -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Origin of SNOBOL
And more on the subject. See links. Maintainer, sole developer, sole active user of the programming language SPITBOL | Hacker News | | | | | | | | | Maintainer, sole developer, sole active user of the programming language SPITBOL | Hacker NewsHacker Newsnew | comments | show | ask | jobs | submit login Maintainer, sole developer, sole active user of the programming language SPITBOL (daveshields.me) | | | | View on news.ycombinator.com | Preview by Yahoo | | | | | From: Steve Graham jsgraha...@yahoo.com To: Icon List icon-langu...@list.arizona.edu; Unicon Group unicon-group@lists.sourceforge.net Sent: Saturday, August 22, 2015 4:52 PM Subject: Origin of SNOBOL Thought this link would be of interest to the groups: http://amhistory.si.edu/archives/AC0196_gris720521.pdf -- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Origin of SNOBOL
Thought this link would be of interest to the groups: http://amhistory.si.edu/archives/AC0196_gris720521.pdf -- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] 1st Rosettacode challenge
Perhaps another challenge might be to translate the Machine Learning tutorials here (http://burakkanber.com/blog/machine-learning-in-other-languages-introduction/) from Javascript to Unicon. Steve On Fri, 1/31/14, David Gamey david.ga...@rogers.com wrote: Subject: [Unicon-group] 1st Rosettacode challenge To: UniconGroup unicon-group@lists.sourceforge.net Date: Friday, January 31, 2014, 1:01 PM Folks, Rosettacode is a programming chrestomathy site that hosts solutions to hundreds of tasks in hundreds of programming languages. Unicon is well represented thanks to the efforts of several of our volunteers. In an effort to better represent Unicon on Rosetta and to possibly provide readers of this list with an interesting distraction, I propose the first of what I hope will be a regular programming challenge. The Playfair cipher is a diagram substitution cipher invented in the late 1800's. It uses a 5 x 5 block of letters constructed from the alphabet using a prearranged key such as a word or phrase. Typically either I and J are used interchangeably or Q is omitted to make the square. An example (from memory and by hand) using the key: First Unicon Rosetta Code Challenge Made unique and caps yields: FIRSTUNCOEADHLG Made into a block with the rest of the alphabet: FIRST UNCOE ADHLG BKMPQ VWXYZ Messages must be padded to an even number of characters. So Try it becomes TR YI TX Enciphering uses different rules for letter pairs forming a rectangle, a row, or a column. TR (a row) enciphers as FS YI (a rectangle) enciphers as WS TX (a rectangle) enciphers as RZ Any old language can encode these rules as a matrix/array look-up problem. I suspect there are several clever Uniconish ways to do this. And that is the challenge. Find an interesting Uniconish solution to the Playfair task. The official task page http://rosettacode.org/wiki/Playfair_cipher Wikipedia article on Playfair http://en.wikipedia.org/wiki/Playfair_cipher If you need help with the wiki formatting of following the Unicon template there are lots of examples. Also Steve or I could help out as well. If you haven't checked out the site, it's well worth it. Unicon on Rosetta http://rosettacode.org/wiki/Unicon Tasks that haven't been completed in Unicon can be found at http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_Unicon Have fun. David -Inline Attachment Follows- -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk -Inline Attachment Follows- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Nitty Griddy 2011 - Programming Problem
I've thought of this problem on and off for a while and figured others might be interested too. I don't know if attachments are allowed here, so you can see the problem at http://search.4shared.com/postDownload/3n_ayOg3/Nitty_Griddy_2011001.html It is like sudoku with letters. Words should be spelled with the letters inserted into the various squares both in rows and in columns. A unique feature is that more than 1 letter can be placed into a square. I guess I would start by putting one letter per square and place the left overs in the last square. In the 1st example the matrix is 5x5 and one of the words is wadders. So you might put them as: w | a | d | d | ers. And if that didn't work down the pike, you could always change the squares in which you place the letters. I would be interested in your solutions. Steve-- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] fork under windows?
What about LibreOffice (http://www.libreoffice.org/)? From: Kostas Oikonomou k...@research.att.com To: unicon-group@lists.sourceforge.net Sent: Sunday, October 30, 2011 8:16 AM Subject: Re: [Unicon-group] fork under windows? Clint, I agree that OO is becoming less open and more of a pain, unfortunately following the MS tradition. If you point me to the latest OO source for the book, I'd be willing to try exporting it to Latex. There is a utility for this, http://writer2latex.sourceforge.net/. Kostas On 10/29/11 11:20 PM, David Gamey wrote: Clint, I'm not sure what scales for large numbers of collaborators. I've collaborated with both Word and OO. I've not used Latex before although I've used older script and scribe. It occurs to me that a wiki might work if there were a way of creating the book from it. I'm guessing there will always be a bit of reformatting to a new version of a book. The question is how much. David *From:* Clinton Jeffery jeff...@cs.uidaho.edu *To:* David Gamey david.ga...@rogers.com *Cc:* UniconGroup unicon-group@lists.sourceforge.net *Sent:* Saturday, October 29, 2011 7:52:20 PM *Subject:* Re: [Unicon-group] fork under windows? So, we need a much more open documentation process in which it is far easier for folks to contribute, and where we still have a high quality of editorial review and a reasonably consistent prose style. I pretty much have done a poor job of maintaining the Unicon book via OpenOffice; OpenOffice was more open and accessible (and multi-platform) than when we did the book originally in MS Word (originally it was in Word because of the prospective publisher's requirements), but it is not open enough in terms of change/revision management, not portable enough, and its fonts and formatting are rather too fragile. For a 500 page book with complex figure arrangements, any time you switch to a new OS or a new version of OpenOffice, the formatting is at risk of getting messed up. The fix that comes most readily to mind would be to switch to a text-based format that could be handled as part of the Unicon SVN codebase, such as LaTeX. I have ported the Unicon book to LaTeX before, and it worked, but would require a fair amount of effort to get the formatting nice and presentable again. Do you have any alternative suggestions, and for that matter, does this suggestion make good sense? As to whether fork() should fail or have a runtime error where it is not implemented, I agree with you that I made a mistake in this case, the comparables are the graphics functions, which are defined on all builds, but if you ever call them on a platform built without graphics, they die with runtime error 121 function not supported. We should probably do a sweep through the posix functions and find all the ones that just fail on Windows, and change them to use the MissingFunc() family of macros that we use for graphics functions. Clint On Sat, Oct 29, 2011 at 4:26 PM, David Gamey david.ga...@rogers.com mailto:david.ga...@rogers.com wrote: Documentation is something I can do :) -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerryreg; PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net mailto:Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerryreg; PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerryreg; PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net
Re: [Unicon-group] Fw: OT: Scraping data from Windows app screen
Matt, I'll take a look at this. Thanks, Steve From: Matt Oates (Home) mattoa...@gmail.com To: Steve Graham jsgraha...@yahoo.com Cc: Unicon Mailing List unicon-group@lists.sourceforge.net Sent: Monday, September 19, 2011 6:51 AM Subject: Re: [Unicon-group] Fw: OT: Scraping data from Windows app screen On 17 September 2011 14:41, Steve Graham jsgraha...@yahoo.com wrote: I googled for this and found this link: http://www.velocityreviews.com/forums/t167359-how-to-extract-text-from-windows.html It talks about Window api functions such as GetWindowText which can help. When I grep'd the ipl and lower directories for it, the only hits were .exe routines. So, I'm guessing that this api has been defined, but is not used in any sample programs in the ipl. Any advice on how to use it? I'm not sure why anyone is mentioning screen scraping and OCR. You are right to think that you can just pick up the text entry events sent to the window. You might want to look at AutoHotkey (http://www.autohotkey.com/) you can use this to either tee the user input to your terminal program /or/ inspect the labeled elements of the windows program by name (a far better idea). I used something like this to interface some windows based software for a laser scanner with a low level embedded robotics chassis where I needed to send some stuff over a socket from the command line. It has a nice macro record feature, so you can record cycling through the entry boxes and then save this macro. Open it up in an editor and just add a bit of foo to dump it into your terminal program, then your users will just have to run your macro with the window open, or you just set the macro to trigger on title change (or whatever) of the window for the application of interest. http://rosettacode.org/wiki/Category:AutoHotkey might help you get up and running too. Best, Matt-- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] IRC Channel
I'm using X-Chat on Windows 7 right now and noticed it was also available for Ubuntu. I tried connecting to #unicon using Ubuntu's provided Empathy and had no problem. From: Matt Oates (Home) mattoa...@gmail.com To: jeff...@uidaho.edu Cc: Unicon group unicon-group@lists.sourceforge.net Sent: Monday, September 19, 2011 7:31 AM Subject: Re: [Unicon-group] IRC Channel Hi Clint, On 16 September 2011 22:01, Clinton Jeffery jeff...@cs.uidaho.edu wrote: I would welcome a set of written instructions regarding how to participate in the Unicon IRC that I can post to the unicon.org home page. Someone probably set it up, told me/us it was there in an e-mail, and either I dropped the ball or I didn't think of posting instructions on the home page. Personally I am not normally an IRC user, but I could learn to be; I support all media that helps us connect with each other. Adding iframe src=http://webchat.freenode.net?channels=unicon; width=647 height=400/iframe to a unicon.org page will embed IRC chat. This is good for brief visits but xchat or irssi (from the command line) are better clients to use for longterm lurking. Freenode is also the correct place to be for an open source project. Best, Matt. --- http://www.mattoates.co.uk http://bccs.bris.ac.uk -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group-- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] OT: Scraping data from Windows app screen
I need to pick up the text (field prompts and data) from a data entry screen. Is there a utility which could do such? An array of text by rows would be preferable, but other formats would likely suffice. Thanks, Steve -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] IRC Channel
Is there a unicon IRC channel? If so, on which network is it found? Thanks, Steve-- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Fw: OT: Scraping data from Windows app screen
- Forwarded Message - From: Steve Graham jsgraha...@yahoo.com To: jeff...@uidaho.edu jeff...@uidaho.edu Sent: Friday, September 16, 2011 2:53 PM Subject: Re: [Unicon-group] OT: Scraping data from Windows app screen Okay. Here's the situation. A group at work is already entering data into a Windows-based application. Now they are also supposed to be putting in much the same data into a 2nd terminal-based app. So, I'm thinking there must be a way to pick up the data already entered into the first app (i.e. through scraping from the 1st app's window) and automatically place it into the 2nd app. It could be a Unicon question if I can figure out how to do it - i.e. figure out the 1st app's handle and use the api to pick up Window Text, field text, etc. Or perhaps there's already an app in existence to do such. That's why I titled it starting with OT. Thanks, Steve From: Clinton Jeffery jeff...@cs.uidaho.edu To: Steve Graham jsgraha...@yahoo.com Cc: Unicon Mailing List unicon-group@lists.sourceforge.net Sent: Friday, September 16, 2011 2:45 PM Subject: Re: [Unicon-group] OT: Scraping data from Windows app screen Steve, Is this a Unicon question, or a question about grabbing things from an external application? Mr. Sampson's suggestion of an OCR utility sounds like a good fit for the latter, but I am not sure that's the problem you are trying to solve. You might get more or different answers from the group if we understand your context better. Cheers, Clint On Fri, Sep 16, 2011 at 9:07 AM, Steve Graham jsgraha...@yahoo.com wrote: I need to pick up the text (field prompts and data) from a data entry screen. Is there a utility which could do such? An array of text by rows would be preferable, but other formats would likely suffice. Thanks, Steve -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Fw: IRC Channel
- Forwarded Message - From: Steve Graham jsgraha...@yahoo.com To: jeff...@uidaho.edu jeff...@uidaho.edu Sent: Friday, September 16, 2011 2:57 PM Subject: Re: [Unicon-group] IRC Channel Neat. Will have to look at it. I noticed on google that an IRC channel was set up. I guess few people used it. Would IRC work? From: Clinton Jeffery jeff...@cs.uidaho.edu To: Steve Graham jsgraha...@yahoo.com Cc: Unicon Mailing List unicon-group@lists.sourceforge.net Sent: Friday, September 16, 2011 2:55 PM Subject: Re: [Unicon-group] IRC Channel If there is a unicon IRC channel, I do not know about it, and I think I would. For the past 7 years I have been working on (and working toward) building an environment that would be our community's real time chat hangout spot... but despite my and my students' efforts, it still eludes what I would consider production-quality ready-for-prime-time status. Still, it is written in Unicon and might be fun for some of you to play with. In its current incarnation it is called CVE and lives at cve.sourceforge.net. There are Windows binaries and a source distribution is preferred for the UNIX-based platforms. Yes, I think we will bring this idea to a usable state someday. :-) Cheers, Clint On Fri, Sep 16, 2011 at 11:54 AM, Steve Graham jsgraha...@yahoo.com wrote: Is there a unicon IRC channel? If so, on which network is it found? Thanks, Steve -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] IRC Channel
I'm using X-Chat, am on the freenode network and have joined the #unicon channel. This link - http://xchat.org/docs/start/ - should provide info on how to use it to get started. Steve From: Clinton Jeffery jeff...@cs.uidaho.edu To: Steve Graham jsgraha...@yahoo.com Cc: Unicon group unicon-group@lists.sourceforge.net Sent: Friday, September 16, 2011 3:01 PM Subject: Re: [Unicon-group] IRC Channel I would welcome a set of written instructions regarding how to participate in the Unicon IRC that I can post to the unicon.org home page. Someone probably set it up, told me/us it was there in an e-mail, and either I dropped the ball or I didn't think of posting instructions on the home page. Personally I am not normally an IRC user, but I could learn to be; I support all media that helps us connect with each other. Cheers, Clint On Fri, Sep 16, 2011 at 1:57 PM, Steve Graham jsgraha...@yahoo.com wrote: Neat. Will have to look at it. I noticed on google that an IRC channel was set up. I guess few people used it. Would IRC work? From: Clinton Jeffery jeff...@cs.uidaho.edu To: Steve Graham jsgraha...@yahoo.com Cc: Unicon Mailing List unicon-group@lists.sourceforge.net Sent: Friday, September 16, 2011 2:55 PM Subject: Re: [Unicon-group] IRC Channel If there is a unicon IRC channel, I do not know about it, and I think I would. For the past 7 years I have been working on (and working toward) building an environment that would be our community's real time chat hangout spot... but despite my and my students' efforts, it still eludes what I would consider production-quality ready-for-prime-time status. Still, it is written in Unicon and might be fun for some of you to play with. In its current incarnation it is called CVE and lives at cve.sourceforge.net. There are Windows binaries and a source distribution is preferred for the UNIX-based platforms. Yes, I think we will bring this idea to a usable state someday. :-) Cheers, Clint On Fri, Sep 16, 2011 at 11:54 AM, Steve Graham jsgraha...@yahoo.com wrote: Is there a unicon IRC channel? If so, on which network is it found? Thanks, Steve -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] How to confirm the version?
I wonder if all of us who use/follow Unicon/Icon are of your age? --- On Fri, 7/15/11, Jonathan Kaye jdkay...@gmail.com wrote: From: Jonathan Kaye jdkay...@gmail.com Subject: Re: [Unicon-group] How to confirm the version? To: Cc: unicon-group@lists.sourceforge.net Date: Friday, July 15, 2011, 7:47 AM Jafar Al-Gharaibeh ha scritto il 15/07/2011 11:19: If you receive unicon-group emails then you should have gotten an email earlier today (or is it yesterday! as it is 2:15am) that talks about few thread tests. In summary unicon/tests/thread includes few threads tests and you should have Unicon 12 for them to work. Try running sum several times and give it 1, 2 and then 4 as command line arguments one at a time (# of threads). -Jafar Hi Jafar, Here's the results. jdkaye@AttilaII:~/unicon/trunk/unicon/tests/thread$ ./sum 1 running 1 thread(s) please wait... Thread 1 is done sum=1 time:31 seconds jdkaye@AttilaII:~/unicon/trunk/unicon/tests/thread$ ./sum 2 running 2 thread(s) please wait... Thread 2 is done Thread 1 is done sum=1 time:15 seconds jdkaye@AttilaII:~/unicon/trunk/unicon/tests/thread$ ./sum 4 running 4 thread(s) please wait... Thread 2 is done Thread 3 is done Thread 4 is done Thread 1 is done sum=1 time:16 seconds So I guess I really do have version 12. I'll edit version.h and recompile just so I can keep track of which version I'm running. At my age I can't count on my memory. ;) Ciao, jdk -- Jonathan Kaye Sip Phones: jdk...@sip2sip.info 92...@iptel.org Registered Linux user #445917 at http://counter.li.org/ -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Birth Year/Ages
Space ships - Oh you mean the ones in comic books? Steve --- 1952What Events HappenedIsrael Albert Einstein refuses Presidency of IsraelWorld Big Bang Theory of the creation of the Universe first propoundedUK Elizabeth II becomes Queen upon the death of her father George VI.UK De Havilland 110 fighter aircraft breaks up over spectators at Farnborough Air Show killing 30UK Three Trains crash at Harrow in North LondonKenya The Mau Mau Rebellion starts in KenyaSouth Africa South African Police Arrest Nelson MandellaIndia India holds it's first general electionsUK Thick smog in London on December 4th , England causes 4,000 fatalitiesUK Britain announces it has Atomic BombU.S. Live Atomic bomb Test from testing site in Yucca Flats,Nevada shown on TelevisionU.S. California has it's second largest earthquake rocking 100,000 sq milesU.S. Charlie Chaplin refused entry back to the US after living in Hollywood for 20 years.U.S. Rocky Marciano becomes world heavyweight champion after knocking out Jersey Joe WalcottU.S. Vice Presidential Candidate Richard M. Nixon defends himself on Television over allegations of secret cash fundU.S. 3300 die of polio in U.S.; 57,000 children are paralyzedUK The Last London Trams DecommissionedIndia Mother Teresa opens the home for dying and destitute in CalcuttaFinland The Summer Olympics are held in July in Helsinki, FinlandPuerto Rico Puerto Rico becomes a Self Governing Commonwealth Of the United StatesU.S. Steel Plants Placed Under Presidential Control after Steel Unions Threaten to StrikeEgypt Military coup d'etat in Egypt headed by NasserNorway The Winter Olympic Games are held in Oslo, Norway --- On Fri, 7/15/11, David Gamey david.ga...@rogers.com wrote: From: David Gamey david.ga...@rogers.com Subject: Re: [Unicon-group] How to confirm the version? To: Steve Graham jsgraha...@yahoo.com Date: Friday, July 15, 2011, 11:29 AM Steve, We should conduct a survey with a few age buckets. Born before Sputnik, Mercury, Gemini, Apollo 11, Skylab, Space Shuttle, Hubble ... :) I'm a Mercury David From: Steve Graham jsgraha...@yahoo.com To: Jonathan Kaye jdkay...@gmail.com Cc: unicon-group@lists.sourceforge.net Sent: Fri, July 15, 2011 11:12:41 AM Subject: Re: [Unicon-group] How to confirm the version? I wonder if all of us who use/follow Unicon/Icon are of your age? --- On Fri, 7/15/11, Jonathan Kaye jdkay...@gmail.com wrote: From: Jonathan Kaye jdkay...@gmail.com Subject: Re: [Unicon-group] How to confirm the version? To: Cc: unicon-group@lists.sourceforge.net Date: Friday, July 15, 2011, 7:47 AM Jafar Al-Gharaibeh ha scritto il 15/07/2011 11:19: If you receive unicon-group emails then you should have gotten an email earlier today (or is it yesterday! as it is 2:15am) that talks about few thread tests. In summary unicon/tests/thread includes few threads tests and you should have Unicon 12 for them to work. Try running sum several times and give it 1, 2 and then 4 as command line arguments one at a time (# of threads). -Jafar Hi Jafar, Here's the results. jdkaye@AttilaII:~/unicon/trunk/unicon/tests/thread$ ./sum 1 running 1 thread(s) please wait... Thread 1 is done sum=1 time:31 seconds jdkaye@AttilaII:~/unicon/trunk/unicon/tests/thread$ ./sum 2 running 2 thread(s) please wait... Thread 2 is done Thread 1 is done sum=1 time:15 seconds jdkaye@AttilaII:~/unicon/trunk/unicon/tests/thread$ ./sum 4 running 4 thread(s) please wait... Thread 2 is done Thread 3 is done Thread 4 is done Thread 1 is done sum=1 time:16 seconds So I guess I really do have version 12. I'll edit version.h and recompile just so I can keep track of which version I'm running. At my age I can't count on my memory. ;) Ciao, jdk -- Jonathan Kaye Sip Phones: jdk...@sip2sip.info 92...@iptel.org Registered Linux user #445917 at http://counter.li.org/ -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Age Buckets (Was - Re: How to confirm the version?)
Did I miss a bucket? Which bucket are you in? --- On Fri, 7/15/11, Phillip p...@firefly.nlm.nih.gov wrote: From: Phillip p...@firefly.nlm.nih.gov Subject: Re: [Unicon-group] Age Buckets (Was - Re: How to confirm the version?) To: Steve Graham jsgraha...@yahoo.com Cc: unicon-group@lists.sourceforge.net Date: Friday, July 15, 2011, 2:36 PM I'm in, too. Give me a few years and I'll try to reach a higher bracket. --Phillip On Fri, 15 Jul 2011, Steve Graham wrote: Who let the kid into our group ;=) --- On Fri, 7/15/11, Jafar Al-Gharaibeh to.ja...@gmail.com wrote: From: Jafar Al-Gharaibeh to.ja...@gmail.com Subject: Re: [Unicon-group] Age Buckets (Was - Re: How to confirm the version?) To: Steve Wampler swamp...@noao.edu Cc: unicon-group@lists.sourceforge.net Date: Friday, July 15, 2011, 1:37 PM On Fri, Jul 15, 2011 at 10:30 AM, Steve Wampler swamp...@noao.edu wrote: On 07/15/2011 08:50 AM, David Gamey wrote: I'm in *From:* Steve Graham jsgraha...@yahoo.com *To:* unicon-group@lists.sourceforge.net *Sent:* Fri, July 15, 2011 11:41:43 AM *Subject:* [Unicon-group] Age Buckets (Was - Re: How to confirm the version?) Feel free to update 1 - 20: 0 21-30: 0 31-40: 1 41-50: 0 51-60: 2 61-70: 2 71-80: 0 81-??: 0 Space shuttle is in ;) . (Even though space shuttles are now things of the past since the program ended few days ago) -Jafar -Inline Attachment Follows- -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -Inline Attachment Follows- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Age Buckets (Was - Re: How to confirm the version?)
;-) 1 - 20: 0 21-30: 0 31-40: 1 41-50: 0 51-60: 2 61-70: 3 71-80: 0 81-??: 0 --- On Fri, 7/15/11, Jafar Al-Gharaibeh to.ja...@gmail.com wrote: From: Jafar Al-Gharaibeh to.ja...@gmail.com Subject: Re: [Unicon-group] Age Buckets (Was - Re: How to confirm the version?) To: Phillip p...@firefly.nlm.nih.gov Cc: Steve Graham jsgraha...@yahoo.com, unicon-group@lists.sourceforge.net Date: Friday, July 15, 2011, 3:00 PM Steve, I think we have just experienced a concurrency synchronization issue! Jon edit was overwritten by Phillip. I think 61-70 should be 3 not 2. -Jafarhere is a threat to justice everywhere Dr. King -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Stripping HTML
Is there any code in the Unicon library to strip HTML from a file? Thanks, Steve -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] system()
I'm trying to copy a file from within a program using system(copy hts.txt hts_20110224346390.txt,,,error file). I get no error output to the DOS window from which I launch the program and, while the error file is created, its size is 0. Any ideas why no copy occurred? I am using Windows 7 (64-bit). Thanks, Steve -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Syntax Errors
Thank you for all of your help and suggestions. I never could have done this or other projects without your support. Steve --- On Mon, Feb 21, 2011 at 7:44 PM, Steve Graham solitary.wandere...@gmail.com wrote: When trying to compile a route, I keep getting syntax error (400;369) Here is the snippet that offends. The line is marked. procedure printReport(districts) local district, i, routes outrp := open(route_print.txt, w) | stop(Unable to write to route_print.txt) every district := (1 | 2 | 3 | X) do { write(outrp, District ,i) routes := sort(districts[district],3) every i := 1 to *routes by 2 { j := ((i - 1) * 2) + 1 --if (i == 1) then write(outrp) write(outrp,Route , j) write(\n Home Teachers) every htwrite(outrp, , pop(routes[i+1, hts])) write(\n Families) every write(outrp, , pop(routes[i+1, families])) } } close(outrp) end I hope you see something I am missing. Steve -- Index, Search Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Table of procedures
I developed a GUI application which has 36 nearly identical screen areas composed of a label, radio button, list and textlist. To minimize the code writing and to increase the program's accuracy I got 1 area working and then developed another program to write the same area code 36 times into another program, allowing for differences in screen placement. A big challenge was how to write code which would be able to access any area's attributes. So I settled upon a technique from Forth - I created a table to store the different screen attributes, indexed by the area #. I was excited to discover that Unicon let me store the actual objects (or references to them) into a table, thus allowing me to write code like: procedureStore[j + 3].set_selection_list(makeSelectionList(list1, list2)) procedureStore[j + 3].set_selection(1) My continuing thanks to Clint, Jafar, Susie, Ralph, and all of the others who designed such wonderful languages such as Unicon and Icon and continue to provide assistance to those who wish to utilize them. Steve Graham -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] ivib question
I'm trying my hand at a windows app and I've set up 2 selection lists in ivib. For each list's event, I chose SELECTION_KEY_EVENT. And what I'd like to happen is when the user chooses from a selection list, I would like to capture which entry they chose. Not knowing how to do that, I changed the method to simply print which list # was selected. When I moved the cursor over the list without pressing any key, the method would fire. Any ideas how I can capture the entry selected? Thanks, Steve -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] IDE peculiarities on Windows 7 Professional (64)
Another thing I've noticed is that when I load a .icn file and try to create an executable, I get a message in the lower window, such as wuncion -quiet -log C:\Users\Steve\AppData\Local\Temp\ui11769501 farb.icn However, I see no error messages and no created executables. Also the odd thing is my OS (Windows 7 Home Premium (64-bit) will not allow me to create the AppData folder. Steve --- On Tue, Feb 1, 2011 at 9:43 AM, Edward A. Feustel efeus...@hughes.netwrote: In trying to develop for Windows 7 Professional, I noticed two peculiarities: 1. Looking at programs running on previous operating systems, in the ide, I get a version of lines in black and an underlying version in green displaced by about 5 spaces to the right. Only indented lines (that had tabs) seemed to be affected. 2. When using the mouse to select a character in the IDE, the point selected seems to be about 5-6 characters to the right except for the last character in the line which is the correct character. This seems to occur whether there is a tab in the line or not. Is there a different version of the system for 64 bit OS? Thanks, Ed Feustel -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] IDE peculiarities on Windows 7 Professional (64)
On Tue, Feb 1, 2011 at 10:40 AM, Steve Graham solitary.wandere...@gmail.com wrote: I noticed that wunicon seemed to be calling wicont. So, I tried compiling farb.icn (in the ipl/progs dir) with wicont. It could not do it. Neither could icont. Steve === On Tue, Feb 1, 2011 at 10:34 AM, Steve Graham solitary.wandere...@gmail.com wrote: Another thing I've noticed is that when I load a .icn file and try to create an executable, I get a message in the lower window, such as wuncion -quiet -log C:\Users\Steve\AppData\Local\Temp\ui11769501 farb.icn However, I see no error messages and no created executables. Also the odd thing is my OS (Windows 7 Home Premium (64-bit) will not allow me to create the AppData folder. Steve --- On Tue, Feb 1, 2011 at 9:43 AM, Edward A. Feustel efeus...@hughes.netwrote: In trying to develop for Windows 7 Professional, I noticed two peculiarities: 1. Looking at programs running on previous operating systems, in the ide, I get a version of lines in black and an underlying version in green displaced by about 5 spaces to the right. Only indented lines (that had tabs) seemed to be affected. 2. When using the mouse to select a character in the IDE, the point selected seems to be about 5-6 characters to the right except for the last character in the line which is the correct character. This seems to occur whether there is a tab in the line or not. Is there a different version of the system for 64 bit OS? Thanks, Ed Feustel -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Error messages and unfinished projects ... and a flame-bait sidetrack
Don't you guys ever sleep-;) On Fri Jan 28th, 2011 3:51 AM EST Clinton Jeffery wrote: I like Python. Its designer made good use of some of the best ideas from other languages, unlike many scripting languages whose authors seem to have had only one source of inspiration. If Python had real generators with goal-directed evaluation, and cleaner IO, and didn't have indentation-based syntax I might join you Michael. But really, it hasn't beaten Icon on several key elements, despite having borrowed some ideas from Icon. But please use whatever tools are best for you. Within this community, everyone is welcome to their own opinion about what language is best or what is needed in order to make Unicon more popular. However, the main impacts in the Unicon community are made by those folks who DO something to advance the language. Talking counts... when it leads to oneself or others doing something. Although I maintain the help wanted list, it is an open list and we are all ears as far as suggestions on things that need doing. Besides doing things myself or hiring students to do work when that solution fits, I have been astounded and grateful for the code contributions of volunteers, and am happy to give technical support and advice when folks can use it. I like many of the comments in this thread and am responding to some of them, not just to Michael. The showing what the language can do idea is fundamental. The Unicon book tries hard to do that, but it is just a beginning. The best way to show what the language can do is to open the code contribution doors wider to whomever chooses to share things that they've written in Unicon. The range of backgrounds and interests in this community is remarkable. For my part, I shared much of the early stuff I did directly in chapters of the Unicon book. Since then I've drafted a book on computer games in Unicon (about half-written), and we've written a 3D multi-user virtual environment in Unicon (which will need a book to tell its story, if it ever gets finished). The main external customers have some pretty awesome Unicon programs but they are not demo programs to be shared or used for language marketing purposes. :-) I am not sure how to best market Unicon, I am a CS professor not a marketer. But I agree with the comment that we need a webmaster, among other volunteer positions. I have been unable, apparently, to do my day job well and also keep source code distributions, documentation, and website very up to date. I continue to work on that, and may improve some. The kids are getting older now and taking less of my time :-). I have also allowed students to help some with code updates, but their main job is to do research, as is mine. Research with Unicon originally was to drag Icon kicking and screaming into the modern age of computing. I think we've been very busy doing that and not doing promotion or community development. With the threads facility nearing beta we are nearing another major leap forward, but unless you were into updating source code and reading conference papers and asking questions, you probably haven't been told much about the past few years' work on Unicon. Sorry! In any case, this response is not intended to finish the thread, please keep the comments, questions, and calls-to-action coming. Cheers, Clint On Thu, Jan 27, 2011 at 7:49 PM, Michael Glass re...@mglass.org wrote: I am someone who started using Icon as my utility programming language about 25 years ago. But I have pretty much switched to Python. I have not created any new Unicon code in several years except for maintenance and some toy codes just for fun and practice. And I love Icon/Unicon. But Python seems to have passed it by, both in terms of convenient language capabilities and available library packages. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Code challenge
I saw this on comp.lang.smalltalk.dolphin and what struck me was how wordy it was. They're just trying to replace all occurrences of a substring in a string with another substring. In my work language (MUMPS), I would do this as follows: replace(a,str1,str2) ; n fnd s fnd=0 f s fnd=$f(a,str1,fnd) q:'fnd s $e(a,fnd-$l(str1),fnd-1)=str2 q a How would you do it in Unicon? Steve --- Smalltalk version: replaceAll: aSubstring with: aReplacementString | subStringCollection newString | (self findString: aSubstring) 1 ifTrue: [^newString := self] ifFalse: [newString := String new. subStringCollection := self subStrings: aSubstring. subStringCollection do: [:eachString | newString := newString , eachString , aReplacementString]]. ^newString. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] find() question
Clint, Why did this program work with while substituted for every? Is the string still not an immutable type? Steve --- On Wed, Jul 21, 2010 at 2:45 PM, Clinton Jeffery jeff...@cs.uidaho.eduwrote: As you may recall, strings are immutable and the generator find() is working on the string that it was passed, not some new string that has been assigned to that same variable later on. In an every, find() is not called again, so astring is not being re-evaluated each time through the loop -- the call-in-progress is resumed where it left off. Clint On Wed, Jul 21, 2010 at 1:40 PM, Steve Graham solitary.wandere...@gmail.com wrote: procedure test() astring := honolulu write(astring=,astring) every fnd := find(lu,astring) do { write(fnd=,fnd) astring[fnd:fnd+2] := write(astring=,astring) write() astring := astring } write(End: astring=,astring) end Invoking this from main() gives the following output: astring=honolulu fnd=5 astring=honolu fnd=7 astring=honolu End: astring=honolu I would have thought that it would have given a value of fnd=5 twice. What am I missing? Steve -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] find() question
Thanks, Clint. I thought it was something like that - just didn't realize that strings were immutable. Here's a variant that now works. The solution? Substitute while for every. procedure test() astring := luabclud write(astring=,astring) while fnd := find(lu,astring) do { write(fnd=,fnd) astring[fnd:fnd+2] := write(astring=,astring) write() astring := astring } write(End: astring=,astring) end Output: astring=luabclud fnd=1 astring=abclud fnd=4 astring=abcd End: astring=abcd Steve --- On Wed, 7/21/10, Clinton Jeffery jeff...@cs.uidaho.edu wrote: From: Clinton Jeffery jeff...@cs.uidaho.edu Subject: Re: [Unicon-group] find() question To: Steve Graham solitary.wandere...@gmail.com Cc: unicon-group@lists.sourceforge.net Date: Wednesday, July 21, 2010, 4:45 PM As you may recall, strings are immutable and the generator find() is working on the string that it was passed, not some new string that has been assigned to that same variable later on. In an every, find() is not called again, so astring is not being re-evaluated each time through the loop -- the call-in-progress is resumed where it left off. Clint On Wed, Jul 21, 2010 at 1:40 PM, Steve Graham solitary.wandere...@gmail.com wrote: procedure test() astring := honolulu write(astring=,astring) every fnd := find(lu,astring) do { write(fnd=,fnd) astring[fnd:fnd+2] := write(astring=,astring) write() astring := astring } write(End: astring=,astring) end Invoking this from main() gives the following output: astring=honolulu fnd=5 astring=honolu fnd=7 astring=honolu End: astring=honolu I would have thought that it would have given a value of fnd=5 twice. What am I missing? Steve -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -Inline Attachment Follows- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first -Inline Attachment Follows- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Problem opening file
I thought I would see what you got when you only included 1 backslash in the file description in Unicon: C:\Program Files (x86)\Unicon\bindelete_spaces.exe This is in: c:userssteve⌂esktop⌂d_va.go Interesting. Another question: When I'm using the IDE, the date/time stamp changes on the .icn file when I click the Save button. However, when I click the Compile/Exe button, the date/time stamp of the .exe file does not change. However, I do get the following message displayed in the message window: wunicon -quiet -log C:\Users\Steve\AppData\Local\Temp\ui2427 delete_spaces.icn Any idea how I can update the .exe file? Thanks for everything, Steve --- --- On Fri, 6/18/10, Frank J. Lhota frank...@rcn.com wrote: From: Frank J. Lhota frank...@rcn.com Subject: Re: [Unicon-group] Problem opening file To: unicon-group@lists.sourceforge.net Date: Friday, June 18, 2010, 6:51 AM On 6/17/2010 7:26 PM, Andrew Clarke wrote: Not sure what you mean here, but it's merely an issue of writing the program literal in Icon code. Windows supports / in paths, in fact this feature of Windows has been around from day 1 of MS-DOS 2.0, long before Windows was a twinkle in Bill Gates wallet. That's not quite true. As a default, MS-DOS 2.0 and later used '/' as the command line switch character, and '\' as the directory separator. MS-DOS 2.0+ did have undocumented DOS functions for getting / setting both the switch character and the directory separator character. DOS ports of Unix utilities, such as the MKS toolkit, took advantage of these undocumented calls to use '-' for switches and '/' for the directory separator. Unfortunately, support for these undocumented calls disappeared in the last few versions of MS-DOS. As far as I know, Windows does nothing to support using '/' as a directory separator. Many newer applications do use '-' for switches, however. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Problem opening file
To be more explicit, this is the program which printed the string below: procedure main() in := c:\users\steve\desktop\dd_va.go write(This is in: ,in) end Steve --- On Fri, Jun 18, 2010 at 10:07 AM, Steve Graham jsgraha...@yahoo.com wrote: I thought I would see what you got when you only included 1 backslash in the file description in Unicon: C:\Program Files (x86)\Unicon\bindelete_spaces.exe This is in: c:userssteve⌂esktop⌂d_va.go Interesting. Another question: When I'm using the IDE, the date/time stamp changes on the .icn file when I click the Save button. However, when I click the Compile/Exe button, the date/time stamp of the .exe file does not change. However, I do get the following message displayed in the message window: wunicon -quiet -log C:\Users\Steve\AppData\Local\Temp\ui2427 delete_spaces.icn Any idea how I can update the .exe file? Thanks for everything, Steve --- --- On *Fri, 6/18/10, Frank J. Lhota frank...@rcn.com* wrote: From: Frank J. Lhota frank...@rcn.com Subject: Re: [Unicon-group] Problem opening file To: unicon-group@lists.sourceforge.net Date: Friday, June 18, 2010, 6:51 AM On 6/17/2010 7:26 PM, Andrew Clarke wrote: Not sure what you mean here, but it's merely an issue of writing the program literal in Icon code. Windows supports / in paths, in fact this feature of Windows has been around from day 1 of MS-DOS 2.0, long before Windows was a twinkle in Bill Gates wallet. That's not quite true. As a default, MS-DOS 2.0 and later used '/' as the command line switch character, and '\' as the directory separator. MS-DOS 2.0+ did have undocumented DOS functions for getting / setting both the switch character and the directory separator character. DOS ports of Unix utilities, such as the MKS toolkit, took advantage of these undocumented calls to use '-' for switches and '/' for the directory separator. Unfortunately, support for these undocumented calls disappeared in the last few versions of MS-DOS. As far as I know, Windows does nothing to support using '/' as a directory separator. Many newer applications do use '-' for switches, however. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Unicon-group mailing list Unicon-group@lists.sourceforge.nethttp://mc/compose?to=unicon-gr...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Problem opening file
Thanks, Jafar. I see that. Steve On Fri, Jun 18, 2010 at 10:47 AM, Jafar Al-Gharaibeh to.ja...@gmail.comwrote: Steve, The Unicon book (at unicon.org) page 37 has table of escape codes and character that can be used in strings in Unicon. From what I see in your example Unicon ignores the undefined escaped characters and just deletes the backslash. However \d is Control-D which is being replaced in the string below. Jafar On Fri, Jun 18, 2010 at 12:18 PM, Steve Graham solitary.wandere...@gmail.com wrote: To be more explicit, this is the program which printed the string below: procedure main() in := c:\users\steve\desktop\dd_va.go write(This is in: ,in) end Steve --- On Fri, Jun 18, 2010 at 10:07 AM, Steve Graham jsgraha...@yahoo.comwrote: I thought I would see what you got when you only included 1 backslash in the file description in Unicon: C:\Program Files (x86)\Unicon\bindelete_spaces.exe This is in: c:userssteve⌂esktop⌂d_va.go Interesting. Another question: When I'm using the IDE, the date/time stamp changes on the .icn file when I click the Save button. However, when I click the Compile/Exe button, the date/time stamp of the .exe file does not change. However, I do get the following message displayed in the message window: wunicon -quiet -log C:\Users\Steve\AppData\Local\Temp\ui2427 delete_spaces.icn Any idea how I can update the .exe file? Thanks for everything, Steve --- --- On *Fri, 6/18/10, Frank J. Lhota frank...@rcn.com* wrote: From: Frank J. Lhota frank...@rcn.com Subject: Re: [Unicon-group] Problem opening file To: unicon-group@lists.sourceforge.net Date: Friday, June 18, 2010, 6:51 AM On 6/17/2010 7:26 PM, Andrew Clarke wrote: Not sure what you mean here, but it's merely an issue of writing the program literal in Icon code. Windows supports / in paths, in fact this feature of Windows has been around from day 1 of MS-DOS 2.0, long before Windows was a twinkle in Bill Gates wallet. That's not quite true. As a default, MS-DOS 2.0 and later used '/' as the command line switch character, and '\' as the directory separator. MS-DOS 2.0+ did have undocumented DOS functions for getting / setting both the switch character and the directory separator character. DOS ports of Unix utilities, such as the MKS toolkit, took advantage of these undocumented calls to use '-' for switches and '/' for the directory separator. Unfortunately, support for these undocumented calls disappeared in the last few versions of MS-DOS. As far as I know, Windows does nothing to support using '/' as a directory separator. Many newer applications do use '-' for switches, however. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Unicon-group mailing list Unicon-group@lists.sourceforge.nethttp://mc/compose?to=unicon-gr...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Let there be no compulsion in religion: Truth stands out clear from error [The Holy Qur'an 2:256] Injustice anywhere is a threat to justice everywhereDr. King -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Problem opening file
I'm running the following program on a Windows 7 x64 box. When I execute icont delete_spaces.icn I get the following: Translating: delete_spaces.icn: main No errors Linking: When I execute this: C:\Program Files (x86)\Unicon\bindelete_spaces I get this: Unable to open input file I've checked security on the file and directory - They're owned by me and look okay. Probably a simple thing. Any help would be appreciated. Steve -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Problem opening file
Thanks Wade and all. That fixed it. Thanks, Steve --- On Thu, 6/17/10, Wade Bowmer sta...@yceran.org wrote: From: Wade Bowmer sta...@yceran.org Subject: Re: [Unicon-group] Problem opening file To: Unicon Mailing List unicon-group@lists.sourceforge.net Date: Thursday, June 17, 2010, 5:12 PM On Fri, 18 Jun 2010 03:57:55 +1000, Steve Graham jsgraha...@yahoo.com wrote: Thanks, Hugh. Forgot to include the most important thing! ---Backslashes are your problem. They won't work in Unicon strings like that. Either double them or replace them with forward slashes.Wade procedure main() in := open(c:\users\steve\desktop\dd_va.go,r) | stop(Unable to open input file) out := open(c:\users\steve\desktop\dd_va2.go,w) | stop(Unable to open output file) while (line := read(in)) do { read(in) write(out,line) } close(in) close(out) a := 1 end --- --- On Thu, 6/17/10, Hugh Sasse h...@dmu.ac.uk wrote: From: Hugh Sasse h...@dmu.ac.uk Subject: Re: [Unicon-group] Problem opening file To: Steve Graham jsgraha...@yahoo.com Cc: Unicon Mailing List unicon-group@lists.sourceforge.net Date: Thursday, June 17, 2010, 1:51 PM I'm not seeing the program in any attachments. Are you opening the file to be altered (read + write access)? Under Vista 64 I've had things locked by anti-virus programs in a way opaque to me as a user, only when the AV has done its job does normality return. That's when I've been trying to move, delete or otherwise write to the file. I don't know how to diagnose those further, so hope you get some other help. Hugh On Thu, 17 Jun 2010, Steve Graham wrote: I'm running the following program on a Windows 7 x64 box. When I execute icont delete_spaces.icn I get the following: Translating: delete_spaces.icn: main No errors Linking: When I execute this: C:\Program Files (x86)\Unicon\bindelete_spaces I get this: Unable to open input file I've checked security on the file and directory - They're owned by me and look okay. Probably a simple thing. Any help would be appreciated. Steve -Inline Attachment Follows- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo -Inline Attachment Follows- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Procedure in program never called
Why wasn't the original solution finding all of the words in each line? Steve On Thu, Oct 29, 2009 at 2:19 PM, Steve Wampler swamp...@noao.edu wrote: Sidney Reilley II wrote: #!/opt/local/bin/icon global letters procedure main() while word_length(read()) printout() end procedure word_length(line) local length initial letters := list(20,0) if line == . then stop(Bye) line ? while length := (write(*tab(many(letters do { tab(many(' .,;:!')) letters[length] +:= 1 } return end procedure printout() local n every n:= 1 to 10 do write(There are ,letters[n],,n,letter words.) return end Hi Sid, A number of people have pointed out the problem, but are you also interested in suggestions on hot make the solution stronger? The word counting itself can be improved. To see the problem try using the input: Aint isn't a word. -- Steve Wampler -- swamp...@noao.edu The gods that smiled on your birth are now laughing out loud. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Icon programming for humanists
Clint, When will the link be up on the website? Steve --- On Fri, 8/14/09, Clinton Jeffery jeff...@cs.uidaho.edu wrote: From: Clinton Jeffery jeff...@cs.uidaho.edu Subject: [Unicon-group] Icon programming for humanists To: Unicon group unicon-group@lists.sourceforge.net Date: Friday, August 14, 2009, 3:08 AM Dear friends, A draft of the 2nd edition of Alan Corre's Icon Programming for Humanists is available for public comment; a link is on the Jeffery Systems page, under Books at unicon.org. We would appreciate corrections. Alan has generously contributed to the new edition of his book, and even more generously agreed that it should be made available in free electronic form. Cheers, Clint -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] UI aborting
I downloaded the version from the link below (Unicon Version 11.5, April 27, 2008) and built it and am running it on Mepis version 2007.1 (a Debian derivative). I have not experienced the problems so far that I had with the earlier version. Thanks, Clint. Steve --- On Tue, Mar 17, 2009 at 7:06 PM, Clinton Jeffery clint.jeff...@gmail.comwrote: OK, let's go public then with the release-candidate uni.zip: http://www2.cs.uidaho.edu/~jeffery/uni.ziphttp://www2.cs.uidaho.edu/%7Ejeffery/uni.zipis almost current and has a large number of fixes to Unicon, it is a candidate to replace the one on Source Forge and input is solicited. After I hear that it builds on several platforms I will update its README and copy it over to sourceforge. The CVS is still more-current but less stable than uni.zip's. I will endeavor to apply rapid fixes to the uni.zip for the next few days if I get problem reports. Cheers, Clint On Tue, Mar 17, 2009 at 5:11 PM, Steve Graham solitary.wandere...@gmail.com wrote: I am using the uni.zip version: version = Unicon Version 11.4. January 10, 2007 I did find the change font in the Options tag. Hey, I'm using free software so I'm the beggar here. Anything you have to offer, I appreciate. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Feedback on Unicon Version 11.5, April 27, 2008
I bring up ui and open a file by selecting the open button, going through the directories, and finally selecting a file. It opens up in ui just fine. Then I close it by pressing the Close button. It goes away, but ui remains open. Then I attempt to open the file by following the same steps as before. However nothing opens up in ui itself. And no errors are displayed. I then try to open it by selecting File/Open. Again nothing opens in ui. And again no errors. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Feedback on Unicon Version 11.5, April 27, 2008
What would be nice is after you go through the directories to choose a file, the next time you go to open the file the directory would default to the last one from which you chose a file. Steve On Wed, Mar 18, 2009 at 11:19 AM, Steve Graham solitary.wandere...@gmail.com wrote: I bring up ui and open a file by selecting the open button, going through the directories, and finally selecting a file. It opens up in ui just fine. Then I close it by pressing the Close button. It goes away, but ui remains open. Then I attempt to open the file by following the same steps as before. However nothing opens up in ui itself. And no errors are displayed. I then try to open it by selecting File/Open. Again nothing opens in ui. And again no errors. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Feedback on Unicon Version 11.5, April 27, 2008
I notice that after I load a file and maximize the window, that the pane containing the tabs (File, View, Config, etc) extends over the icons (New, Open, Close, etc) about halfway. BTW, I am running ui on Mepis (Debian-derivative) Linux version 2007.1 on a Celeron. Steve On Wed, Mar 18, 2009 at 11:19 AM, Steve Graham solitary.wandere...@gmail.com wrote: I bring up ui and open a file by selecting the open button, going through the directories, and finally selecting a file. It opens up in ui just fine. Then I close it by pressing the Close button. It goes away, but ui remains open. Then I attempt to open the file by following the same steps as before. However nothing opens up in ui itself. And no errors are displayed. I then try to open it by selecting File/Open. Again nothing opens in ui. And again no errors. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Problem in building Unicon 02-10-2007
I am trying to build this on a Mepis (Debian-derivative) Linux i-386 based system and got the following messages after the 2 make commands. I had similar problems in trying to set up uni.zip. I would appreciate any assistance in helping me build Unicon. TIA, Steve --- mikey...@mepis1:~/Desktop/Unicon-2007-02-10$ make X-Configure name=intel_linux make Pure /dev/null /bin/sh: line 0: cd: gpacks/README: Not a directory /bin/sh: line 0: cd: mpacks/README: Not a directory /bin/sh: line 0: cd: packs/README: Not a directory cd config/unix; make Setup-Graphics name=intel_linux make[1]: Entering directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix' cd Config; make Makefiles make[2]: Entering directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix/Config' cp ../Config/top.mak ../../../Makefile cat ../Config/rtt.mak \ ../../../src/rtt/Makefile cat ../Config/common.mak \ ../../../src/common/Makefile cat ../Config/iconc.mak \ ../../../src/iconc/Makefile cat ../Config/preproc.mak \ ../../../src/preproc/Makefile cat ../Config/icont.mak \ ../../../src/icont/Makefile cat ../Config/runtime.mak \ ../../../src/runtime/Makefile cat ../Config/xpm.mak \ ../../../src/xpm/lib/Makefile mkdir -p ../../../ipl/lib cp unicon.mak ../../../uni/unicon/makefile cp ipllib.mak ../../../ipl/lib/makefile cp ide.mak ../../../uni/ide/makefile cp ivib.mak ../../../uni/ivib/makefile cp unilib.mak ../../../uni/lib/makefile cp xml.mak ../../../uni/xml/makefile cp unidep.mak ../../../uni/unidep/makefile cp unidoc.mak ../../../uni/unidoc/makefile cp parser.mak ../../../uni/parser/makefile cp util.mak ../../../uni/util/makefile cp gui.mak ../../../uni/gui/makefile cp native.mak ../../../uni/native/makefile cp guidemos.mak ../../../uni/gui/guidemos/makefile cp docs.mak ../../../uni/unidoc/docs/makefile cp ivib-v2.mak ../../../uni/gui/ivib/makefile cp uni-top.mak ../../../uni/Makefile cp iyacc.mak ../../../uni/iyacc/Makefile cp uni-makedefs ../../../uni/makedefs make[2]: Leaving directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix/Config' cp intel_linux/define.h ../../src/h cp intel_linux/rswitch.[cs] ../../src/common cp intel_linux/Makedefs ../.. cp intel_linux/Makedefs ../../Makedefs.in echo '' ../../Makedefs if [ -f intel_linux/custom.sh ]; then cd intel_linux; sh custom.sh; fi echo '# Graphics enabled'../../Makedefs echo 'XL = -L../../bin -lXpm $(XLIBS)' ../../Makedefs echo '# Graphics enabled'../../Makedefs.in echo 'XL = -L../../bin -lXpm $(XLIBS)' ../../Makedefs.in echo '#define Graphics 1'../../src/h/define.h make[1]: Leaving directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix' sh ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if oggvorbis is wanted... yes checking for oggpack_write in -logg... no checking for vorbis_bitrate_init in -lvorbis... no checking for ov_open in -lvorbisfile... no checking ogg.h usability... no checking ogg.h presence... no checking for ogg.h... no checking vorbisfile.h usability... no checking vorbisfile.h presence... no checking for vorbisfile.h... no checking codec.h usability... no checking codec.h presence... no checking for codec.h... no checking oggvorbis in /usr... failed checking if libsdl is wanted... yes checking for SDL_AudioInit in -lSDL... no checking SDL_audio.h usability... no checking SDL_audio.h presence... no checking for SDL_audio.h... no checking libsdl in /usr... failed checking if libsmpeg is wanted... yes checking for SMPEG_playAudio in -lsmpeg... no checking smpeg.h usability... no checking smpeg.h presence... no checking for smpeg.h... no checking libsmpeg in /usr... failed checking if libopenal is wanted... yes checking for alGetSourceiv in -lopenal... no checking al.h usability... no checking al.h presence... no checking for al.h... no checking libopenal in /usr... failed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking if jvoiplib is wanted... yes checking for _ZN9RTPPacket5ClearEv in -ljrtp...
[Unicon-group] Fwd: Problem in building Unicon 02-10-2007
Well, I feel stupid. In googling this issue, I see that apparently I'd tried to do this a while ago and Clint had pointed out that I was missing Xlib.h. And sure enough I was. So a little more googling and I determined the package which needed to be downloaded and I did just that. This time when I tried 'make Unicon' I got much further. I'm also including the relevant part for the errors. Any ideas about these? TIA, Steve --- gcc -Wl,-E -L../../bin -L/usr/lib -Lbin -L/usr/lib -L/usr/openwin/lib -L/usr/lib -L/usr/lib64 -o iconx xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o xfdb.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o xrdb.o xrdebug.o xrlocal.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o xrwinrsc.o xrgfxsys.o xrwinsys.o xrwindow.o xfxtra.o xraudio.o xrposix.o xrmsg.o ../common/long.o ../common/time.o ../common/save.o ../common/rswitch.o ../common/redirerr.o ../common/xwindow.o ../common/alloc.o ../common/mlocal.o -L../../bin -lXpm -L/usr/X11R6/lib -lXpm -lX11 -lodbc -lX11 -lz -lm -L ../../bin -laudio -lm -lgdbm -ltp -lnsl -ldl /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status make[2]: *** [iconx] Error 1 make[2]: Leaving directory `/home/mikeynew/Desktop/Unicon-2007-02-10/src/runtime' make[1]: *** [interp_all] Error 2 make[1]: Leaving directory `/home/mikeynew/Desktop/Unicon-2007-02-10/src/runtime' make: *** [Icont] Error 2 mikey...@mepis1:~/Desktop/Unicon-2007-02-10$ --- --- On *Tue, 3/17/09, Steve Graham solitary.wandere...@gmail.com* wrote: From: Steve Graham solitary.wandere...@gmail.com Subject: [Unicon-group] Problem in building Unicon 02-10-2007 To: unicon-group@lists.sourceforge.net Date: Tuesday, March 17, 2009, 12:25 PM I am trying to build this on a Mepis (Debian-derivative) Linux i-386 based system and got the following messages after the 2 make commands. I had similar problems in trying to set up uni.zip. I would appreciate any assistance in helping me build Unicon. TIA, Steve --- mikey...@mepis1:~/Desktop/Unicon-2007-02-10$ make X-Configure name=intel_linux make Pure /dev/null /bin/sh: line 0: cd: gpacks/README: Not a directory /bin/sh: line 0: cd: mpacks/README: Not a directory /bin/sh: line 0: cd: packs/README: Not a directory cd config/unix; make Setup-Graphics name=intel_linux make[1]: Entering directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix' cd Config; make Makefiles make[2]: Entering directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix/Config' cp ../Config/top.mak ../../../Makefile cat ../Config/rtt.mak \ ../../../src/rtt/Makefile [snip] -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Problem in building Unicon 02-10-2007
Thanks, Jafar and all those who read and responded to my e-mails. I figured out that if the first problem was caused by a missing file, the 2nd one might be caused by the same sort of problem. So I found the development package, downloaded it and tried the make again. Voila, it worked. Thanks again to all who produced Icon/Unicon and provided assistance. Steve --- On Tue, Mar 17, 2009 at 1:04 PM, Jafar Al-Gharaibeh wrote: Steve, You are missing the X11 pixmap libarary. Install the libxpm-dev package Thanks, Jafar On Tue, Mar 17, 2009 at 11:55 AM, Steve Graham solitary.wandere...@gmail.com wrote: Well, I feel stupid. In googling this issue, I see that apparently I'd tried to do this a while ago and Clint had pointed out that I was missing Xlib.h. And sure enough I was. So a little more googling and I determined the package which needed to be downloaded and I did just that. This time when I tried 'make Unicon' I got much further. I'm also including the relevant part for the errors. Any ideas about these? TIA, Steve --- gcc -Wl,-E -L../../bin -L/usr/lib -Lbin -L/usr/lib -L/usr/openwin/lib -L/usr/lib -L/usr/lib64 -o iconx xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o xfdb.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o xrdb.o xrdebug.o xrlocal.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o xrwinrsc.o xrgfxsys.o xrwinsys.o xrwindow.o xfxtra.o xraudio.o xrposix.o xrmsg.o ../common/long.o ../common/time.o ../common/save.o ../common/rswitch.o ../common/redirerr.o ../common/xwindow.o ../common/alloc.o ../common/mlocal.o -L../../bin -lXpm -L/usr/X11R6/lib -lXpm -lX11 -lodbc -lX11 -lz -lm -L ../../bin -laudio -lm -lgdbm -ltp -lnsl -ldl /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status make[2]: *** [iconx] Error 1 make[2]: Leaving directory `/home/mikeynew/Desktop/Unicon-2007-02-10/src/runtime' make[1]: *** [interp_all] Error 2 make[1]: Leaving directory `/home/mikeynew/Desktop/Unicon-2007-02-10/src/runtime' make: *** [Icont] Error 2 mikey...@mepis1:~/Desktop/Unicon-2007-02-10$ --- --- On *Tue, 3/17/09, Steve Graham solitary.wandere...@gmail.com*wrote: From: Steve Graham solitary.wandere...@gmail.com Subject: [Unicon-group] Problem in building Unicon 02-10-2007 To: unicon-group@lists.sourceforge.net Date: Tuesday, March 17, 2009, 12:25 PM I am trying to build this on a Mepis (Debian-derivative) Linux i-386 based system and got the following messages after the 2 make commands. I had similar problems in trying to set up uni.zip. I would appreciate any assistance in helping me build Unicon. TIA, Steve --- mikey...@mepis1:~/Desktop/Unicon-2007-02-10$ make X-Configure name=intel_linux make Pure /dev/null /bin/sh: line 0: cd: gpacks/README: Not a directory /bin/sh: line 0: cd: mpacks/README: Not a directory /bin/sh: line 0: cd: packs/README: Not a directory cd config/unix; make Setup-Graphics name=intel_linux make[1]: Entering directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix' cd Config; make Makefiles make[2]: Entering directory `/home/mikeynew/Desktop/Unicon-2007-02-10/config/unix/Config' cp ../Config/top.mak ../../../Makefile cat ../Config/rtt.mak \ ../../../src/rtt/Makefile [snip] -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Let there be no compulsion in religion: Truth stands out clear from error [The Holy Qur'an 2:256] Injustice anywhere is a threat to justice everywhereDr. King -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Fonts
I've got Unicon loaded on my Linux system and I would like to improve or change the fonts it utilizes. How does on go about that? Thanks, Steve -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Fw: Re: Fonts
Actually, I wanted to choose the fonts used by ui Steve --- On Tue, 3/17/09, Clinton Jeffery clint.jeff...@gmail.com wrote: From: Clinton Jeffery clint.jeff...@gmail.com Subject: Re: [Unicon-group] Fonts To: Steve Graham solitary.wandere...@gmail.com Cc: unicon-group@lists.sourceforge.net Date: Tuesday, March 17, 2009, 5:05 PM Steve, xlsfonts lists all the fonts available on a given X server. Unicon can use all of them in graphics programs using the standard X names, and a shorter form (family,style,size) will often work. But I wasn't sure whether you mean to be asking how to add more fonts to X11 (copying in .ttf files or whatever), or whether you mean to be asking how to change a given Unicon graphics program to use a different font (by editing its font=... attribute). Which of those were you wanting, or did you want to do both? Cheers, Clint On Tue, Mar 17, 2009 at 2:39 PM, Steve Graham solitary.wandere...@gmail.com wrote: I've got Unicon loaded on my Linux system and I would like to improve or change the fonts it utilizes. How does on go about that? -Inline Attachment Follows- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -Inline Attachment Follows- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] UI aborting
I am using the uni.zip version: version = Unicon Version 11.4. January 10, 2007 I did find the change font in the Options tag. Hey, I'm using free software so I'm the beggar here. Anything you have to offer, I appreciate. Thanks, Steve --- On Tue, Mar 17, 2009 at 5:31 PM, Clinton Jeffery clint.jeff...@gmail.comwrote: Steve, The buck stops with me on ui problems, but I will carbon copy my student Hani as he has been responsible for most changes to ui in recent times. Bugs older than a certain date are not his doing. In any case, I first start with: are you working from CVS, or a uni.zip and what date does your version say? Next, I attempt to reproduce your bug in our latest bleeding edge version of ui. My report is, I think that the run-time arguments problem may have been fixed, the Run Arguments menu is ugly as heck and doesn't comply with basic usability principles but seems to work for me and I vaguely recall a fix related to it, so I'd want to see if the problem is that I haven't updated the public sources fast enough. My pre-public sources are at http://www2.cs.uidaho.edu/~jeffery/uni.ziphttp://www2.cs.uidaho.edu/%7Ejeffery/uni.zipand they are pretty current if that helps. I went on to your second reported problem, with changing the font. The current ui has a Config menu that has a Font... option. When I tried it out, it died with a runtime error on me if I didn't pick a Color, but did work (on the messages window only) when I did pick a color. So: I'm going to recommend newer sources if that's applicable, and I'm going to ask Hani to improve the dialogs and make them bulletproof. On Tue, Mar 17, 2009 at 3:05 PM, Steve Graham solitary.wandere...@gmail.com wrote: I can edit and compile from ui on Linux just fine. However, when I attempt to enter run-time arguments, the window simply disappears. Any thoughts on how to fix this? -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Help
I've got a simple problem which would cause me to pull out my hair if that was still an option. The following very short program is not printing out aField. When I run it, I see that there are 269 elements in fieldNames and they print out with the 'every write(!fieldNames)' line. However, later on they do not print out with the 'writes(aField)' line and the last line shows the list is now empty so the elements were extracted. Any ideas would be greatly appreciated. Steve === procedure main(args) local fieldNames := [] if *args = 0 then stop(No input files specified) in1 := open(args[1],r) | stop(Unable to open ', args[1], ') in2 := open(args[2],r) | stop(Unable to open ', args[2], ') while put(fieldNames,read(in1)) every write(!fieldNames) write(*fieldNames=,*fieldNames) read() while line := read(in2) do { if (find(CDATA[,line) 0) then { aField := get(fieldNames) writes( text![CDATA[) writes(aField) write(]]/text) } else { write(line) } } write(*fieldNames=,*fieldNames) end -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Web Apps with Unicon
Anyone have any experience using Unicon for web apps? Instead of Perl/Python/PHP/etc? I'd be especially interested in how much memory it took (compared to the others) and how much CPU. Steve -- ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Making Unicon
I got adventurous and decided to use version 11.4 source code to build Unicon. I downloaded the file, unzipped it to /usr/share/unicon and executed 'make X-Configure name=intel_linux'. That seemed to go well enough. Then I executed 'make Unicon'. That went less well. The errors follow. I am running Mepis Linux 7.0_32 (a derivative of Debian Linux) on a 1.7 ? GHz Celeron. I am not a C/C++ programmer so I don't think I'm going to be able to resolve this. I would appreciate any help you can render. Thank you for your help. Steve --- cd src/common; make make[1]: Entering directory `/usr/share/unicon/src/common' gcc -I../libtp -I../gdbm -I../xpm -I/usr/X11R6/include -c -o doincl.o doincl.c In file included from ../h/../h/sys.h:246, from ../h/rt.h:10, from doincl.c:14: ../h/../h/../xpm/xpm.h:76:24: error: X11/Xlib.h: No such file or directory ../h/../h/../xpm/xpm.h:77:25: error: X11/Xutil.h: No such file or directory In file included from ../h/../h/sys.h:246, from ../h/rt.h:10, from doincl.c:14: ../h/../h/../xpm/xpm.h:153: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:163: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:175: error: expected specifier-qualifier-list before 'Visual' ../h/../h/../xpm/xpm.h:313: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:320: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:326: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:333: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:340: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:346: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:352: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:358: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:364: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:370: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:377: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:383: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:414: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:421: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:427: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:433: error: expected ')' before '*' token In file included from ../h/rt.h:10, from doincl.c:14: ../h/../h/sys.h:255:27: error: X11/Xos.h: No such file or directory ../h/../h/sys.h:256:29: error: X11/Xatom.h: No such file or directory In file included from ../h/rt.h:20, from doincl.c:14: ../h/../h/graphics.h:186: error: expected specifier-qualifier-list before 'XFontStruct' ../h/../h/graphics.h:228: error: expected specifier-qualifier-list before 'XImage' ../h/../h/graphics.h:269: error: expected specifier-qualifier-list before 'Display' ../h/../h/graphics.h:358: error: expected specifier-qualifier-list before 'GC' ../h/../h/graphics.h:481: error: expected specifier-qualifier-list before 'Window' In file included from ../h/rt.h:36, from doincl.c:14: ../h/../h/rproto.h:334: error: expected declaration specifiers or '...' before 'XPoint' ../h/../h/rproto.h:336: error: expected declaration specifiers or '...' before 'XPoint' ../h/../h/rproto.h:387: error: expected declaration specifiers or '...' before 'XRectangle' ../h/../h/rproto.h:427: error: expected declaration specifiers or '...' before 'XPoint' ../h/../h/rproto.h:428: error: expected ')' before '*' token ../h/../h/rproto.h:533: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xcolor' ../h/../h/rproto.h:534: error: expected declaration specifiers or '...' before 'XColor' ../h/../h/rproto.h:540: error: expected ')' before '*' token make[1]: *** [doincl.o] Error 1 make[1]: Leaving directory `/usr/share/unicon/src/common' make: *** [Common] Error 2 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Making Unicon
I got adventurous and decided to use version 11.4 source code to build Unicon. I downloaded the file, unzipped it to /usr/share/unicon and executed 'make X-Configure name=intel_linux'. That seemed to go well enough. Then I executed 'make Unicon'. That went less well. The errors follow. I am running Mepis Linux 7.0_32 (a derivative of Debian Linux) on a 1.7 ? GHz Celeron. I am not a C/C++ programmer so I don't think I'm going to be able to resolve this. I would appreciate any help you can render. Thank you for your help. Steve --- cd src/common; make make[1]: Entering directory `/usr/share/unicon/src/common' gcc -I../libtp -I../gdbm -I../xpm -I/usr/X11R6/include -c -o doincl.o doincl.c In file included from ../h/../h/sys.h:246, from ../h/rt.h:10, from doincl.c:14: ../h/../h/../xpm/xpm.h:76:24: error: X11/Xlib.h: No such file or directory ../h/../h/../xpm/xpm.h:77:25: error: X11/Xutil.h: No such file or directory In file included from ../h/../h/sys.h:246, from ../h/rt.h:10, from doincl.c:14: ../h/../h/../xpm/xpm.h:153: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:163: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:175: error: expected specifier-qualifier-list before 'Visual' ../h/../h/../xpm/xpm.h:313: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:320: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:326: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:333: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:340: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:346: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:352: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:358: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:364: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:370: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:377: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:383: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:414: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:421: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:427: error: expected ')' before '*' token ../h/../h/../xpm/xpm.h:433: error: expected ')' before '*' token In file included from ../h/rt.h:10, from doincl.c:14: ../h/../h/sys.h:255:27: error: X11/Xos.h: No such file or directory ../h/../h/sys.h:256:29: error: X11/Xatom.h: No such file or directory In file included from ../h/rt.h:20, from doincl.c:14: ../h/../h/graphics.h:186: error: expected specifier-qualifier-list before 'XFontStruct' ../h/../h/graphics.h:228: error: expected specifier-qualifier-list before 'XImage' ../h/../h/graphics.h:269: error: expected specifier-qualifier-list before 'Display' ../h/../h/graphics.h:358: error: expected specifier-qualifier-list before 'GC' ../h/../h/graphics.h:481: error: expected specifier-qualifier-list before 'Window' In file included from ../h/rt.h:36, from doincl.c:14: ../h/../h/rproto.h:334: error: expected declaration specifiers or '...' before 'XPoint' ../h/../h/rproto.h:336: error: expected declaration specifiers or '...' before 'XPoint' ../h/../h/rproto.h:387: error: expected declaration specifiers or '...' before 'XRectangle' ../h/../h/rproto.h:427: error: expected declaration specifiers or '...' before 'XPoint' ../h/../h/rproto.h:428: error: expected ')' before '*' token ../h/../h/rproto.h:533: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xcolor' ../h/../h/rproto.h:534: error: expected declaration specifiers or '...' before 'XColor' ../h/../h/rproto.h:540: error: expected ')' before '*' token make[1]: *** [doincl.o] Error 1 make[1]: Leaving directory `/usr/share/unicon/src/common' make: *** [Common] Error 2 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Installing on Windows
I've downloaded version 11.3 of Unicon and it seems to install correctly. However, when I fire it up, I get a window (ui.exe) and a message pane asking, What, no binaries?... When I click okay on the message pane, I get the editor and the other window has the message Did not find expected unicon binaries in a bin/ directory. When I try to create a simple .exe in the editor and run it, I get a bunch of messages in the Messages pane saying that it cannot open various log files. Any ideas? Thanks, Steve - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Installing on Windows
No, but I did just find it by searching the archived messages. Should have done that first. Thanks for the tip. BTW, has development of Unicon stopped? I got a lot of use out of it and its predecessor for various projects over the years. Great all-around language. Thanks much to all. Steve Graham === --- On Fri, 7/11/08, Clinton Jeffery [EMAIL PROTECTED] wrote: From: Clinton Jeffery [EMAIL PROTECTED] Subject: Re: [Unicon-group] Installing on Windows To: [EMAIL PROTECTED] Date: Friday, July 11, 2008, 5:34 PM Steve, Have you added c:\unicon\bin (or wherever you installed it) to your PATH in the control panel? On Fri, Jul 11, 2008 at 3:53 PM, Steve Graham [EMAIL PROTECTED] wrote: I've downloaded version 11.3 of Unicon and it seems to install correctly. However, when I fire it up, I get a window (ui.exe) and a message pane asking, What, no binaries?... When I click okay on the message pane, I get the editor and the other window has the message Did not find expected unicon binaries in a bin/ directory. When I try to create a simple .exe in the editor and run it, I get a bunch of messages in the Messages pane saying that it cannot open various log files. Any ideas? Thanks, Steve - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] 13 Coins (in a fountain?)
Here is my latest attempt. I would appreciate any comments, particularly about how to better take advantage of Unicon's strengths. Thanks, Steve === global coins, numLevels, targetSum, totalCoins, tries procedure main() local cumulativeSum, level, numCoinsLeft init() level := 1 numCoinsLeft := totalCoins cumulativeSum := 0 solveProblem(level,numCoinsLeft,cumulativeSum) write(\n# Tries = ,tries) end procedure init() coins := [ [Dollar,100,0,Dollars], [Half Dollar,50,0,Half Dollars], [Quarter,25,0,Quarters], [Dime,10,0,Dimes], [Nickel,5,0,Nickels], [Penny,1,0,Pennies] ] numLevels := *coins targetSum := 110 totalCoins := 13 tries := 0 end procedure solveProblem(level,numCoinsLeft,cumulativeSum) local aList, i, newSum tries+:= 1 every i := numCoinsLeft to 0 by -1 do { newSum := cumulativeSum + (i * coins[level][2]) if newSum = targetSum then { if numCoinsLeft = i then { aList:= coins[level] aList[3] := i coins[level] := aList printSolution(level) aList[3] := 0 coins[level] := aList } } else { if newSum targetSum then { if (level numLevels) ((numCoinsLeft - i) 0) then { aList:= coins[level] aList[3] := i coins[level] := aList solveProblem(level + 1, numCoinsLeft - i, newSum) aList[3] := 0 coins[level] := aList } } } } end procedure printSolution(level) local aList, i write() every i := 1 to level do { aList := coins[i] if aList[3] 0 then { writes(right(aList[3],2), ) writes(left((aList[3] = 1 aList[1]) | aList[4],13)) } } write() end === Steve Wampler [EMAIL PROTECTED] 10/31/05 12:20 PM There was a lot of unneeded code in that last solution (left over from the previous one), so here's a cleaned-up version in case anyone is interested... -Steve -- Steve Wampler -- [EMAIL PROTECTED] The gods that smiled on your birth are now laughing out loud. - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Combinations
I'm looking for a way to generate every possible combination of n letters out of a total of m letters. For example, if the available letters are A, B, C and I want to generate all possible 2-letter combinations, it should generate the following: AB BA AC CA BC CB I think I've seen a trivial way of doing this in Icon/Unicon but don't remember. Any ideas? TIA, Steve - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Combinations
Steve, Thanks for the feedback. You were right: I did need the permutations. 2 questions: 1) What does the '1+:' accomplish in else s[j := 1 to *s] || permute(s[1+:j-1]||s[j+1:0], i-1) 2) What does the '--' accomplish in else (c := !s) || permute(s--c, i-1) Thanks again, Steve Steve Wampler [EMAIL PROTECTED] 10/27/05 1:09 PM Steve Wampler wrote: Steve Wampler wrote: Steve Graham wrote: I'm looking for a way to generate every possible combination of n letters out of a total of m letters. For example, if the available letters are A, B, C and I want to generate all possible 2-letter combinations, it should generate the following: AB BA AC CA BC CB I think I've seen a trivial way of doing this in Icon/Unicon but don't remember. Any ideas? Hi Steve, There's a method comp(s, n) in the IPL (procs/strings.icn) that does what you want. The code is: procedure comb(s, i)#: character combinations local j if i 1 then fail suspend if i = 1 then !s else s[j := 1 to *s - i + 1] || comb(s[j + 1:0], i - 1) end Actually, in reading your mail again, I think you mean 'permutations', not combinations. The following code should work: procedure permute(s, i) local j if i 1 then fail suspend if i = 1 then !s else s[j := 1 to *s] || permute(s[1+:j-1]||s[j+1:0], i-1) end And finally, here's another approach. Note that the semantics are slightly different, in that this version starts by removing duplicated letters from the input: procedure permute(s, i) if i 1 then fail s := cset(s) suspend if i = 1 then !s else (c := !s) || permute(s--c, i-1) end -- Steve Wampler -- [EMAIL PROTECTED] The gods that smiled on your birth are now laughing out loud. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] every vs while
I am having troubles understanding this difference. In a piece of code I had defined a list which had 2 elements. Then I tried to do something like: while WritePara(get(aList)) However, it would never pickup the 2nd element. But when I changed it to this: every WritePara(!aList) It picked up both elements of the list. Now, I guess I understand the latter, that every activates the generator (!) and so it works. However, I would have supposed that the while construct would continue executing, until the stack was empty, Any comments? TIA, Steve Graham --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] More Unicon and SQL/ODBC
Just took a (closer) look at the data returned to me when I omitted the date conditions, and noticed that the dates were coming back as -mm-dd. So I adjusted my conditions accordingly, and voilá it worked! The moral of this story is give the computer exactly what it wants and it may work. Thanks, Steve Federico Balbi [EMAIL PROTECTED] 3/23/2005 7:27:53 PM In my Unicon program I create an SQL query which is submitted to the database server. I need to add 2 parameters, beginning/ending dates, which I will ask of the user and insert into the WHERE portion of the query. However, when I do such, I get nothing back from the server. I've tried adding quotation marks, and that does not seem to help. I've also tried entering the internal format of the dates into the query. Again, without success I do not think you can use parameters with unicon. You have to build the query on the fly and submit it. dates should be in the server format, for SQL server for example 'mm/dd/ccyy' or 'mm-dd-ccyy'. I also saw things like '#mm/dd/ccyy#' F - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [unicon] [Unicon-group] Addition Errors
Okay, I've applied the following function to every number and sum and I still get phony results. More ideas? procedure fixNum(aNum) i := integer((aNum * 100) + .5) j := real(i)/100 return j end Steve === [EMAIL PROTECTED] 3/22/2005 4:55:30 PM Steve Graham [EMAIL PROTECTED] wrote: I am drawing data from a foreign database using ODBC, which transfer seems to work just fine. However, I'm having some arithmetic errors. As I pull in the data, which is sorted in name/date order, I calculate name and date hour subtotals. Virtually all of the raw data has at the most 2 digits to the right of the decimal point. However, in certain situations the daily subtotal will have 15 digits to the right of the decimal point. In one such case the 4 data points are: 4.0, 0.3, 1.5, 4.0 . And my program returns a subtotal of 9.801 ! Another odd occurrence is that the name subtotal, which is created using the same data points (albeit more of them than for any one date), has no such problems. This looks like floating point truncation error. Can you have all the numbers scaled up by a factor of 100, so they can be represented as fixed point (integer) values? Otherwise if it is floating point error it's probably safe if you round to 2 decimal places after every addition. If you are reading strings with decimal points in them, just remove that character before converting to an integer. Icon automatically converts strings to integers and so it can happen accidentally pretty easily, I think. - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882alloc_id=15148op=click ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [unicon] [Unicon-group] Addition Errors
[EMAIL PROTECTED] 3/22/2005 8:28:41 PM Steve Graham [EMAIL PROTECTED] wrote: Okay, I've applied the following function to every number and sum and I still get phony results. More ideas? procedure fixNum(aNum) i := integer((aNum * 100) + .5) j := real(i)/100 return j end It is perfectly normal for this sort of thing to happen with floating point numbers; it is an inherent flaw in the representation. For example, I just compiled this demonstration program (fp.f) with GNU Fortran77 (g77): PROGRAM FP X = 333.0 / 100.0 PRINT 100,X 100 FORMAT (F50.40) END I chose Fortran because it is the language most commonly used for floating point operations. Here's the output: 3.3292370605468750 You get this because the floating point numbers are in binary instead of decimal. Binary floating point is designed for science and engineering, not financial calculation, which is unfortunate in this case. My guess is you will have to work around it. === I have to say that I have rarely had this problem with addition in 25 years of programming! I believe that the language that I currently use (MUMPS/M/Caché) displays fewer digits than it maintains internally. So maybe that's why. Anyways, thanks for the help. Listed below is my solution. I would appreciate any pointers from you Icon/Unicon gurus on how to make the code more efficient. Thanks, Steve procedure fadd(aNum1, aNum2) i1 := integer((aNum1 * 100) + .5) i2 := integer((aNum2 * 100) + .5) i3 := string(i1 + i2) i3 := i3[1:-2] || . || i3[0:-2] if i3[0:-3] == .00 then i3 := i3[1:-3] else { if i3[0:-2] == .0 then i3 := i3[1:-2] else { if (i3[-3] == .) (i3[-1] == 0) then i3 := i3[1:-1] } } return i3 end - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_idh82alloc_id148op=click ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
[Unicon-group] Addition Errors
I am drawing data from a foreign database using ODBC, which transfer seems to work just fine. However, I'm having some arithmetic errors. As I pull in the data, which is sorted in name/date order, I calculate name and date hour subtotals. Virtually all of the raw data has at the most 2 digits to the right of the decimal point. However, in certain situations the daily subtotal will have 15 digits to the right of the decimal point. In one such case the 4 data points are: 4.0, 0.3, 1.5, 4.0 . And my program returns a subtotal of 9.801 ! Another odd occurrence is that the name subtotal, which is created using the same data points (albeit more of them than for any one date), has no such problems. I have tried correcting the problem by adding 0 to the incoming hours list piece and have tried using numeric(), but to no avail. Any comments would be appreciated. TIA, Steve - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882alloc_id=15148op=click ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Windows Unicon w/ ODBC support
Guess I was trying to execute a program which had old-style ODBC functions. After changing such, it worked great! Thanks so much for Unicon. Steve Graham === Steve Graham [EMAIL PROTECTED] 3/21/2005 4:52:06 PM I downloaded the Windows 11.0 beta binary from sourceforge thinking that it would contain the ODBC support. However, the traceback indicates that the function dbopen is null. This leads me to think that the support is missing. Can someone suggest where I could load the latest Unicon with such support for Windows? TIA, Steve Graham - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group - This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group
Re: [Unicon-group] Compilation from CVS under Windows XP
Eleanor, You mentioned OS/9 in your post. I had read about that decades ago and had no idea that it was still in use. Could you expound a bit on what you're doing with it and why it is the preferred OS for that project? TIA, Steve Graham Eleanor [EMAIL PROTECTED] 2/17/2005 7:54:20 AM On 17 Feb 2005, at 12:22, Clint Jeffery wrote: My exact toolset lives at http://www.cs.nmsu.edu/~jeffery/win32/ I have found that which make.exe and which sh.exe are first in the path, and other irritating and subtle things seem to have to be just right for everything to be smooth, and once I get them set up I have no problems. I suspected as much. I set things up as described and downloaded the suggested tools, but ended up with only the rtt.exe and icont.exe files building. I must admit that make is not a tool I'm overly familiar with as for the last 8 years or so I've been working in VB on Windows, and C on an RT embedded system (OS/9) with markedly less sophisticated build tools than *NIX. Visual C++ should have worked without much trouble if installed correctly and vcvars32.bat executed and such. This is the first time I've tried building anything substantial with VC++ 7.1 and I'm considering putting VC++ 6 on my development machine and seeing if that makes a difference. As at one point compilation is choking on declaration of an HGLRC type (which obviously shouldn't be a problem) it's always possible that MS have done something strange with their OpenGL includes. But that said, I ran up a quick example from the GLUT toolkit and that compiles and runs fine, so I'm probably missing something really obvious. I'd be very happy to work with you through whatever problems you have with the build process on Windows, and to improve the buildability of my sources. We want to help more people compiling the sources on more platforms. I'm planning to build from source on MacOS X and BeOS over the next couple of months, as part of the attraction of Unicon (apart from Icon and OO and DBI) is the idea of write-once-run-everywhere. I know there are people who'd say the same can be achieved with Java, but life is far too short and the runtime far too heavy. I'm looking at integrating SDL and OpenAL for a project I'm working on. This is Very interesting. I guess I prefer our own 2D and 3D graphics facilities over SDL for graphics, but of course everyone is free to add whatever they want. Well my needs are slightly different to those addressed by the standard Icon/Unicon graphics facilities in that I'm looking at developing a networked 3D adventure game, implementing the graphics blits in the background with an SDL thread synced to a fixed (user configurable) frame-rate and probably keeping most of the graphics engine in C as well. I know it probably sounds like a bit of a strange architecture (it's inspired by game development languages like DarkBASIC) but I'm very keen to develop the game-play layer in a decent language whilst still having as high a level of performance as possible. And of course SDL is available pretty much wherever OpenGL is these days. My extremely ambitious long-term goal is to do for 3D gaming what Infocom did for the text adventure 8) For OpenAL we might want to work with you and make that part of the language as standard. We have been adding audio support over the past year, including Voice-over-IP capabilities. That's something I wasn't aware of. The VoIP capability is something I'd definitely be interested in learning more about, both because it might be useful in the game I'm working on, but also because it occurs to me that (depending on the actual implementation) it could be run off of a web server via cgi with some clever client-side browser scripting making it ideal for use from internet cafes etc... Once I've had a chance to play properly I'll post the results of my OpenAL and SDL experiments, and if you want to roll them into the main Unicon distro then please feel free to do so. It appears the loadfunc feature has been implemented for Windows at last It has, by me, and I made a point to make it possible for the same C code to be compiled and loadfunc'ed on Windows and on UNIX/Linux, but this was awhile ago and the code may well have some bitrot on Windows, or only work under some compilers (say, Visual C++) and need further porting to others. I bet almost no one has used the loadfunc() on Windows yet, but I could be surprised. I will certainly assist anyone brave enough to pound on it, but can't yet guarantee a smooth ride there, and it might need Unicon binaries built with the non-default (VC++) compiler anyhow. Well once I get past my current build problems I'll probably be giving this feature some heavy duty testing. I've spent a lot of years wrapping DLLs with VB Classes for WinAPI calls so I can do low-level system programming without needing to resort to C/C++, and I'd like
[Unicon-group] Thanks
Don't know if I've taken the time to thank the creators and maintainers of Icon and Unicon. They are wonderful languages which have enabled me to do a number of utilites. Two of the most recent were shortening the time required to reformat a screen layout from minutes/hours to seconds and creating a basic ftp server when the scripting language I was using would not transfer files both ways. I do not yet understand some of the intricacies, and sometimes I have to relearn syntax (probably because of my age, bad memory and using it infrequently), but they always come through for me. Thanks again. Steve Graham --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Unicon-group mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unicon-group