🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80323

Re: Setting up tin on Win2000

#80323
From: Frank Slootweg
Date: Thu, 14 Jun 2001 11:56
176 lines
7837 bytes
Keith Collyer <keithc@computer.org> wrote:
> Is there an easy guide to setting up tin on Win2000? Though I am 
> a loyal XNews user, I used to use tin aeons ago, and I am sure 
> there were some facilities I would like in XNews, but I wanted 
> to remember what they were.

  Maybe just re-reading the man page will refresh your memory.

  If you want to try tin on Win2000, then you can use the instructions
which come with tin (README.WIN).

  I have attached some personal notes for tin 1.4.2 on NT. I assume that
they are also valid for 2000.

[Since I do not have a (public) webpage and there is little to nothing
on this subject out there, I think it is OK to post this.]

----------------------------------- cut here ----------------------------------

How to get, make (compile/link) and 'install' tin on Windows NT 4.0
===================================================================

Note: Example for:
      tin-1.4.2
      Cygwin B20 compiler, linker, etc..
      User franks
      Home directory \home\franks
      Code Page 850 (Multilingual Latin 1)
      News server news.neth.hp.com

Note: This procedure will probably work for any Win32 version, i.e.
      Windows 95, 98, NT, 2000, etc., but has only been tested on NT
      4.0.

Get tin from ftp://ftp.funet.fi:/pub/unix/news/tin-unoff, which says:

>       This is daily mirror from ftp.akk.uni-karlsruhe.de
> Original sources can be found from
> ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff
>
> //hema@nic.funet.fi
>
> tin-1.4.2.tar.gz 858,180 Feb 05 2000 16:10 GNU Zip Compressed Data

Note: From ftp://ftp.tin.org/pub/news/clients/tin/current/ it is
      probably too slow.

On NT, tin-1.4.2.tar.gz is automatically renamed to tin-1_4_2_tar.gz.

Example assumes tin-1_4_2_tar.gz is in directory \home\franks.

Within Cygwin B20 on NT:

[Note: See "How to get and install Cygwin B20 on Windows NT 4.0" if you
 do not have Cygwin B20.]

$ cd /home/franks
$ gunzip <tin-1_4_2_tar.gz >tin-1_4_2.tar
$ tar xvf tin-1_4_2.tar
$ cd tin-1.4.2

Adapted from instructions in tin-1.4.2/README.WIN :

Note:
You will probably want Code Page 850 (Multilingual Latin 1), even if you
are in the US (Code Page 437). Check the Windows NT Help on other
codepages (search on "codepage").

$ export CC=gcc
$ export CFLAGS="-DLOCAL_CHARSET=850 -DSTATIC"
$ # Do not use "--with-ncurses" :
$ ./configure --libdir=/usr/local/lib --disable-locale
$ cd src
$ make

C:\home\franks>type local\bin\dotin.bat
@echo off
set PATH=%PATH%;c:\cygnus\cygwin-b20\H-i586-cygwin32\bin
set HOME=\home\franks
set USER=franks
mode con: cp select=850
set NNTPSERVER=news.neth.hp.com
rem set TERM=pcansi
set TERM=cygwin
cd \home\franks
tin-1.4.2\src\tin -r
C:\home\franks>

Please contact me for corrections, feedback, etc.:
Frank Slootweg, franks@neth.hp.com

[Last modified: Mon May  1 10:19:17 METDST 2000]

----------------------------------- cut here ----------------------------------

How to get and install Cygwin B20 on Windows NT 4.0
===================================================

[Last modified: Mon May  1 10:19:17 METDST 2000]

[Please contact me for corrections, feedback, etc.: Frank Slootweg,
 franks@neth.hp.com]

Note: This procedure will probably work for any Win32 version, i.e.
      Windows 95, 98, NT, 2000, etc., but has only been tested on NT
      4.0.

Get the full binary release (full.exe). See the Cygwin home page
(http://sourceware.cygnus.com/cygwin/) for details. I got my copy from
ftp://sunsite.org.uk/Mirrors/sourceware.cygnus.com/pub/cygwin/latest/full.exe
(14,247,216  bytes)

Then follow this part of the Cygwin FAQ:

[Part of http://sourceware.cygnus.com/cygwin/faq/ :]

Installing the binary release:
Important! Be sure to remove any older versions of the Cygwin tools from
your PATH environment variable so you do not execute them by mistake. 

Connect to one of the ftp servers listed above and cd to the directory
containing the latest release. On our primary server, that would be: 

ftp://go.cygnus.com/pub/sourceware.cygnus.com/pub/cygwin/latest/. 

If you want the development tools and the programs necessary to run the
GNU configure mechanism, you should download the full binary release
called `full.exe'. If you only care about the user tools listed above,
download `usertools.exe' instead. 

If you have an unreliable connection, download the appropriate binary in
smaller chunks instead. For the split cdk installer, get the files in
the `full-split' subdirectory. Once downloaded, combine the split files
at the command prompt by doing a: 

copy /b xaa + xab + xac + ... + xak + xal full.exe
del xa*.*
A similar process can be used for the user tools. 

Once you have an install executable on your system, run it. If a
previous version of the software is detected, it will offer to uninstall
it for you. 

Next it will ask you to choose an install location. The default is
`<system-drive>:\cygnus\cygwin-b20'. Feel free to choose another
location if you would prefer. 

Finally, it will ask you for the name of the Program Files folder
shortcut to add. By default, the installer will create a `Cygwin B20'
entry in a folder called `Cygnus Solutions'. When this step is
completed, it will install the tools and exit. 

At this point, you should be able to look under the start menu and
select "Cygwin B20". This will pop up a bash shell with all special
environment variables set up for you. If you are running Windows 95 or
98 and are faced with the error message "Out of environment space", you
need to increase the amount of environment space in your config.sys and
try again. Adding the line shell=C:\command.com /e:4096 /p should do the
trick if C: is your system drive letter. 

There are two remaining thing you should do from this prompt. First, you
need to type mkdir -p /tmp to ensure that a directory for temporary
files exists for programs that expect to find one there. 

Second, if you are installing the full distribution (`full.exe'),
various programs will need to be able to find `/bin/sh'. You should
`mkdir -p /bin' and put a copy of `sh.exe' there, removing the older
version, if present. You can use the `mount' utility to select which
drive letter is mounted as `/'. See the Frequently Asked Questions (FAQ)
file for more information on `mount'. 

If you should ever want to uninstall the tools, you may do so via the
"Add/Remove Programs" control panel. 

----------------------------------- THE  END ----------------------------------
Technical Details
Message-ID: <9ga8pp$t4d$1@support.neth.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!npeer.kpnqwest.net!newsfeed.esat.net!skynet.be!peer.news.eu-x.com!server2.netnews.ja.net!hgmp.mrc.ac.uk!pegasus.csx.cam.ac.uk!bath.ac.uk!murdoch.hpl.hp.com!support.neth.hp.com!not-for-mail
References: <Xns90BFA3CCFB127keithccomputerorg@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <9ga8pp$t4d$1@support.neth.hp.com>
Subject: Re: Setting up tin on Win2000
Date: Thu, 14 Jun 2001 11:56:41 +0000
From: Frank Slootweg <franks@neth.hp.com>
References: <Xns90BFA3CCFB127keithccomputerorg@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!npeer.kpnqwest.net!newsfeed.esat.net!skynet.be!peer.news.eu-x.com!server2.netnews.ja.net!hgmp.mrc.ac.uk!pegasus.csx.cam.ac.uk!bath.ac.uk!murdoch.hpl.hp.com!support.neth.hp.com!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
Lines: 175
Sender: franks@support.neth.hp.com
Reply-To: Frank Slootweg <franks@support.neth.hp.com>
NNTP-Posting-Host: support.neth.hp.com
X-Trace: murdoch.hpl.hp.com 992527323 5784 15.163.15.249 (14 Jun 2001 14:02:03 GMT)
X-Complaints-To: usenet@murdoch.hpl.hp.com
NNTP-Posting-Date: 14 Jun 2001 14:02:03 GMT
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800))