ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1699
|
Mon Feb 20 17:50:33 2006 |
| Steve Jones | steve.jones@freescale.com | Bug report | Other | 2.6.1 | Re: CONCERN: Cross-platform compiling at risk |
Stefan Ritt wrote: |
Steve Jones wrote: | If possible, could one use the int system(const char *s); function in conjunction with a filei/o function as the means for getting the results of a system call back into a var. Perhaps char *tmpnam(char *s); , running a command via int system(const char *s); , then opening that file for a read would accomplish what is being desired?
|
I implemented exprimentally such a code. Instead of tmpnam() (which the compiler claims to be obsolete), I use a hard-wired file name /tmp/elog-shell for that purpose. I put it under /tmp so that the "elog" user (under which elog should normally run) is able to write to. Can you please check if that works fine now under Solaris? |
The compiled version runs fine under Solaris9. When executing Subst Subject = $shell(uname) I got:
"SunOS" !!! ;->
So, short of the items I pointed out below I would say that you have successfully re-rendered eLog as a truly cross platform application once again! My hat is off to you!
thanks
Steve |
1700
|
Mon Feb 20 17:52:06 2006 |
| Steve Jones | steve.jones@freescale.com | Question | Other | 2.6.1 | Re: compiling elog 2.6.1 on solaris platform |
Steve Jones wrote: |
Stefan Ritt wrote: |
Steve Jones wrote: | BTW, Stefan, this code in Makefile does not work on Solaris
OSTYPE = $(shell uname)
.
.
.
ifeq ($(OSTYPE),solaris)
At least, not on our solaris systems. 'uname' returns SunOS. |
Ok, what about adding:
ifeq ($(OSTYPE),SunOS)
OSTYPE=solaris
endif |
Steve Jones wrote: |
That would work, but my question is "why is this statement needed at all?" In GNU-land it appears that the make utilities use the canonical names rather than the ones returned by the OS. When I simply comment out this section, the solaris compile works fine. Perhaps it does not on other platforms?
Also, I ran into another snag. The include file "pty.h" does not appear to exist in solaris-land, so I am seeing if there is one made available elsewhere.
|
|
In working with Stefan changes were made so that the latest release should once again cross-compile fine, and Makefile also works under Solaris. Great job Stefan! |
1708
|
Tue Feb 21 22:37:14 2006 |
| Steve Jones | steve.jones@freescale.com | Question | All | 2.6.1 | Re: svn revision number in the source |
Stefan Ritt wrote: |
Steve Jones wrote: | I have no idea how I got to CVS |
I realized that I had an old link to CVS when I checked your previous posting, so I updated that link like 30 min ago. That's why you got a new one. |
Ah, thanks. All is now right with the world  |
1758
|
Mon Mar 6 18:36:34 2006 |
| Steve Jones | steve.jones@freescale.com | Question | All | 2.5.9 | [RESOLVED] eLog Version number as eLog attribute? |
Steve Jones wrote: |
Stefan Ritt wrote: |
Steve Jones wrote: | When a footer is used (via Bottom text = <filename>) eLog no longer displays the eLog version number at the bottom. Is it possible to somehow expose the version/revision as an eLog attribute or have the version still display even when a replacement footer is specified?
Thanks! |
I added that feature, but will not be able to commit it before the next weekend. |
Quote: | Not a problem! Thanks |
|
Steve Jones wrote: | Works as requested!! |
|
1836
|
Wed May 24 08:22:36 2006 |
| Ed To | eto@arc.nasa.gov | Question | Windows | 2.6.1 | Display legal banner |
Hi,
I read somewhere that javascript is supported with elog. For legal reasons, I have to post a legal banner before the login prompt. Can you tell me how to do this? I'm not a programmer, but I guess I could use the javascript alert command to do this. What file would I need to change?
Thank you for your help.
Ed. |
1888
|
Wed Aug 9 12:25:57 2006 |
| Fergus Lynch | flynch@alternativenetworks.com | Question | Windows | V2.6.2-169 | Retain original ELOG id when moving an entry to an archive weblog |
Hi There,
We have a number of weblogs where we regular archive off 'completed' entries to a separate archive weblog:
Is it possible to retain the original ELOG id when moving an entry to an archive weblog, or have a locked field which holds the original id which we could subsequently reference in the archive?
Many Thanks
Fergus |
1894
|
Sun Aug 13 17:56:24 2006 |
| Checker Anderson | checker@checkeranderson.com | Question | Windows | 2.6.2 | Re: Cannot get email to work at all, configuation problem? |
Okay, I got it working but I had to change the authentication method of my mail server to Pop before SMTP. I do not know why the username/password doesn't work - it does work with Outlook Express. I would rather use the username/password method, but atleast things are working now. |
1910
|
Thu Aug 24 11:12:18 2006 |
| Ben Shepherd | bjs54@dl.ac.uk | Request | Linux | Windows | 2.6.2-1714 | Turn off smileys? |
Can we please have an option to turn off the thing that changes smileys automatically into pictures?
cheers
ben |