Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Xnews] Wine, Linux, Xnews, & inline jpg images

7 views
Skip to first unread message

Ohmster

unread,
Aug 3, 2007, 3:22:40 PM8/3/07
to
I had recently posted here requesting that Luu Tran please release the
Xnews code to sourceforge or port Xnews over to Linux. Not likely to
happen and I was advised of such, but it does not hurt to try again.

I was advised that Xnews works quite well under wine and to give it a
try. I did and yes, it works, quite well. however, inline jpg images does
not work under Linux at all and I am having a time in getting it to work.

First of all, many of you do not have a free binary NNTP server to
experiment with. Here is a free one, plenty of binary files to play with
so you can see inline jpg images, be they military jets, muscle cars, or
smutty lingerie.

free.yottanews.com

You don't need authorization to read news on yottanews and it has
binaries.

First, two pictures of Xnews running in Windows XP.

This one shows a newsgroup with an article highlighted that contains a
jpg image that I would like to see.
http://www.ohmster.com/~ohmster/picture/snap021.jpg
This is the article, opened in XP, showing the jpg image file right on
the page.
http://www.ohmster.com/~ohmster/picture/snap022.jpg

Now the same server and group on Xnews in wine on Fedora 6.
http://www.ohmster.com/~ohmster/picture/Screenshot-2.jpg
http://www.ohmster.com/~ohmster/picture/Screenshot-1.jpg

See? No picture. I can click on wenttoiraq.jpg and a directory called
attachments will open up, allowing me to save the image there, and I can
view it. I can also save it by pressing F4 on the article or pressing the
download and decode icon at the bottom of the window, but the inline jpg
images don't work.

I have a Windows XP machine and I am running a Fedora Core 6 machine that
I am running Xnews on wine with. I had to copy a few dll files over from
XP to the xnews directory in wine and then choose to assign them to
"Native" (Windows, not wine files.). Now I notice at wineHQ there is a
post on this and one fellow does mention the inline image thing. It is
recommended that you setup wine to run Xnews in Win98, since I only have
XP and not a running Win98 machine, I did not have access to the DLL
files required to do this. At the bottom of this page:
http://appdb.winehq.org/appview.php?iVersionId=1258

by Richard Cohen on Friday October 7th 2005, 17:09
Works great on 20050930.
Install native dcom98 & riched20 if you want inline pictures.

Richard says to make the inline pictures work, you need riched20.dll and
make it native (I copied this from XP System32 to my wine xnews directory
and assigned it as "native". I did this. I cannot find any dcom98 file on
my XP computer but did google and find that Microsoft offers one, dcom98
I can find on Microsoft but it is an executable zip file with tons of
shit in it to install the dcom98 package. I do not see a dcome98.dll file
in there to simply copy over and then force to be native. Wonder if I
should just put the executable zip file into the wine directory, then run
wine on it, and install the dcom98 package and see if it installs and
then specify it for native use in wine. That might fix it. Has anyone
else ever done that? Can anyone with a Win98 computer tell me if they
have any kind of "Dcom98" file on their computer?

Here is the Microsoft download page for dcom98:
http://tinyurl.com/5xrfg

Here is a post about installing dcom98 in wine:
http://www.winehq.org/pipermail/wine-users/2004-April/013616.html

Hmmm, that does not sound too easy, does anyone else have any ideas,
suggestions, tips, want to join in on the fun? Please reply here, let's
see if we can really get Xnews to work properly in wine and Linux and
then update the AppDB at WineHQ to reflect that it does work with inline
images and how to get it done. Also, they are dying for some suitable
screenshots over at WineHQ AppsDB so if you have any and want to upload
them, they sure would be appreciated.

Thank you all for your help.
--
~Ohmster * ohmster /a/t/ ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.

Mike Easter

unread,
Aug 3, 2007, 6:42:09 PM8/3/07
to
Ohmster wrote:

> Can
> anyone with a Win98 computer tell me if they have any kind of
> "Dcom98" file on their computer?

No I do not have such a file in my Win98se install. If I wanted decom98
I would go get the .exe from MS.

> Here is the Microsoft download page for dcom98:
> http://tinyurl.com/5xrfg

I do however have a riched20.dll and it is also 'generally' available
for dl.


--
Mike Easter

Ohmster

unread,
Aug 3, 2007, 7:42:27 PM8/3/07
to
"Mike Easter" <Mi...@ster.invalid> wrote in news:46b3af35$0$97266
$892e...@authen.yellow.readfreenews.net:

> Ohmster wrote:
>
>> Can
>> anyone with a Win98 computer tell me if they have any kind of
>> "Dcom98" file on their computer?
>
> No I do not have such a file in my Win98se install. If I wanted
decom98
> I would go get the .exe from MS.

Yeah, I went ahead and go it, DCOM98.EXE. I used WinZip to extract the
contents and see what is in there, I thought that all I needed was the
dll, apparently this is not the case, see contents of DCOM98.EXE package:

ADVPACK.DLL 74,960
asycfilt.dll 147,728
comcat.dll 6,144
compobj.dll 30,976
dcom98.inf 11,961
dllhost.exe 11,024
eula98.txt 10,878
imagehlp.dll 104,208
install.exe 56,320
iprop.dll 96,016
ole2.dll 39,760
ole32.dll 778,512
oleaut32.dll 598,288
olecnv32.dll 40,448
olepro32.dll 164,112
olethk32.dll 75,776
relnt98.txt 27,265
rpcltc1.dll 6,416
rpcltc5.dll 7,440
rpcltccm.dll 26,896
rpclts5.dll 9,488
rpcltscm.dll 20,240
rpcmqcl.dll 12,560
rpcmqsvr.dll 11,536
rpcns4.dll 29,456
rpcrt4.dll 328,464
rpcss.exe 8,464
secur32.dll 29,184
stdole2.tlb 17,920
stdole32.tlb 7,168
storage.dll 4,224
W95INF16.DLL 2,272
W95INF32.DLL 4,608

Well, I am going to try and install this dcom98 in wine and see if it can
be done, then see if it can be set for native. If so, then it is time to
try out some inline jpg reading. If it works, I will write it up and send
it to wineHQ along with some screenshots for publication. Those poor SOBs
at WineHQ are starving for feedback, screenshots, votes, and reviews. It
is the least I can do if it works.

>> Here is the Microsoft download page for dcom98:
>> http://tinyurl.com/5xrfg
>
> I do however have a riched20.dll and it is also 'generally' available
> for dl.
>
>

riched20.dll came with my XP Pro install. I did add it to wine and made
it native to Windows (Not to wine) but it did not make the inline images
work. I might need your win98 version of riched20.dll if my experiment
fails to yield fruit. Wish me luck, will report back with results.

Ohmster

unread,
Aug 3, 2007, 8:14:22 PM8/3/07
to
Ohmster <now...@hell.com> wrote in
news:Xns9981C870CC...@194.177.96.26:

> Well, I am going to try and install this dcom98 in wine and see if it
> can be done, then see if it can be set for native. If so, then it is
> time to try out some inline jpg reading. If it works, I will write it
> up and send it to wineHQ along with some screenshots for publication.
> Those poor SOBs at WineHQ are starving for feedback, screenshots,
> votes, and reviews. It is the least I can do if it works.

Not possible. "A newer version of dcom98 is already installed on your
system. You must first uninstall it before installing this version of
dcom98" or some such similar message. I guess that dcom98 is already built
into wine, I wish that fellow that posted in the wineHQ AppsDB would have
been more specific as to how he got his inline images to work. At least we
know that it is possible, just how did he do it?

Says so, right at the very bottom of this page:
http://appdb.winehq.org/appview.php?iVersionId=1258

Bitch, I want to know how he did it!!!

Mike Dee

unread,
Aug 4, 2007, 1:48:42 AM8/4/07
to

> riched20.dll came with my XP Pro install. I did add it to wine


> and made
> it native to Windows (Not to wine) but it did not make the inline
> images work. I might need your win98 version of riched20.dll if my
> experiment fails to yield fruit. Wish me luck, will report back
> with results.

riched20 I think has more to do with text and a lot of Windows text
editing progs need this under Wine.

launch Xnews from a commandline and check for errors when trying to
view a page with a JPEG.

I'm getting this when I try to open one:
fixme:ole:OleCreateStaticFromData (not shown), stub!

Ole! Getting closer? ;-)

--
dee

Mike Dee

unread,
Aug 4, 2007, 3:41:10 AM8/4/07
to
Ohmster <now...@hell.com> wrote in
news:Xns9981CDD973...@194.177.96.26:

> Bitch, I want to know how he did it!!!

OK, I now have inline JPEGs showing in an Xnews window under Wine.

I say forget the decom98 file, stick with DLLs that are relevent to
your current OS.

The required DLLs for the JPEGs are "OLE32.DLL" and "OLEAUT32.DLL". I
moved these into the Xnews folder.

In winecfg, my current Libraries used with Xnews are as follows:

comctl32 (native, builtin)
ole32 (native, builtin)
oleaut32 (native, builtin)
riched20 (native, builtin)
riched32 (native, builtin)

I'll run this combination for a day or so to see if any unknown issues
arise. But hey it's a good feeling getting it to work :-)

--
dee

Mike Dee

unread,
Aug 4, 2007, 5:08:15 AM8/4/07
to
Mike Dee <mik...@emteedee.invalid> wrote in
news:Xns9982BE0F5...@203.26.24.228:

> In winecfg, my current Libraries used with Xnews are as follows:
>
> comctl32 (native, builtin)
> ole32 (native, builtin)
> oleaut32 (native, builtin)
> riched20 (native, builtin)
> riched32 (native, builtin)
>
> I'll run this combination for a day or so to see if any unknown
> issues arise. But hey it's a good feeling getting it to work :-)

ps. Important.

In Xnews.ini:

[Display]

Jpeg=1

--
dee

Ohmster

unread,
Aug 4, 2007, 8:34:42 AM8/4/07
to
Mike Dee <mik...@emteedee.invalid> wrote in news:Xns9982BE0F537BBemteedee@
203.26.24.228:

>> Bitch, I want to know how he did it!!!
>
> OK, I now have inline JPEGs showing in an Xnews window under Wine.
>
> I say forget the decom98 file, stick with DLLs that are relevent to
> your current OS.
>
> The required DLLs for the JPEGs are "OLE32.DLL" and "OLEAUT32.DLL". I
> moved these into the Xnews folder.
>
> In winecfg, my current Libraries used with Xnews are as follows:
>
> comctl32 (native, builtin)
> ole32 (native, builtin)
> oleaut32 (native, builtin)
> riched20 (native, builtin)
> riched32 (native, builtin)
>
> I'll run this combination for a day or so to see if any unknown issues
> arise. But hey it's a good feeling getting it to work :-)
>

Ooooooooooohhhh sh*t, "You DA MAN"!!!!

Yeah, yeah, yeah, it works! I got it running on my machine too now! This is
it, this is really Xnews now.

Okay somebody has to tip off WineHQ AppDB. This is too important to keep to
oneselves. I already signed up for it and will post the comment if you
want, here:
http://appdb.winehq.org/appview.php?iVersionId=1258

I submitted the results to WineHQ AppsDB. Once it appears, some screenshots
would sure be nice to grace the effort. I did give you credit for making
inline images work, Mike. Thank you.
http://appdb.winehq.org/appview.php?iAppId=382

Thank you Mike, that was excellent detective work. Hot diggity dog!

Mike Dee

unread,
Aug 4, 2007, 9:40:44 AM8/4/07
to
Ohmster <now...@hell.com> wrote in
news:Xns99825739E7...@194.177.96.26:

> Mike Dee <mik...@emteedee.invalid> wrote:
>
[...]


>>
>> I'll run this combination for a day or so to see if any unknown
>> issues arise. But hey it's a good feeling getting it to work :-)
>
> Ooooooooooohhhh sh*t, "You DA MAN"!!!!

<G>



> Yeah, yeah, yeah, it works! I got it running on my machine too
> now! This is it, this is really Xnews now.
>
> Okay somebody has to tip off WineHQ AppDB. This is too important
> to keep to oneselves. I already signed up for it and will post the
> comment if you want, here:
> http://appdb.winehq.org/appview.php?iVersionId=1258

Fine by me.



> I submitted the results to WineHQ AppsDB. Once it appears, some
> screenshots would sure be nice to grace the effort. I did give you
> credit for making inline images work, Mike. Thank you.
> http://appdb.winehq.org/appview.php?iAppId=382
>
> Thank you Mike, that was excellent detective work. Hot diggity
> dog!

YW, Ohmster.

It was a fun diversion tracking that one down and getting a
successful outcome. Probably as much of a challenge (for me) as
getting my external spelling checker to work under Xnews/Wine ;-)

Now everything works AFAICT.

--
dee

DanKegel

unread,
Aug 4, 2007, 10:46:40 AM8/4/07
to
On Aug 4, 5:34 am, Ohmster <nowa...@hell.com> wrote:
> > In winecfg, my current Libraries used with Xnews are as follows:
> > comctl32 (native, builtin)
> > ole32 (native, builtin)
> > oleaut32 (native, builtin)
> > riched20 (native, builtin)
> > riched32 (native, builtin)
>
> Ooooooooooohhhh sh*t, "You DA MAN"!!!!
>
> Yeah, yeah, yeah, it works! I got it running on my machine too now! This is
> it, this is really Xnews now.
>
> Okay somebody has to tip off WineHQ AppDB. This is too important to keep to
> oneselves. I already signed up for it and will post the comment if you
> want, here: http://appdb.winehq.org/appview.php?iVersionId=1258

I've filed this issue as
http://bugs.winehq.org/show_bug.cgi?id=9185
and linked it into the appdb.

Incidentally, the easiest way to install native dcom98 is to do
wget http://kegel.com/wine/winetricks
sh winetricks dcom98
That does the downloading and the registry settings.
(I really should add a riched20 option to winetricks sometime.)
- Dan

Ohmster

unread,
Aug 4, 2007, 2:40:27 PM8/4/07
to
DanKegel <daniel....@gmail.com> wrote in
news:1186238800.3...@q3g2000prf.googlegroups.com:

>> Yeah, yeah, yeah, it works! I got it running on my machine too now!
>> This is it, this is really Xnews now.
>>
>> Okay somebody has to tip off WineHQ AppDB. This is too important to
>> keep to oneselves. I already signed up for it and will post the
>> comment if you want, here:
>> http://appdb.winehq.org/appview.php?iVersionId=1258
>
> I've filed this issue as
> http://bugs.winehq.org/show_bug.cgi?id=9185
> and linked it into the appdb.

Very good job Dan, thanks for doing that.

> Incidentally, the easiest way to install native dcom98 is to do
> wget http://kegel.com/wine/winetricks
> sh winetricks dcom98
> That does the downloading and the registry settings.
> (I really should add a riched20 option to winetricks sometime.)

...wow, you wrote that shell script yourself? Uh, what does all that
"do"?

I have not done this "winetricks" to my wine installation, am I missing
anything? Now Mike Dee was correct with his assertion that one should
forget dcom98 and stick to what is native to one's current OS, in our
cases, it was Windows XP. I don't think that anyone took the time to
track down what Windows component was missing to make the inline jpg
images show up in Windows XP, or if they have, they have not published it
widely enough. Mike did find out that XP requires ole32.dll and
oleaut32.dll to display the images, that was some darned good work.

Your winetricks script is very interesting but maybe it should be updated
to install ole32.dll and oleaut32.dll instead of dcom98 or a separate
winetricks be made available that will install these dlls to more closely
emulate a modern Windows XP installation, doncha think? Win98 is getting
a little long in the tooth and support for it may be dwindling fast, at
least Windows XP should be around for quite a few more years, I would
think and a lot more people have Windows XP than Win98.

I am still looking over that winetricks shell script and am amazed at the
amount of work that went into it. You sure seemed to put a lot into it
and it seems very nicely and well done. I am going to spend a little time
over at kegel.com and see what all is over there.

Nice work Dan and thanks for helping out with the wine and Xnews issue.

Cheers,

Mike Dee

unread,
Aug 4, 2007, 10:42:08 PM8/4/07
to
On Sat, 04 Aug 2007 20:40:27 +0200, Ohmster wrote:

> Nice work Dan and thanks for helping out with the wine and Xnews issue.

Yeah, I submitted a couple of screen dumps and
comments at: http://bugs.winehq.org/show_bug.cgi?id=9185

I accidentally posted up two sets of the same pix though :-(
Wish I knew how to fix that at winehq

--
dee

DanKegel

unread,
Aug 5, 2007, 11:58:34 AM8/5/07
to
On Aug 4, 11:40 am, Ohmster <nowa...@hell.com> wrote:
> > Incidentally, the easiest way to install native dcom98 is to do
> > wgethttp://kegel.com/wine/winetricks
> > sh winetricks dcom98
>
> ...wow, you wrote that shell script yourself?

Yes, though users contributed about a third of it after I first wrote
it.

> Uh, what does all that "do"?

All it does is let you download and install particular DLLs straight
from microsoft. That makes it more likely to be legal and safe
than downloading from random dll sites.

> I have not done this "winetricks" to my wine installation, am I missing
> anything?

No. Only use winetricks if you absolutely, positively need
a particular windows dll.

> Your winetricks script is very interesting but maybe it should be updated
> to install ole32.dll and oleaut32.dll instead of dcom98

No. Microsoft intended ole32 and oleaut32 (and rpcrt4) to
be installed as a set. That set is called dcom. I'm just
following Microsoft's intentions here. Also, it's a bit
dangerous to install ole32 without also installing the other
two; they have to match each other.

> or a separate
> winetricks be made available that will install these dlls to more closely
> emulate a modern Windows XP installation, doncha think?

Microsoft does not provide a legal and safe way to download
Windows XP's implementation of DCOM, so no. And DCOM98
is sufficient for many apps.

And again, any time you need to use winetricks, it's a bug in wine
or in an application. Wine should not need such crutches.
I wrote winetricks to help in triaging wine bugs; if a bug goes
away when DCOM98 is installed, it's a bug in wine's COM support.
If a bug goes away when you install MFC or other language
redistributable,
then it's a bug in the app's installer, which should have bundled the
redistributable. etc., etc. I just got tired of installing them over
and
over by hand, hence the script.
- Dan


Ohmster

unread,
Aug 5, 2007, 3:59:20 PM8/5/07
to
DanKegel <daniel....@gmail.com> wrote in
news:1186329514....@i38g2000prf.googlegroups.com:

> On Aug 4, 11:40 am, Ohmster <nowa...@hell.com> wrote:
>> > Incidentally, the easiest way to install native dcom98 is to do
>> > wgethttp://kegel.com/wine/winetricks
>> > sh winetricks dcom98
>>
>> ...wow, you wrote that shell script yourself?
>
> Yes, though users contributed about a third of it after I first wrote
> it.

Wow. Cool!

>> Uh, what does all that "do"?
>
> All it does is let you download and install particular DLLs straight
> from microsoft. That makes it more likely to be legal and safe
> than downloading from random dll sites.

Ahh, I see now.

>> I have not done this "winetricks" to my wine installation, am I
>> missing anything?
>
> No. Only use winetricks if you absolutely, positively need
> a particular windows dll.

Right then, seems like a lot of work went into it though.



>> Your winetricks script is very interesting but maybe it should be
>> updated to install ole32.dll and oleaut32.dll instead of dcom98
>
> No. Microsoft intended ole32 and oleaut32 (and rpcrt4) to
> be installed as a set. That set is called dcom. I'm just
> following Microsoft's intentions here. Also, it's a bit
> dangerous to install ole32 without also installing the other
> two; they have to match each other.

I see.

>> or a separate
>> winetricks be made available that will install these dlls to more
>> closely emulate a modern Windows XP installation, doncha think?
>
> Microsoft does not provide a legal and safe way to download
> Windows XP's implementation of DCOM, so no. And DCOM98
> is sufficient for many apps.

I believe that. There are cool apps out there that used some MS stuff in
them that got pushed right off the net by MS, VirtualDub comes to mind.
Who is that guy, Avery Lee I think? http://www.virtualdub.org/

His free video editor was freaking great because you could edit asf and
wmv files. MS got wind of it and told him to get rid of the WMV and ASF
support or "die" and they were not kidding around. So Avery had to remove
support for the Windows file formats and that really sucked because it is
really hard to find any kind of video editor other than the crappy one
from MS (Movie Maker) that can handle those files. What a shame, they
bullied him to ditch the support and he had to do it.

> And again, any time you need to use winetricks, it's a bug in wine
> or in an application. Wine should not need such crutches.
> I wrote winetricks to help in triaging wine bugs; if a bug goes
> away when DCOM98 is installed, it's a bug in wine's COM support.
> If a bug goes away when you install MFC or other language
> redistributable,
> then it's a bug in the app's installer, which should have bundled the
> redistributable. etc., etc. I just got tired of installing them over
> and
> over by hand, hence the script.
> - Dan

Hmmm, thanks for the explanation Dan and for submitting the bug report
about wine and xnews. "My Name" found another one, we talk about it in
the subject of "Luu Tran: Please port Xnews to Linux or release the
code!" Here are the Message IDs if you want to follow up on the bug that
is very much for real. He complained that xnews was no good because it
could not decode multipart binary files. I said "poppycock" and that it
now could do just about everything with the two dll files added by Mike
Dee. So I tested it by clicking on three multipart video files and
downloading them. The download worked just fine so as it was downloading
away, I went to another virtual workspace to open Nautilus to check my
downloads. As soon as I left the workspace that xnews was running on, it
disappeared! Damm.

I have the real xnews icon from xnews.exe on my desktop as an ico file
and use this to give the command "Xnews" which runs a shell script in my
path that will cd to the xnews "drive" and then run "wine xnews.exe". I
clicked the icon and nothing happened. I opened a term window and then
tried to run xnews. It would not run, got a few lines, something about a
stub, then nothing, just the command prompt again. xnews would no longer
run. Checking the directory /tmp revealed a hidden directory called
".wine-500", the 500 is my Linux UID. Once this directory was deleted,
xnews would run again.

So xnews does run in Linux with wine, just like in Windows, but if you
leave the virtual desktop where it is running while decoding files, it
will just disappear and be gone. That sucks because it is a pretty
serious bug. I have not tried yet but maybe the screensaver would also
knock it off the screen. And when it drops out like that, it leaves
something in /tmp/.wine-UID that kills the process and does not allow it
to run anymore until you delete this directory. Not good.

But, if you do decode multiple multipart binary files and leave xnews on
the screen, running, and not mess with it, it will decode ALL of the
files perfectly, just like in Windows and it does not run "slow" or
anything like that at all.

I did submit a new version report about xnews to the AppDB including all
the information about the two dll files necessary to make inline images
work, but it has not been added yet. Maybe they have not gotten to it or
something, that is a shame because I put a lot of very helpful
information in the report and wanted to add screenshots when it finally
makes it to the AppDB.

Oh yeah, the Message IDs are here if you want them:
Message-ID: <Xns9982A9127...@walks.like.a.duck>
Message-ID: <Xns9982B2EF4C...@194.177.96.26>
Message-ID: <Xns9982B5883...@walks.like.a.duck>

These are the discussions of where the bug was first noticed and
discovered. It really should be reported to the wine bugzilla but I
really do not have the know how to report it. Maybe you could do it if
you have the time, Dan? It would be great for wine if the dlls and
"disappearing decoding xnews" issues could be resolved. Thanks, and
thanks for explaining everything too.

0 new messages