old-www/HOWTO/Windows-Newsreaders-under-L.../xnews.html

746 lines
14 KiB
HTML

<HTML
><HEAD
><TITLE
>Xnews</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Windows Newsreaders under Linux HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Introduction"
HREF="intro.html"><LINK
REL="NEXT"
TITLE="Dialog"
HREF="dialog.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Windows Newsreaders under Linux HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="intro.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="dialog.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="Xnews"
></A
>2. Xnews</H1
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="x-setup"
></A
>2.1. Setting up Xnews</H2
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN152"
></A
>2.1.1. Configuring Wine for Xnews</H3
><P
>&#13;Wine is capable of "emulating" many different versions of Windows.
Wine is not perfect, however; it runs slower than a normal Windows installation
and it is not a stable product. Certain problems occur when running Xnews;
these are discussed in the
"<A
HREF="xnews.html#x-problems"
><I
>Problems and Issues</I
></A
>" section of
the document.
</P
><P
>&#13;Before Xnews can run under Linux, certain files from a Windows installation
need to be copied to the Xnews root directory. Depending on which version of
Windows you have access to, there will be different files to copy and different
instructions for configuring Wine. This document currently covers a Windows
98SE/Windows ME and a Windows XP configuration. A Windows 98SE/Windows ME
configuration is preferred, since there are some more problems with a Windows
XP configuration. Below are the instructions describing how to configure Wine
for Xnews.
</P
><DIV
CLASS="sect4"
><H4
CLASS="sect4"
><A
NAME="AEN157"
></A
>2.1.1.1. Windows 98SE / Windows ME</H4
><P
>&#13;If you have access to a Windows 98SE or Windows ME machine, you must set up
the Wine configuration file (found at <TT
CLASS="filename"
>$HOME/.wine/config</TT
>)
according to these instructions.
</P
><P
>&#13;First, find the section "<TT
CLASS="literal"
>[Version]</TT
>" in the
<TT
CLASS="filename"
>.wine/config</TT
> file, and make sure that
"<TT
CLASS="literal"
>win98</TT
>" is the version Wine will imitate:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; [Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
"Windows" = "win98"
</PRE
></FONT
></TD
></TR
></TABLE
>
</P
><P
>&#13;Second, update the "<TT
CLASS="literal"
>DllOverrides</TT
>" section
which will tell Wine to use certain files from Windows rather than Wine.
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; [DllOverrides]
; some dlls you may want to change
"shell" = "native, builtin"
"shell32" = "native, builtin"
</PRE
></FONT
></TD
></TR
></TABLE
>
</P
><P
>&#13;Third, add an entry to the "<TT
CLASS="literal"
>AppDefaults</TT
>"
section which will also tell Wine to use certain files from Windows rather
than Wine.
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; ;; sample AppDefaults entries
[AppDefaults\\Xnews.exe\\DllOverrides]
"commctrl.dll" = "native"
"comctl32.dll" = "native"
"riched32.dll" = "native"
"shell.dll" = "native"
"shell32.dll" = "native"
"comdlg32.dll" = "native"
</PRE
></FONT
></TD
></TR
></TABLE
>
</P
></DIV
><DIV
CLASS="sect4"
><H4
CLASS="sect4"
><A
NAME="AEN172"
></A
>2.1.1.2. Windows XP</H4
><P
>&#13;If you have access to a Windows XP machine, you must set up the Wine
configuration file (found at <TT
CLASS="filename"
>$HOME/.wine/config</TT
>) according
to these instructions.
</P
><P
>&#13;First, find the section "<TT
CLASS="literal"
>[Version]</TT
>" in the
<TT
CLASS="filename"
>.wine/config</TT
> file, and make sure that
"<TT
CLASS="literal"
>win98</TT
>" is the version Wine will imitate:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; [Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
"Windows" = "win98"
</PRE
></FONT
></TD
></TR
></TABLE
>
</P
><P
>&#13;Second, add an entry to the "<TT
CLASS="literal"
>AppDefaults</TT
>"
section which will tell Wine to use certain files from Windows rather
than Wine.
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; ;; sample AppDefaults entries
[AppDefaults\\Xnews.exe\\DllOverrides]
"comctl32.dll" = "native"
"riched32.dll" = "native"
"riched20.dll" = "native"
</PRE
></FONT
></TD
></TR
></TABLE
>
</P
></DIV
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN184"
></A
>2.1.2. Copying and/or Extracting Required Files</H3
><P
>&#13;Several DLL files must first be copied to the root Xnews directory from
an existing Windows installation.
</P
><P
>&#13;If Xnews lies on a Windows partition on the same machine, you must copy the DLL
files to the Xnews root directory. Xnews will be run from this directory
on the Windows partition.
</P
><P
>&#13;If Xnews is being run on a Linux-only machine, you must download Xnews to
your fake C drive (usually <TT
CLASS="filename"
>$HOME/c</TT
>) and extract it
into a directory there. Open up a terminal window, navigate to your fake C
drive, and type the following commands:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; mkdir Xnews
mv xnews.zip Xnews
cd Xnews
unzip xnews.zip
</PRE
></FONT
></TD
></TR
></TABLE
>
Alternatively, you may copy an existing Xnews folder to your fake C drive. The
root Xnews directory must include the DLL files mentioned in the following
subsections.
</P
><DIV
CLASS="sect4"
><H4
CLASS="sect4"
><A
NAME="AEN191"
></A
>2.1.2.1. Windows 98SE</H4
><P
>&#13;If you have access to a Windows 98SE machine, copy the files
<TT
CLASS="filename"
>commctrl.dll</TT
>, <TT
CLASS="filename"
>comctl32.dll</TT
>,
<TT
CLASS="filename"
>riched32.dll</TT
>, <TT
CLASS="filename"
>comdlg32.dll</TT
>,
<TT
CLASS="filename"
>shell.dll</TT
>, and <TT
CLASS="filename"
>shell32.dll</TT
>
(usually in <TT
CLASS="filename"
>C:\WINDOWS\SYSTEM</TT
>) to the root Xnews directory.
</P
></DIV
><DIV
CLASS="sect4"
><H4
CLASS="sect4"
><A
NAME="AEN201"
></A
>2.1.2.2. Windows XP</H4
><P
>&#13;If you have access to a Windows XP machine, copy the files
<TT
CLASS="filename"
>comctl32.dll</TT
>, <TT
CLASS="filename"
>riched20.dll</TT
>,
and <TT
CLASS="filename"
>riched32.dll</TT
> (usually in
<TT
CLASS="filename"
>C:\WINDOWS\SYSTEM32</TT
>) to the root Xnews directory.
</P
></DIV
></DIV
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="run_xnews"
></A
>2.2. Running Xnews</H2
><P
>&#13;Using a terminal window, navigate to the root Xnews directory and type:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; wine Xnews.exe
</PRE
></FONT
></TD
></TR
></TABLE
>
</P
><P
>&#13;Use Xnews normally, noting the exceptions in the next section, entitled
"<A
HREF="xnews.html#x-problems"
><I
>Problems and Issues</I
></A
>"
Note that these are problems with Wine's "emulation," not
Xnews.
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="x-problems"
></A
>2.3. Problems and Issues</H2
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN216"
></A
>2.3.1. Fixed-width fonts and alt.ascii-art</H3
><P
>&#13;ASCII art requires fixed-width fonts to view. Clicking the fixed font button
above the message headers will simply lock the message so that the vertical
scrollbar will not work.
</P
><P
>&#13;The easiest way to deal with this is to go into
"Special -&#62; Setup Xnews -&#62; Fonts and Colors"
and select a fixed font for all types
of text. The default "Fixed" will not work;
use "Misc Fixed", size 12.
</P
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN220"
></A
>2.3.2. Erasing sections of text</H3
><P
>&#13;Selecting sections of text with the mouse and pressing Backspace or Delete
will delete the text from the screen, but for some reason it might still look
like it's there when the message is sent or posted.
</P
><P
>&#13;To solve this problem, press the "Rewrap" button below the message headers.
</P
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN224"
></A
>2.3.3. Window sizing problems</H3
><P
>&#13;There are several problems relating to the sizing of the windows. When the
CatchUp button is clicked, the main groups list window shrinks and must be
maximized. These are mostly minor annoyances, except...
</P
><DIV
CLASS="sect4"
><H4
CLASS="sect4"
><A
NAME="AEN227"
></A
>2.3.3.1. Closing Xnews</H4
><P
>&#13;Depending on the window manager (Sawfish has problems with this), it may be
impossible to close the Xnews window, and there is no "Exit" option
in the main menu. To get around this, make sure that the window is sized so
that the terminal used to launch Xnews is accessible, and close that
terminal. Do not press
<B
CLASS="keycap"
>Ctrl</B
>-<B
CLASS="keycap"
>C</B
>,
etc as this will cause problems. Be
sure to click the Save button to save the newsrc first.
</P
></DIV
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN233"
></A
>2.3.4. Binary newsgroups</H3
><P
>&#13;The posting of binaries to newsgroups does not currently work. An attempted
post will lock at 1% completion and give an error message when the post is
aborted, posting only the text portion of the message. However, the combining
and decoding of binaries works with no problems at all.
</P
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN236"
></A
>2.3.5. Text on some tabs are indented</H3
><P
>&#13;If Windows XP is "emulated," certain tabs will have text indented,
leaving some of it out of visibility. The solution is to use Windows 98SE files
instead of XP files. It isn't that important. UPDATED: Version 2.0 of this
document includes new instructions which solve this problem when Windows XP
files are used.
</P
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN239"
></A
>2.3.6. No sample text in font selection dialog</H3
><P
>&#13;If Windows XP is "emulated," the font selection dialog will not show
sample text. According to a
<A
HREF="http://www.winehq.com/hypermail/wine-devel/2003/07/0476.html"
TARGET="_top"
>Wine
mailing list message</A
>, there are certain un-"emulated"
functions in Windows XP "emulation." Version 1.1 of this document was
updated with new files to copy and configure when using Windows 98SE
"emulation" in order to solve this problem. Until the Wine developers
implement these Windows XP functions, use a Windows 98SE configuration to get
around this issue. If a Windows 98SE computer is not available, just apply
changes and look at the main window.
</P
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN243"
></A
>2.3.7. Web links can not be executed</H3
><P
>&#13;Web links can not be executed from within the Xnews message window. This is
pretty obvious as there is no integrated Web browser in Wine. However, Wine's
clipboard works with no problem. Select the link and copy and paste into an open
web browser window.
</P
><DIV
CLASS="sect4"
><H4
CLASS="sect4"
><A
NAME="AEN246"
></A
>2.3.7.1. Web link doesn't always copy</H4
><P
>&#13;When you try and copy a Web link to the clipboard, it may not copy. This
occurs when the link as a whole is copied rather than selected text. The
solution to this is to make sure that as you are selecting the text, the rest
of the link is not automatically selected. If this continues, select the blank
space before the link and copy with the preceding blank space.
</P
></DIV
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN249"
></A
>2.3.8. Sound does not work</H3
><P
>&#13;Event sounds in Xnews do not currently work. Updated instructions for this may
be included in future versions of this document.
</P
><P
>&#13;UPDATED (version 2.11): Event sounds work properly. If you run KDE, you first
need to turn off the aRts soundserver by going into Settings -&#62; Control
Center -&#62; Sounds &#38; Multimedia -&#62; Sound System and unchecking
"Start aRts soundserver on KDE Startup" (instructions were tested on
version 3.1.3; may be different for other versions). Note that this will
disable event sounds for KDE applications which depend on the aRts soundserver.
Xnews sounds work properly under the Gnome sound server.
</P
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN253"
></A
>2.3.9. "Compose" message body does not automatically wrap</H3
><P
>&#13;In some cases, the message body of a Compose window does not automatically
wrap. Simply clicking "Rewrap Text" as this happens will fix the
problem.
</P
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN256"
></A
>2.3.10. XFaces are not visible</H3
><P
>&#13;When a Wine version greater than 20030813 is being used, the XFace is not
visible when a message is being composed or read, and the box where the XFace
would be is colored black. Ignore this, since the correct XFace is being posted
anyway. Try to use Wine version 20030813 if you can.
</P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="intro.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="dialog.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Introduction</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Dialog</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>