From ts@uwasa.fi  Thu Sep 21 07:13:06 2000
From: ts@uwasa.fi (Timo Salmi)
Subject: pc/pd2/tspost27.zip file description
To: ts@uwasa.fi  (Timo Salmi)
Date: Mon, 31 Dec 2019 6:46:16 EET
Status: RO

+---------------------------------------------------------------+
! This file is in mail format, so you can also read it with any !
! suitable Unix mail program such as elm: (elm -f post27.txt).  !
! On a PC /pc/mail/rmail*.zip is a convenient alternative       !
+---------------------------------------------------------------+

   This is the twenty-seventh file that contains my replies and
comments that I or others have made by email, or just written here
instead of posting to (mainly to) news:comp.archives.msdos.d, or
postings that I wanted to retain for your information.
   Note that the latest tspost??.zip is always being updated until
it contains 30 messages. The files are located at the /pc/pd2
directory.
   For an index of all the completed tspost*.zip files please see
ftp://garbo.uwasa.fi/pc/pd2/tspost00.zip.

Please note that this index is in reverse order:

1   Dec 31 To Timo Salmi      (27)   pc/pd2/tspost27.zip file description
2   Jul 19 To Bastian Kruse   (68)   Re: tsnum14.zip numerical programs
3   Jun 20 To Ziae Azami      (55)   Re: exit/quit command for flag game
4   May 11 kaysy@my-deja.com  (23)   Thanks [for tsbat] Timo!
5   Mar 2  Timo Salmi         (58)   Re: tsutlc24.zip Timo's 3rd utility set
6   Mar 1  To A Garbo User    (42)   Re: Suggestion for touch.exe
7   Feb 13 To Michele Schwob  (36)   Re: MS-DOS 6 setting file date
8   Dec 26 To Bill Clark      (70)   Re: Spam from Garbo list
9   Dec 22 A procmail user    (14)   your procmail FAQ
10  Nov 21 Timo Salmi         (54)   Re: Too many users at Garbo?
11  Nov 10 To Alejandro Alcar (69)   Re: Queries about WORDLIST.EXE.
12  Nov 5  Hannu Hirvonen     (29)   Re: Access to Garbo
13  Oct 19 A Garbo User       (24)   Re: Weekly ftplog for Timo's files
14  Aug 19 Dominik Hudzik     (20)   solution for out of memory
15  Jun 12 To a hughes        (37)   Re: (xyz3) Ram drive and ts-progs
16  Mar 21 Walter Briscoe     (156)  Re: tsbat58.zip A collection of useful
17  Mar 11 Michael Marquart   (45)   Basic In batch files
18  Mar 7  To A Unix user     (34)   Re: Timo's Unix scipts
19  Dec 1  To Solomon Katz    (55)   Re: wordquiz educational software
20  Nov 6  To Rick Lively     (56)   Re: Batch file trick: zero-length file
21  Oct 14 To A Managame User (46)   Re: Your management game
22  Oct 10 Robert Becklen     (74)   Greetings and thanks..
23  Jul 5  John Savage        (36)   Re: out of environment space?
24  May 27 To A complainer    (137)  Re: I'm off COMP.LANG.PASCAL.*
25  May 25 Ralf Buschmann     (74)   Re: Day of week in a batch?
26  Apr 22 To Perry Meade     (78)   Re: Your Batch utilities and NT
27  Apr 15 Peter Wright       (210)  The great date extraction problem in MS
28  Apr 12 To Marco Coltorti  (57)   Re: Two questions about Linsolve 3.5
29  Apr 9  Nicholas Bodley    (31)   A quick note of thanks
30  Feb 28 To William G. Thom (42)   Re: TSQED macros question

   All the best, Timo

-- 
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Timo's  FAQ  materials  at   http://www.uwasa.fi/~ts/http/tsfaq.html


From ts@uwasa.fi Sat Feb 28 19:05:29 1998
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: TSQED macros question
To: wgt23@crosslink.net (William G. Thompson)
Date: Sat, 28 Feb 1998 19:05:29 +0200 (EET)
Status: RO

> I downloaded your "Timo Salmi QEdit utilities, release 1.8 (TSQED18)"
> from Garbo the other day.  Most of the macros work fine.  However, I
> have been unable to get the following macros to work as written:
> 
> DATE.JMA        Date with month as three letters
> LONGDATE.JMA    Date with month fully as text

Hello William,

I am pleased that you have found useful my

 36009 Jan 28 1996 ftp://garbo.uwasa.fi/pc/ts/tsqed18.zip
 tsqed18.zip Macros and configurations for TSE Jr. text-editor, T.Salmi

ostensibly for

 200016 Oct 25 1995 ftp://garbo.uwasa.fi/pc/editor/tsejr4.zip
 tsejr4.zip The SemWare Editor Jr, former QEdit, very good, nagware

The problem is that in actual fact some of the macros have been
written and tested for the predecessor of TSE Jr, i.e. the QEdit
editor. Therefore, some problems can be encountered.

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.


From nbodley@tiac.net  Thu Apr  9 22:21:50 1998
Date: Thu, 9 Apr 1998 15:21:57 -0400 (EDT)
From: Nicholas Bodley <nbodley@tiac.net>
To: ts@uwasa.fi
Subject: A quick note of thanks
Status: RO

  Prof. Salmi,

   Just a short note of thanks to you and the University for maintaining
 Garbo. It's much appreciated!

   I'm really impressed by the amount of computer activity (and its
 quality) found in Finland.

   You're busy; I'm not, at the moment. Please don't feel any obligation to
 reply.

 I like your anti-spam scheme; it's not hard to use.

 With my very best regards,


|*  Nicholas Bodley   *|*  Electronic Technician {*} Autodidact & Polymath
|*   Waltham, Mass.   *|*  -----------------------------------------------
|*  nbodley@tiac.net  *|*  I might need to switch to shore.net, but will
|*  Amateur musician  *|*  do my best to minimize the nuisance if so.
--------------------------------------------------------------------------



From ts@uwasa.fi Sun Apr 12 08:47:09 1998
Subject: Re: Two questions about Linsolve 3.5
To: marcolt@tin.it (Marco Coltorti)
Date: Sun, 12 Apr 1998 08:47:09 +0300 (EET DST)
Status: RO

> Dear Professor Salmi,

Dear Marco,

> I am an Italian student of economy at the LUISS Guido Carli of Rome, and
> I am studing linear programming applied to financial problems. I tried
> Linsolve 3.5, and I can resume it in one word: fantastic! But I have two

I am pleased to hear that you like my

 125141 Jan 1 10:16 ftp://garbo.uwasa.fi/pc/ts/tslin35b.zip
 tslin35b.zip Friendly linear programming and linear goal programming.

> doubts about it:

> 1)  How ,in Linsolve, can I introduce a division between two terms? If I
> have a condition like this: X1/X2 - 3X4 +5X5 = 0 How can I put X1/X2 in
> the program?

That question is one of theory of linear programming, not of
tslin35b.zip. What you have there is a fractional programming
problem, not a linear programming one. There are possible
transformations, however, to convert the problem back to linear
programming, as utilized e.g. in my doctoral dissertation from
1975. (You'll find the reference through the list of my scientific
publication on http://www.uwasa.fi/~ts/publicat/publicat.html .) But
indeed, yours is a theory knowledge, not program, question, and you
should study it as such.

> 2) If I have a condition like this: X1 + X3 >= 5, how can I represent
> the >=  in Linsolve? Have I to put X1 + X3 >4?

Yes, that's exactly right. Just as the documentation and the on-line
help of the package explain.

> Thanks a lot,
> Marco Coltorti

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.



From pwright@accesswa.com.au  Wed Apr 15 04:18:25 1998
Date: Wed, 15 Apr 1998 09:16:41 +0800
Content-Type: text/plain; charset="us-ascii"
To: ts@uwasa.fi
From: Peter Wright <pwright@accesswa.com.au>
Subject: The great date extraction problem in MS-DOS batch
Status: RO

 Timo,
 
   below my contrib to this affair... it seems to be auto-configuring - no
requirement to customise _at all_.
 
   Use as you see fit....
 
Rgds...PW
 
@echo off
rem determine pass
if [%1] == [] goto main
 
rem find the element %1; set environment variable
if not [%dow%]==[] goto tryaffixed
find "%1" TEMP$$$$.$$$ >nul
if not errorlevel 1 set dow=%1
goto exit
 
:tryaffixed
rem try again, with affixed search-strings
find "19%1" TEMP$$$$.$$$ >nul
if not errorlevel 1 set year=%1
if not errorlevel 1 set century=19
find "20%1" TEMP$$$$.$$$ >nul
if not errorlevel 1 set year=%1
if not errorlevel 1 set century=20
find "%mp%%1%sep%" TEMP$$$$.$$$ >nul
if not errorlevel 1 set month=%1
find "%mp% %1%sep%" TEMP$$$$.$$$ >nul
if not errorlevel 1 set month=%1
if [%month%]==[] goto exit
if [%year%]==[] goto exit
 
rem once month and year are set up, go for day
find "%1%sep%%month%%sep%%century%%year%" TEMP$$$$.$$$ >nul
if not errorlevel 1 set day=%1
find "%month%%sep%%1%sep%%century%%year%" TEMP$$$$.$$$ >nul
if not errorlevel 1 set day=%1
find "%century%%year%%sep%%month%%sep%%1" TEMP$$$$.$$$ >nul
if not errorlevel 1 set day=%1
goto exit
 
:main
rem generate tempfile with date data
echo. |date >TEMP$$$$.$$$
 
rem set environment variables
set day=
set month=
set year=
set century=
set dow=
 
rem establish separator in use
set sep=/
find "%sep%" TEMP$$$$.$$$ >nul
if errorlevel 1 set sep=.
find "%sep%" TEMP$$$$.$$$ >nul
if errorlevel 1 set sep=-
 
rem find day-of-week
for %%d in (Mon Tue Wed Thu Fri Sat Sun) do call %0 %%d
 
rem find month identifying prefix - either "day " (mmddyy) or separator (other)
set mp=%dow%
find "(m" TEMP$$$$.$$$ >nul
if errorlevel 1 set mp=%sep%
 
rem establish month and probably year. maybe day also
for %%d in (97 98 99 00 01 02 03 04 05 06 07 08 09 10 11 12) do call %0 %%d
 
rem ensure year is established
if [%year%]==[] for %%d in (13 14 15 16 17 18 19 20 21 22 23) do call %0 %%d
if [%year%]==[] for %%d in (24 25 26 27 28 29 30 31 32 33) do call %0 %%d
if [%year%]==[] for %%d in (34 35 36 37 38 39 40 41 42 43) do call %0 %%d
if [%year%]==[] for %%d in (44 45 46 47 48 49 50 51 52 53) do call %0 %%d
if [%year%]==[] for %%d in (54 55 56 57 58 59 60 61 62 63) do call %0 %%d
if [%year%]==[] for %%d in (64 65 66 67 68 69 70 71 72 73 74) do call %0 %%d
if [%year%]==[] for %%d in (75 76 77 78 79 80 81 82 83 84 85) do call %0 %%d
if [%year%]==[] for %%d in (86 87 88 89 90 91 92 93 94 95 96) do call %0 %%d
 
rem establish day
if [%day%]==[] for %%d in (11 12 13 14 15 16 17 18 19 20) do call %0 %%d
if [%day%]==[] for %%d in (21 22 23 24 25 26 27 28 29 30 31) do call %0 %%d
if [%day%]==[] for %%d in (01 02 03 04 05 06 07 08 09 10) do call %0 %%d
 
rem lose working environment variables & tempfile
del temp$$$$.$$$
set mp=
set sep=

:exit
 
 
-Date: Wed, 15 Apr 1998 13:48:01 +0800
-From: Peter Wright <pwright@accesswa.com.au>
-To: ts@uwasa.fi
-Subject: The great _TIME_ extraction problem in MS-DOS batch

Timo,

   and ditto to date, with time... seems to be auto-configuring - no
requirement to customise _at all_.

   It would help, no doubt if Microsoft on-line documentation didn't lie.
For instance, setting country code to 041 (Switzerland) does not generate
hh,mm,ss format time as stated (Help country/notes) (DOS6.22)

   .....Consequently, hh,mm,ss format hasn't been tested - but the others have!

   Use as you see fit....

Rgds...PW

@echo off
rem determine pass
if [%1]==[] goto main

if not [%hour%]==[] goto findmin
rem find hour
find " %1%sep%" TEMP$$$$.$$$ >nul
if not errorlevel 1 set hour=%1
goto exit

:findmin
rem find minute or second
find "%sep%%1%sep%" TEMP$$$$.$$$ >nul
if not errorlevel 1 set minute=%1
if [%minute%]==[] goto exit

rem minute established - find second
find "%sep%%minute%%sep%%1" TEMP$$$$.$$$ >nul
if not errorlevel 1 set sec=%1
goto exit

:main
echo. |time |find "is" >TEMP$$$$.$$$

rem find separator
set sep=:
find "%sep%" TEMP$$$$.$$$ >nul
if errorlevel 1 set sep=.
find "%sep%" TEMP$$$$.$$$ >nul
if errorlevel 1 set sep=,

set hour=
set minute=
set sec=

rem find hour - hour is preceded by space
for %%d in (0 1 2 3 4 5 6 7 8 9 10 11 12) do call %0 %%d
if [%hour%]==[] for %%d in (13 14 15 16 17 18 19 20 21 22 23) do call %0 %%d

rem find minute, second
if [%minute%]==[] for %%d in (00 01 02 03 04 05 06 07 08 09) do call %0 %%d
if [%minute%]==[] for %%d in (10 11 12 13 14 15 16 17 18 19) do call %0 %%d
if [%minute%]==[] for %%d in (20 21 22 23 24 25 26 27 28 29) do call %0 %%d
if [%minute%]==[] for %%d in (30 31 32 33 34 35 36 37 38 39) do call %0 %%d
if [%minute%]==[] for %%d in (40 41 42 43 44 45 46 47 48 49) do call %0 %%d
if [%minute%]==[] for %%d in (50 51 52 53 54 55 56 57 58 59) do call %0 %%d
if [%sec%]==[] for %%d in (00 01 02 03 04 05 06 07 08 09) do call %0 %%d
if [%sec%]==[] for %%d in (10 11 12 13 14 15 16 17 18 19) do call %0 %%d
if [%sec%]==[] for %%d in (20 21 22 23 24 25 26 27 28 29) do call %0 %%d
if [%sec%]==[] for %%d in (30 31 32 33 34 35 36 37 38 39) do call %0 %%d
if [%sec%]==[] for %%d in (40 41 42 43 44 45 46 47 48 49) do call %0 %%d
if [%sec%]==[] for %%d in (50 51 52 53 54 55 56 57 58 59) do call %0 %%d

rem now adjust for am/pm
find "a" TEMP$$$$.$$$ >nul
if errorlevel 1 goto notam

rem am - adjust hour to 0 if 12
if %hour%==12 set hour=0
goto adjhdigits

:notam
find "p" TEMP$$$$.$$$ >nul
if errorlevel 1 goto adjhdigits

rem pm - adjust hour if not 12
if %hour%==1 set hour=13
if %hour%==2 set hour=14
if %hour%==3 set hour=15
if %hour%==4 set hour=16
if %hour%==5 set hour=17
if %hour%==6 set hour=18
if %hour%==7 set hour=19
if %hour%==8 set hour=20
if %hour%==9 set hour=21
if %hour%==10 set hour=22
if %hour%==11 set hour=23

:adjhdigits
rem optional - set hour to 2-digit
for %%d in (0 1 2 3 4 5 6 7 8 9) do if [%hour%]==[%%d] set hour=0%%d

del TEMP$$$$.$$$
set sep=
:exit


From ts@uwasa.fi Wed Apr 22 06:32:29 1998
Subject: Re: Your Batch utilities and NT
To: MEADE@MERLIN.ARC.NASA.GOV (Perry Meade)
Date: Wed, 22 Apr 1998 06:32:29 +0300 (EET DST)
Status: RO

> Mr. Salmi,

Hi Perry! Please call me Timo (Just FYI about "protocol": formally I
would be Prof. rather than Mr.)

> I am a researcher at the Nasa Ames Research Center in California.  I
> recently found your treasure-trove of MS-Dos batch enhancement tools.

I am very pleased that you like my

 138498 Mar 6 1998 ftp://garbo.uwasa.fi/pc/ts/tsbat53.zip
 tsbat53.zip A collection of useful batch files and tricks, T.Salmi

> There are a number of features your utilities will provide that are sure to
> be time savers for me and my colleagues.  Thank you very much for sharing
> your efforts!

They have accumulated over a long period of time as have my Turbo
Pascal FAQ (Frequently Asked Questions with answers collection) and
some other material I have here at Garbo program archives as per

 23367 Apr 19 05:56 ftp://garbo.uwasa.fi/pc/INDEXTS.ZIP
 INDEXTS.ZIP Details of the contents of each TS-package in zipped form

I have collected them both for myself as a library, because there
are far too many tricks that I could remember them even myself, and
to share with the net community to get recognition to our remote
university at Vaasa, Finland.

> While these utilities may work well under Dos or W95, I am experiencing
> problems using them in the dos shell provided with Windows NT Workstation
> 4.0.  Is there a command or mode switch I might invoke to correct this
> problem, or is it a limitation of NT that I will have to program around?

I am sorry, but I have no working answer to this. I am not familiar
with using the NT operating system nor its quireks. In fact, part of
the batch tricks won't work for Windows95, either. The batches have
been written for vanilla MS-DOS. Some of them for 6.22, but most of
them work all the way from version 3. If you have specific problems
in mind try news:alt.msdos.batch because there are some very
knowledgeable batch users in that newsgroup.

[I later heard in news:alt.msdos.batch that NT uses a different
command interpreter than command.com !]

> Any insights will be appreciated!
> 
> Thank you,
> 
> Perry Meade 

   All the best, Timo

> ------------------------------------------------------------
> Perry Meade
> PMEADE@MAIL.ARC.NASA.GOV
> (650)604-1354                 <<<<<<<<< Note: New area code
> 
> "Statistics means never having to say you're certain"
> ------------------------------------------------------------

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.



From ralf@conactive.com Mon May 25 10:31:13 EET DST 1998
From: ralf@conactive.com (Ralf Buschmann)
Newsgroups: alt.msdos.batch
Subject: Re: Day of week in a batch?
Date: Mon, 25 May 1998 07:03:24 GMT
Organization: Herzog & Partner GmbH
Status: RO

Am 24 May 1998 09:36:47 +0300 schrieb ts@majakka.uwasa.fi (Timo Salmi):
>:Can anyone tell me how to have a batch command return the three letter
>:designation for the current day of the week?
>
>The tricks in the following collection will help you in this
>
> 139146 May 10 1998 ftp://garbo.uwasa.fi/pc/ts/tsbat54.zip
> tsbat54.zip A collection of useful batch files and tricks, T.Salmi
>
>In particular
>
>  @echo off
>  echo.| date | find "Current" > tmp$$$.bat
>  echo set weekday_=%%3> current.bat
>  call tmp$$$
>  echo %weekday_%
>  if "%weekday_%"=="Fri" echo Thank God it's Friday
>  if exist tmp$$$.bat del tmp$$$.bat
>  if exist current.bat del current.bat
>  set weekday_=

Dear Timo,

thanks for that useful information ! However, you may want to note that
this batch is locale specific, that means that the name of the batch
file in line 3 must match the output of the DATE command in line 2. E.g.
in my German Win95 the DATE command produces

Aktuelles Datum: Mo, 25.05.1998

Thus in German DOS/Win95 line 2 had to read

echo set weekday_=%%2> aktuelles.bat

which means that this batch would run in a Win95 DOS box only since
"aktuelles" consists of nine letters ;-). To make a long story short,
here is a batch that sets environment variables DATE, WEEKDAY and TIME
and does not depend on any specific language:


@if %1*==* echo off
@if %1*==* %comspec% /c %0 %0 >_time.bat
@if %1*==%0* prompt @set time=$t$_@set weekday=$d$_
@if %1*==%0* goto end
call _time.bat
for %%f in (%weekday%) do set date=%%f
for %%f in (%weekday%) do if not %%f*==%date%* set weekday=%%f
for %%f in (%time%) do set sec=%%f
for %%f in (%time%) do if not %%f*==%sec%* set time=%%f
set sec=
del _time.bat >nul
:end


Something I cannot account for: when executed in a Win95 DOS box
creating _time.bat in line 2 produces an "error creating file" message,
although _time.bat is being created properly and the batch works as
intended. This does not happen in real mode. Any hints ?

Ralf.

-- 
 Windows 95 Tricks & Software
http://www.conactive.com/win95/


From ts@uwasa.fi Wed May 27 07:15:52 1998
Subject: Re: I'm off COMP.LANG.PASCAL.*
To: namewithheld (A complainer)
Date: Wed, 27 May 1998 07:15:52 +0300 (EET DST)
X-Mailer: ELM [version 2.4ME+ PL35 (25)]
Status: RO

>  Hi Timo Salmi,

Dear Sender,

Considering the nature and tone of the rest of your message, a
"Hi" is incongruent.

>  in COMP.LANG.PASCAL.MISC You wrote:
>  (and since that's not for the first time I can't help but reply)
> 
> TS> You don't need asm 138630 May 10 1998
> TS> ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip
> TS>  tsfaqp.zip Common Turbo Pascal Questions and Timo's answers
> TS> P.S. Your was not a news:comp.lang.pascal.ansi-iso question!
> TS> Followups pruned.
> 
>  Did You ever consider thinking about people having only mailing-
>  list- or e-mail-access to the internet, what about beginners,
>  about newbies ?

The news:comp.lang.pascal.misc is not a mailing list. In the former
days the now expired comp.lang.pascal was for some time, but even
that had to be closed because the mailing list began to get too much
off-topic noise. Fortunately, that problem gradually ended after the
mailing list option was removed.

What about the "beginners and newbies"? I do not understand  your
drift. They, in particular, need the help and pointers.

>  Whatever You do is _not_ moderating neither answering - it's simp-
>  ly /insulting/ and denies openness which as somebody at university
>  would be more than appropriate for You.

Usenet news is divided into newsgroups for the sake of keeping
topics organized. Providing information about a newsgroups proper
purpose and helping people to find material and the best newsgroup
for their questions is not called moderation (if that is what you
mean by your complicated sentence in the above). In the case of the
comp.lang.pascal.* newsgroups the official topic one-liners are

 comp.lang.pascal.ansi-iso Pascal according to ANSI and ISO standards.
 comp.lang.pascal.borland  Borland's Pascal incl. Turbo Pascal (not Delphi!)
 comp.lang.pascal.mac      Macintosh based Pascals.            
 comp.lang.pascal.misc     Pascal in general and ungrouped Pascals.

As you can see news:comp.lang.pascal.ansi-iso is not a Turbo Pascal
newsgroup. It is better and much more conductive to post one's Turbo
Pascal questions to the correct Usenet newsgroup, that is
news:comp.lang.pascal.borland. 

What you might mean by your reference to denying openness, is
indecipherable, so I cannot answer that part.

>  This is nothing like internet, not what it is and not what it's
>  supposed to be. I'd rather call it a private thing somebody by
>  accident must have put an internet link on and forgot to remove.

I am sorry, but you are not making sense here either. What is
nothing like Internet?

>  Somebody calling or reciting his own writings whenever somebody
>  asks for answers, not literature - even if there are the right
>  answers to be found - is not worth listening another minute. If
>  You do actually lecture in university I hope You do better.

That is not a nice way of putting your arguments. You are not
gaining anything by being deliberately unfriendly.

>  I got to know Professores and Doctores publishing a book now and
>  then - whenever their students finished a better work - and one
>  who seriously lectured by reading from his book, written some ten
>  or twenty years ago. And asked for a comment on anything concer-
>  ning "his subject" he would simply say "it's all in my book". No-
>  body could recall him doing differently and, in fact, nobody took
>  him for serious after some time, because there were newer theories
>  on what he was reading and questions on his statements he would
>  not even dare to touch.

That is a very strange tirade, and it is difficult to fathom what
you actually are trying to say. You obviously have some kind of a
problem about my using FAQ referrals, but otherwise your tirade is
making little sense and is difficult to understand. Be that as may,
should you mean that you object to my referrals to

 143222 May 26 1998 ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip
 tsfaqp.zip Common Turbo Pascal Questions and Timo's answers, linked

I have it for a fact from many other (fortunately friendlier)
communications and the considerable number of downloads (the
statistics are published weekly in news:comp.archives.msdos.announce)
that a good number of comp.lang.pascal.* readers do not share your
problem (assuming that that that indeed is what your tirade means).

>  I can't help but compare You with this someone and I don't need
>  such someones - trying to sell their knowledge one way or another,
>  when already being paid for that.

If you wish to call my trying help users on the comp.lang.pascal.*
newsgroups selling my knowledge, so be it then. But even that
assertion of yours does not make much sense since my FAQ material is
freeware (even if not PD).

>  If you care to reply, do it directly, I'm off COMP.LANG.PASCAL.*
>  from now on.

Given your obviously deep dislike of my activities, that is one
solution. But why don't you keep reading the newsgroups and simply
skip my postings if you dislike them so? That is easy to do applying
methods like explained

 7280 Oct 21 1995 ftp://garbo.uwasa.fi/pc/doc-net/killfile.zip
 killfile.zip rn newsreader KILL file FAQ from Leanne Phillips

I'll make a copy of my answer to the relevant newsgroups (naturally
preserving your anonymity), because your grievance directly concerns
my frequent Usenet activities on the comp.lang.pascal.* newsgroups.

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.



From sydn@flame.ay.com.au  Sun Jul  5 14:23:11 1998
Date: Sun, 5 Jul 1998 21:22:57 +1000
From: rookwood@suburbia.com.au (John Savage)
To: ts@majakka.uwasa.fi (Timo Salmi)
Subject: Re: out of environment space?
Status: ROr

You wrote:
>D9. What does "Out of environment space" mean? How do I get more?
>=================================================================

Timo, with your more-generalized rewrite of the original question, it would
be an opportune place to spell out a few more points:

Add: this increased environ space will not be available until the
     config.sys file is read during the next boot.

Add: Even a batch file that runs successfully within your environ space
     allocation is likely to still run out of environ space should you
     temporarily escape from an application (e.g., a word processor) and
     attempt to run that batch file. This happens because when temporarily
     escaping to a second shell the amount of environ space allocated is
     shrunk to practically no more than is needed to accommodate a copy of
     already-existing variables, regardless of your config.sys allocation
     for environ variables. In some cases, you may be able to rewrite your
     batch files so that they do not set any environ variables and so will
     never run into the "out of environ space" condition, but in general
     the way to get around this problem when escaping to shell is a whole
     separate issue, [and is a topic for another note.]

Cheers.
--
John Savage                      rookwood@suburbia.com.au



From ts@uwasa.fi Wed Oct 14 23:11:40 1998
Subject: Re: Your management game
To: namewithheld (A Managame User)
Date: Wed, 14 Oct 1998 23:11:40 +0300 (EET DST)
Status: RO

Dear Managame User,

> I've tried your game 'managame'. It is very interesting and useful.

I am pleased to hear that you liked my
 61213 Jan 11 1998 ftp://garbo.uwasa.fi/pc/ts/tsgame14.zip
 tsgame14.zip Three educational games including a management game, T.Salmi

> I would like to understand the interdependency between the parameters
> of the considering task. For example, how do you calculate the cost of
> loans, what constraints do you define in this program, what economic
> model used and so on.

You just might misinterpret Managame's function somewhat. It is
meant as an introductory demonstration for students into
fully-fledged management games. Mine is a trivial management game to
give the students just the basic idea how management games are
played. It is not meant to teach or reflect the intricacies of
empirically verifiable economic relationships. The game is really
too simple to have a truly serious answer to the understandable
questions you are asking in the above.

> I would be grateful for any information of this subject. And thank you
> very much for you program!

You are most welcome.

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.
Advice on spam foiling at http://www.uwasa.fi/~ts/info/spamfoil.html


From becklen@worldnet.att.net  Sun Oct 11 01:27:21 1998
Date: Sat, 10 Oct 1998 18:29:41 -0700
To: ts@uwasa.fi (Email to Timo Salmi via http://www.uwasa.fi/~ts/index.html)
From: Robert Becklen <becklen@worldnet.att.net>
Subject: Greetings and thanks..
Status: ROr

[Published with permission]

Hi Timo,

This is a letter from a long-time fan. Just sit back and enjoy the
accolades. No action needed. You already answered my question in your FAQ!

Back many years ago, in the late 1980's, long before the World Wide Web and
Hypertext, I was struggling with a programming project using Turbo Pascal,
version 3. At about that time I also discovered the early Internet and
started to surf in slow text mode. Then I found a program called Gopher,
and one day, the Timo Salmi Turbo Pascal Archives on Garbo! It was a
tremendous experience, not only for the many many useful programming tips
it offered, but for giving me a glimpse of the incredible potential of the
nascent Internet as an educational tool for the future. Although you didn't
know it I essentially took your Turbo Pascal course and, together with my
favorite texts (Tom Swan and Jeff Duntemann especially) learned to become a
proficient Turbo programmer. There was also a personal side to the
encounter; having grown up in Stockholm and emigrated to the States after
"Studentexamen" I felt as though I was visiting the shores of my childhood
every time I went on-line and that was a very nice "homey" feeling. The
whole thing was an extremely productive and rewarding early
"Distance-Learning" experience, long before the concept became "hot", as it
is nowadays. 

With the advent of the Web in 1994 my computing explorations started going
in other directions especially since I knew most of what I needed to
program effortlessly in TP. Until recently that is, when the computers at
my institution were upgraded to fast Pentiums! Suddenly, none of my
programs worked anywhere in the whole College except on the few old
machines that could still be found in some of the labs. Suspecting that the
computer folks had configured the new systems wrong (which has happened in
the past often enough) I impugned them to find their error soon so that I
could run my considerable library of programs again. When they tried but
failed repeatedly I became suspicious and feared the worst, namely a bug in
Turbo Pascal itself! So, digging through my old records, I found your name
again and through an AltaVista search, your Website! 

After downloading the FAQ file I eventually got to FAQ #124: "Crt.delay
problem on a fast PC" and the depressing realization dawned on me that
Borland had never actually managed to properly fix the old Delay bug that
had dogged earlier versions of the compiler. 

Well, there you have it! More than a decade after our initial one-way
encounter on the Internet I once again discover that "good 'ol Timo" has
the answer as so many times before! An anniversary of sorts. I only wish
the answer hadn't been so depressing since I now have to recompile every
single one of my programs - if I can find the source code for them all
(twelve years of programming!). At least it isn't deadware quite yet..!

I wish you the best for the Millennium and thank you from the bottom of my
heart for so many good Turbo tips and tricks over the years!

Sincerely,

Robert

_________________________________________________

Robert C. Becklen, Ph.D.
Associate Professor of Psychology
Dean, School of Social Science and Human Services
Ramapo College of New Jersey
Mahwah, NJ, USA
email: rbecklen@ramapo.edu
_________________________________________________

From ts@uwasa.fi Fri Nov  6 06:33:56 1998
Subject: Re: Batch file trick: zero-length file
In-Reply-To: <199811060037.QAA09668@hawk.prod.itd.earthlink.net> from "rlively@earthlink.net" at "Nov 5, 98 04:31:26 pm"
To: rlively@earthlink.net (Rick Lively)
Date: Fri, 6 Nov 1998 06:33:56 +0200 (EET)
X-Mailer: ELM [version 2.4ME+ PL35 (25)]
Status: RO

Hello Rick,

> I have really enjoyed your batch file collection.

I am pleased to hear that you liked my

 151504 Jul 11 1998 ftp://garbo.uwasa.fi/pc/ts/tsbat56.zip
 tsbat56.zip A collection of useful batch files and tricks, T.Salmi

> I thought maybe I could contribute...

Contributions are welcome. What I usually do, as I'll do with yours,
is that I include them (or rather this reply) in my

 10395 Oct 14 1998 ftp://garbo.uwasa.fi/pc/pd2/tspost27.zip
 tspost27.zip Information email + postings, from 28-Feb-98 to ...

and put a pointer into my packages information file tsbat.inf.

> I sometimes have the need to create a zero-length file (flag or communication 
> between multiple .bats)
> 
> rem>zero.len 
> works for Dos but not under NT, now I use
> type NUL >zero.len
> 
> Hope you can find a use for this.

Yes, certainly. My collection is for vanilla MS-DOS only,
not NT. But your trick works for vanilla MS-DOS, as well.

> Thanks again.
> Rick.

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.
Advice on spam foiling at http://www.uwasa.fi/~ts/info/spamfoil.html



From ts@uwasa.fi Tue Dec  1 18:38:45 1998
Subject: Re: wordquiz educational software
To: skatz@sc.blm.gov (Solomon Katz)
Date: Tue, 1 Dec 1998 18:38:45 +0200 (EET)
X-Mailer: ELM [version 2.4ME+ PL48 (25)]
Status: RO

> hello timo,

Hi Sol,

I am pleased to hear that you still use my wordquiz from

 108438 Jan 22 1998 ftp://garbo.uwasa.fi/pc/ts/tsgmec13.zip
 tsgmec13.zip Timo's educational games: ascigame,linegame,wordexam

> my kids and i are now starting to learn german and have discovered that
> wordquiz doesn't handle german verbs very well. since the same form shows
> up for different english equivalents.
> do you have or know of any software that will present a list of choices
> for a question eg
> 
> q.uestion:   you ask (formal)
> 
> possible answers
> 1. frage
> 2. fragt
> 3. fragest
> 4. fraget
> 5. fragen   

If you mean that 1-5 all a right (my German is not good enough to
know), then wordquiz.exe in fact handles that. Only the words are
presented side by side. See englsuom.voc within the package for
examples of the setup.

> we are still using wordquiz for other wocabulary studies.  :-)

The program is nice for a spell :-).

> sol-- 

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.
Advice on spam foiling at http://www.uwasa.fi/~ts/info/spamfoil.html


From ts@uwasa.fi Sun Mar  7 22:20:59 1999
Subject: Re: Timo's Unix scipts
In-Reply-To: <837B0A2C05ADD111A31200E029054E3006DD83@exch4.rhbnc.ac.uk> from Lodge Mark at "Mar 7, 1999 05:39:34 pm"
To: user@domain.uk (A Unix user)
Date: Sun, 7 Mar 1999 22:20:59 +0200 (EET)
X-Mailer: ELM [version 2.4ME+ PL50s (25)]
Status: RO

>  I liked your web pages. I found the "Timo Salmi's Unix scripts & filters
> (Bourne shell)" page was very useful  while trying to figure out how to
> write unix scripts.
> 
>  Regards,

Dear Unix script user,

I am very pleased to hear that my Unix material at
http://garbo.uwasa.fi/unix/ts.html has been of use to you. Your note
is particularly welcome, since, while I get a fair amount of
feedback on my MS-DOS material, feedback from Unix script users is
rarer.

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.
Advice on spam foiling at http://www.uwasa.fi/~ts/info/spamfoil.html

From micm@melbpc.org.au  Thu Mar 11 18:11:46 1999
From: micm@melbpc.org.au (Michael Marquart)
To: ts@uwasa.fi (Timo Salmi)
Subject: Basic In batch files
Date: Thu, 11 Mar 1999 17:09:12 GMT
Message-ID: <36edf86b.11812578@smtp.melbpc.org.au>
Status: ROr

Hi Professor Timo.

Are you aware of the " character kludge when using redirection symbols in a
basic script from a batch file?

EG:

echo" if a < 7 ? "Invalid Subscipt": a=7 '">>%temp%.\tmp$$.bas

The leading " is treated as whitespace while the trailing '" pair enclose the
string. The ' is treated as a REM statement in Qbasic which stops the trailing
" from generating an error.  Quote marks within the basic statement must be in
pairs.

=======================================================================
>:it suggests.  However, as you are aware, that method doesn't easily allow
>:you to use the > sign or the < sign for comparisons within your QBASIC code.
>
>Derek, take a look at e.g. item #76 in the FAQ. There I have
>
>  echo LET g$ = CHR$(62) >> tmp$$$.bas
>
>The g$ is the ">" character. It is available for the rest of the
>program. That takes care of the problem for PRINT statements.
>However, you are right. In my method one occasionally has to resort
>to tricks like
>
>echo IF NOT (p=-1) AND NOT (p=0) THEN LET a$ = MID$(a$, 1, p) >> tmp$$$.bas

=======================================================================

--

 Regards      _!_
          -----o-----
              " "      Mic

From walter@wbriscoe.demon.co.uk Sun Mar 21 17:56:27 EET 1999
Article: 11961 of comp.archives.msdos.d
From: Walter Briscoe <walter@wbriscoe.demon.co.uk>
Newsgroups: comp.archives.msdos.d
Subject: Re: tsbat58.zip A collection of useful batch files and tricks
Date: Sun, 21 Mar 1999 11:06:12 +0000
Status: RO

In article <ts9903141545.7308@loisto.uwasa.fi> in alt.msdos.batch of
Sun, 14 Mar 1999:17:45:56 , Timo Salmi <ts@UWasa.Fi> writes
>Sun 14-Mar-99: I updated of my "collection of useful batch files and
>tricks to be
>
> 161979 Mar 14 17:29 ftp://garbo.uwasa.fi/pc/ts/tsbat58.zip
> tsbat58.zip A collection of useful batch files and tricks, T.Salmi

As always, this work is entertaining, if slightly frustrating as it does
not deal with DOS 7. I think it is better than tsbat57 as it has
specific warnings about thinks which don't work in DOS 7.

TS> Another alternative is to write everything as below on a *SINGLE*
TS> line:
TS>   for %%f in (a b c d e f) do %comspec% /c
TS>     for %%g in (1 2 3) do echo %%f%%g
TS> (The wrap has been used in the text is because of the right margin.
TS> Don't wrap your batch.). The disadvantage of this alternative is
TS> that the echo will be on.

Earlier this week, I failed to write a DOS 7 nested for loop.
I now find it is possible. However, the index variable of the innermost
loop has to have 4 % characters where two would be expected if the loop
is two deep, 8 if three deep and I assume etc. e.g. the following works:

for %%h in (9 8 7 6 5 4 3 2 1) do %comspec%/c for %%t in (9 8 7 6 5 4 3
2 1 0) do %comspec%/c for %%%%%%%%u in (9 8 7 6 5 4 3 2 1 0) do echo
%%h%%t%%%%%%%%u 

Can someone explain the anomaly?


TS> 18. Eliminating auxiliary batches (making do with the main batch)
TS> ...
TS>    There was an inventive twist of this method in PC-Magazine August
TS> 1992, Vol. 11, No. 14, p. 527 for getting the volume label of a
TS> disk. Here is my own example using the same techniques. It sets the
TS> current directory in an environment variable getdir_. I have
TS> utilized this technique in PUSHDIRE.BAT.
TS>   @echo off
TS>   echo @echo off> director.bat
TS>   echo set getdir_=%%2>> director.bat
TS>   echo echo %%getdir_%%>> director.bat
TS>   dir | find "Directory"> go.bat
TS>   call go
TS>   if exist director.bat del director.bat
TS>   if exist go.bat del go.bat
TS> Incidentally, this is one example of a batch that will not work in
TS> the Windows 95 DOS box. Since the long file names are supported you
TS> have to use "directory.bat" instead of "director.bat" in the above!

Curiously, directory.bat works in both DOS 7 and DOS 6


TS> 19. Utilizing the subst command in paths
TS> ...
TS> A warning. This advice is for vanilla MS-DOS only. If you have
TS> Windows, it is highly inadvisable to use the SUBST command.

I've seen such advice before. I've never found any reason for avoiding
it. I have used it without problem in AUTOEXEC.BAT for ages!
My suspicion is that it is a problem if used following the start of
Windows and that problems can happen because disk operations can be
deferred.


TS> 32. How can I use a batch to augment line numbers to my text file?
TS> ==================================================================
TS> 
TS> Occasionally it might be useful to put line number to a text file.
TS> Here is an example how to do it with MS-DOS commands only
TS>   @echo off
TS>   type YourFile.txt | find /v /n "&$&$&$123" > YourNew.txt
TS> The parameter &$&$&$123 stands for an improbable string, since find
TS> /v means displaying all the lines not containing it. The switch /n
TS> means numbering the lines.

      type YourFile.txt | find /v /n ""          > YourNew.txt
works in DOS 7 and 6.20. (Not nothing is anything!)


TS> 33. Storing and returning to the original directory (push and pop)
This suggests that using prompt to get a directory name into a variable
is due to Tom Lavedas. Earlier this week, I attributed it to Walter
Zachary. I apologise to both!


TS> 40. A batch to put user input into an environment variable
TS> ...
TS> "If the user enters only the Return-key, then the bat file will
TS> reset the system time to 1:00 am. There is no warning about this
TS> unfortunate side-effect. That bat file can be re-written to use
TS> 'date' instead of 'time' (replacing the reference to %%4 with %%5)
TS> as:

The documented version captures a single word. The following removes
that restriction but does reduce runs of delimiters to one space.
e.g.
C:\>input
This will copy your input to the environment variable INPUT_
Give your input:
This=====SHELL!=====is little better than DOS 2!
The value of INPUT_=This SHELL! is little better than DOS 2!
C:\>

Code to do this is:
@echo %debug% off
rem INPUT.BAT
echo This will copy your input to the environment variable INPUT_
echo Give your input:
fc con nul /lb1 /n | time | find "    1:  "> setinput.bat
echo @echo off> enter.bat
echo set input_=%%4>> enter.bat
echo shift>> enter.bat
echo :next>> enter.bat
echo if t%%4 == t goto done>> enter.bat
echo set input_=%%input_%% %%4>> enter.bat
echo shift>> enter.bat
echo goto next>> enter.bat
echo :done>> enter.bat
call setinput
del setinput.bat
del enter.bat
echo The value of INPUT_=%input_%

It can be written on fewer lines with a cunning for loop!
N.B. The length of the for loop line is 127 bytes and may burst a limit
in earlier DOSes. I leave it as the line has fat in it.
(%%input__%% times 3)

@echo %debug% off
rem INPUT.BAT
echo This will copy your input to the environment variable INPUT_
echo Give your input:
fc con nul /lb1 /n | date | find "    1:  "> setinput.bat
echo @echo off> enter.bat
for %%L in ("set input_=%%5" shift :n "if t%%5==t goto d" 
 "set input_=%%input_%% %%5" shift "goto n" :d) do echo %%L>>enter.bat
call setinput
del setinput.bat
del enter.bat
echo The value of INPUT_=%input_%

I will now ask my questions in other threads!
-- 
Walter Briscoe


From ts@uwasa.fi Sat Jun 12 05:17:08 1999
Subject: Re: (xyz3) Ram drive and ts-progs
To: a2hughes@hotmail.com (a hughes)
Date: Sat, 12 Jun 1999 05:17:08 +0300 (EET DST)
X-Mailer: ELM [version 2.4ME+ PL50s (25)]
Status: RO

>       Do most of your shareware programs REQUIRE a RAM DRIVE be installed on
>  my computer?

No, they don't.

>        What Lines would I need to load into my AUTOEXEC.BAT and CONFIG.SYS
>  files, in order to load a RAM DRIVE?

Depends on the ram drive driver you are using. But the following
line in your config.sys would be a typical example

devicehigh=c:\dos\ramdrive.sys 16000 256 1024 /e

For more, please type
HELP RAMDRIVE.SYS
at your MS-DOS prompt.

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.
Advice on spam foiling at http://www.uwasa.fi/~ts/info/spamfoil.html


From dominik.hudzik@etobres.com.pl  Thu Aug 19 14:49:18 1999
Date: Thu, 19 Aug 1999 13:32:32 +0200
From: Dominik Hudzik <dominik.hudzik@etobres.com.pl>
To: Timo Salmi <ts@UWasa.fi>
Subject: solution for out of memory
Status: ROr

Hi Timo,
I'm working on your archive tsbat58.zip. That give me a lot of thinking. It's
great!
I'd like to add one more solution to the question about running out of memory
when declaring variables. You don't have to change anything in config.sys. It's
enough to make a batch that will call the batch that has to be executed. In the
first batch there should be only one line: command /e:2048 /k your_bat.bat. It's
especially usefully when you are going to send someone a disk with an instal bat
on it.
regards
Dominik Hudzik


From garbouser  Tue Oct 19 11:15:50 1999
Date: Tue, 19 Oct 1999 03:44:15 +0800
From: garbouser (A Garbo User)
To: Timo Salmi <ts@UWasa.Fi>
Subject: Re: Weekly ftplog for Timo's files
Status: ROr

Hello Timo.

I'm writing in to say how much I appreciate the files which you have
made available. I have saved the list to a special "KIV" and will
look them through.
Thanks again for your willingness in sharing information.

Sincerely,


Timo Salmi wrote:

> To get at these files you can use http://garbo.uwasa.fi/pc/ts.html
> http://garbo.uwasa.fi/unix/ts.html and http://garbo.uwasa.fi/ql/
>
> 99-10-12 01:20     Timo's own files, weekly download statistics      Page    1

From hh@uwasa.fi  Fri Nov  5 19:48:01 1999
Date: Fri, 5 Nov 1999 19:43:13 +0200 (EET)
From: Hannu Hirvonen <hh@UWasa.Fi>
Subject: Re: Access to Garbo
To: A Garbo User
cc: ts@uwasa.fi (Timo Salmi)
Status: RO

> I followed the advice in the FAQ for downloading, and have
> had limited success. I use Netscape on a Unix machine. When
> I try to download http://garbo.uwasa.fi/pc/c-lang.html/ztimer20.zip
> by clicking the right mouse button, I get a dialogue box asking
> for a user name and password. When I enter "anonymous" and
> "yyyyyy@sss.uuu.aaaaaaaaa.com" as name and password,
> respectively, I get access denied due to invalid name/password
> or the site does not permit anonymous FTP access.

I'm pretty sure that your site's firewall (socks server) is asking for local
authorization to open ftp-port. ftp is often blocked at firewalls, because ftp
requires transmitting username and password in clear text. Some firewall
schemes also maintain lists of allowed ftp-sites (and similar lists for other
protocolls).

--
    The early bird may catch the worm, but it is the second mouse,
    who gets the cheese.

                                            --  hh

From ts@uwasa.fi Wed Nov 10 11:17:18 1999
Subject: Re: Queries about WORDLIST.EXE.
From: ts@UWasa.Fi (Timo Salmi)
To: Alejandro Alcaraz Sintes <aalcaraz@ctv.es>
Date: Wed, 10 Nov 1999 11:17:18 +0200 (EET)
Status: RO

>Dear Prof. Timo Salmi:
>
>I have downloaded tspell25.zip from ftp://garbo.uwasa.fi/pc/ts/ and have
>executed the application WORDLIST.EXE.  in order to count word
>frequencies in a txt format file.  However, the program is interrupted
>when it meets a line longer than 254 characters.  Since the vast
>majority of the lines or rows in the corpus files I intend to use the
>application on are longer than 254 characters, I wonder if you have
>created a new version of WORDLIST which admits such possibility.  Also,

Dear Alejandro,

I am pleased to hear that you have found of use my WORDLIST.EXE from

 168820 Mar 17 1996 ftp://garbo.uwasa.fi/pc/ts/tspell25.zip
 tspell25.zip Screen oriented spelling checker & word frequency counter.

Yes, indeed text-file lines longer than 254 choke the WORDLIST
program. This is because the program uses strings to read fast the
text line by line rather than going through the file slowly
character by character. Furthermore, the latter, more general option
would need a complete rewriting of the program's algorithm. I am
sorry but such a rewrite is too big a project in a freeware program
for me to consider. It is much better to solve this dilemma as
follows. Use any good standard editor first to wrap your text file
so that there are no overly long lines. Many editors can do that,
including, I think

 74017 Apr 26 1993 ftp://garbo.uwasa.fi/pc/memacs/ue312ibm.zip
 ue312ibm.zip MicroEMACS, The ordinary exe (real mode < 640K)

>I would like to know whether this program can count specific words
>(contained in a txt file) 

That's not necessary. Since WORDLIST puts the results in a file, you
can easily search the speficif words from the output file. You might
even prepare a suitable grep-type search batch file to do that for
you automatically.

>and whether it can count words in more than
>one file.  I thank you in advance for your kind reply.

This is simple. Just join the files together with COPY into a
single, temporary file and then apply WORDLIST on the combined file.

>Alejandro Alcaraz Sintes
>
>Departamento de Filologa Inglesa
>(Department of English Philology)
>Universidad de Jan - SPAIN
>aalcaraz@ujaen.es
>aalcaraz@ctv.es
>953 21 21 34

   All the best, Timo

--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Timo's  procmail tips at  http://www.uwasa.fi/~ts/info/proctips.html

From ts@UWasa.Fi Sun Nov 21 13:44:41 EET 1999
From: ts@UWasa.Fi (Timo Salmi)
Newsgroups: comp.archives.msdos.d
Subject: Re: Too many users at Garbo?
Date: 21 Nov 1999 13:43:57 +0200
Organization: University of Vaasa
Status: RO

In article <817dq0$aas$1@nntp3.atl.mindspring.net>,
Michael D. <kc5yfl@mindspring.com> wrote:

>Hi Prof Salmi,

Dear Michael,

>When I went to your website, I got the message that it could only

By my website you'll mean the Garbo program archives. I say this
because by my website one could, on occasion, also mean
http://www.uwasa.fi/~ts/ which leads to my about 500 pages of
personal matters, teaching, research, information and sundry. Much
of it in English, some in Finnish.

>handle 60 users at a time, and wasn't able to use it. Is there a

Please try again. Usually the quota is not full. E.g. right now
there seems to be 32 ftp users.

>mirror site I may go to, or a special time of day that I should try
>yours? I am in the Central Time Zone of the United States.

At best there were 27 mirrors around the world, but since we no
longer have active maintenance, last I looked we were dow to ten
mirrors. The list is at http://www.uwasa.fi/~ts/garbinfo/garbmirr.html

Unlike the good Simtel.Net I have not actively encouraged using
Garbo mirrors since unlike Simtel we do not have any active
following up of their status.

>Please keep up the good work Sir,

Thank you for the nice compliment.

>Michael D.

   All the best, Timo

--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Digital photos collection at http://www.uwasa.fi/ktt/lasktoim/photo/


From namewithheld  Wed Dec 22 20:51:25 1999
Date: Wed, 22 Dec 1999 12:51:42 -0600
From: namewithheld (A procmail user)
To: ts@uwasa.fi (Timo Salmi)
Subject: your procmail FAQ
Status: ROr

(About http://www.uwasa.fi/~ts/info/proctips.html)

Thank You very much for writing the FAQ on how to get started with procmail
your FAQ was the most useful out of all other documentation (other than the
man page)
The first section of your FAQ is exactly what I was looking for

From ts@uwasa.fi Sun Dec 26 07:39:58 1999
Subject: Re: Spam from Garbo list
To: Bill Clark <addressWithheld>
From: ts@UWasa.Fi (Timo Salmi)
Date: Sun, 26 Dec 1999 07:39:58 +0200 (EET)
CC: Sami Kinnunen <skk@uwasa.fi>, Hannu Hirvonen <hh@uwasa.fi>
Status: RO

Dear Bill,

Thank you for notifying also me of this highly unfortunate problem
that I was not aware of. I am confident that the matter will be
looked into. And, if nothing else helps, the Garbo posting list will
be terminated. In the meanwhile you have the option to unsubscribe
to the gann posting list as per

    ftp://garbo.uwasa.fi/pc/GANN-INF.TXT 

and subscribe to my private mailing list as a special favor as per

    ftp://garbo.uwasa.fi/pc/pd2/infolist.txt

The latter is hopefully spam free since tecnically it is not run by
a true mail server.

   All the best, Timo

> Date: Sat, 25 Dec 1999 15:32:57 -0700
> To: postmaster@uwasa.fi
> From: Bill Clark
> Subject: Spam from Garbo list
> Cc: ts@uwasa.fi

> Postmaster,
> 
> I subscribe to a useful list by Timo Salmi from uwasa.fi.  Lately I have
> been receiving spam from garbo.uwasa.fi addressed to 'gann@garbo.uwasa.fi'.
>  There have been several such messages over the past few months.  I was
> just wondering if this is an acceptable practice to this site.  If so, I
> will unsubscribe as I strongly oppose the use of unsolicited commmercial
> email. I do not support sites that support spam.
> 
> Thank you.
> 
> Bill Clark
> 
> 
> >X-Authentication-Warning: garbo.uwasa.fi: mdom set sender to
> undisclosed
> >Date:         Fri, 24 Dec 1999 21:36:54 -0500
> >From: WEBFORTYFIVE <LISTSERV@JOBSONLINE.COM>
> >Subject: [GANN] Want 30 minutes of long distance at no cost..... register
> with
> >              JobsOnline
> >To: garbo mailing list
> >
> >JobsOnline is the Internet's leading employment and career resources site.
>  Job Seekers can post resumes to a database that contains over 200,000
> current job postings, review salary information and take a job aptitude
> test.  JobsOnline provides these services absolutely FREE.  Register now
> with JobsOnline and receive 30 FREE minutes of long distance!!  Click here
> to register.
> >www.jobsonline.com/sales/sales_web45.asp
> >
> >*************************
> >
> >To unsubscribe select the link below.
> >mailto:WEBFORTYFIVE-signoff-request@mlm.jobsonline.com?subject=signoff


From ts@uwasa.fi Sun Feb 13 10:56:59 2000
Subject: Re: MS-DOS 6 setting file date
To: Michele Schwob <e_schwob@hadassah.org.il>
Date: Sun, 13 Feb 2000 10:56:59 +0200 (EET)
From: ts@UWasa.Fi (Timo Salmi)
X-Mailer: ELM [version 2.4ME+ PL66 (25)]
Status: RO

>Dear Mr. Timo Salmi,
>
> Wonderful!!Your program touch.exe in tsutlb22.zip exactly resolve my problem,
> I run it to correct the files on my diskettes to change the file date to an
> earlier date  and then my program accept to transfer the files via the
> network program without error. Also it's effective and fast although that I
> need to set a lot of files.Thank you very much.
>
>Best regards,

Dear Michele,

Thank you for the nice feedback. I am very pleased to learn that you
have found useful my

 84200 Feb 2 2000 ftp://garbo.uwasa.fi/pc/ts/tsutlb22.zip
 tsutlb22.zip Timo's 2nd utility set (touch,chars,dire,setgra)

package and its touch.exe utility.

   All the best, Timo

--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Digital photos collection at http://www.uwasa.fi/ktt/lasktoim/photo/

From ts@uwasa.fi Wed Mar  1 10:31:49 2000
Subject: Re: Suggestion for touch.exe
From: ts@uwasa.fi (Timo Salmi)
To: A Garbo User <>
Date: Wed, 1 Mar 2000 10:31:49 +0200 (EET)
Status: RO

> Professor Timo Salmi:
> 
> I have found your library of DOS commands to be very useful.  Thank you
> for sharing it openly on the internet.
> 
> I have one question.  Can your program touch.exe be made to handle files
> with names longer than eight characters?  I have searched the internet
> in vain for a DOS command line utility capable of this.  Perhaps I am
> not using your most recent version?  Here is the URL that I found it on.
> 
>  ftp://garbo.uwasa.fi/pc/ts/tsbat60.zip
> 
> Thank you for your help.

Dear Garbo User,

The touch.exe program is within

 84200 Feb 2 2000 ftp://garbo.uwasa.fi/pc/ts/tsutlb22.zip
 tsutlb22.zip Timo's 2nd utility set (touch,chars,dire,setgra)

But it can't and won't be able to handle long file names (i.e.
longer than 8+3). All my programs are pure MS-DOS programs. Long
file names is a feature that came along with Windows 95 and is thus
not a bona fide, independent MS-DOS property. Sorry.

   All the best, Timo

-- 
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Timo's  procmail tips at  http://www.uwasa.fi/~ts/info/proctips.html


From ts@UWasa.Fi Thu Mar  2 11:29:46 2000
From: ts@UWasa.Fi (Timo Salmi)
Newsgroups: comp.archives.msdos.d
Subject: Re: tsutlc24.zip Timo's 3rd utility set
Date: 2 Mar 2000 07:51:48 +0200
Organization: University of Vaasa
Status: RO

In article <89k2at$13k$1@merope.saaf.se>,
Paul Schlyter <pausch@saaf.se> wrote:
:In article <ts0003010850.12008@loisto.uwasa.fi>,
:Timo Salmi <ts@UWasa.Fi> wrote:
:>  108850 Mar 1 2000 ftp://garbo.uwasa.fi/pc/ts/tsutlc24.zip
:>  tsutlc24.zip Timo's 3rd utility set (dirf,dirinfo,doubles,hidden,split,...)

:Seems like some of these programs can be removed, since their function
:is easily duplicated with DOS commands:
: 
:> Filename        Comment                             Date      Time
:> --------        --------------------------------    ----      ----
:> DIRF.EXE        Directory in full, recursive      02-29-00  02:46:50
: 
:Can be done with:   dir /s

Dear Paul,

Thank you for the comment. What you say is partly true, but there is
a little more to it. First, the programs date back to an MS-DOS
phase when that was not yet the case, but that's irrelevant. Second
the date and time information given by DIRF is slightly more
complete that that of dir /s. DIRF gives the year in four digits and
includes the seconds in the timestamp. Third there is slightly more
information on the totals line in DIRF.

Whether the second and third properties are of any real interest is
up to the potential user of these freeware programs. Anyway,
although the additional information undoubtedly is marginal, their
function cannot quite be duplicated with DOS commands. Thus I'll
continue to keep the programs in the package.

:BTW do your programs above support long filenames if run in a Win-95
:console?

None of my programs do. All my programs are vanilla MS-DOS programs.
Long file names is a feature that came along with MS-DOS 7 that
works only in conjunction with Windows 95+ and is thus not an
independent, original MS-DOS property. The last stand-alone MS-DOS
version 6.22 does not include long file names.

   All the best, Timo

-- 
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Digital photos collection at http://www.uwasa.fi/ktt/lasktoim/photo/


From kaysy@my-deja.com Fri May 12 07:31:30 EET DST 2000
From: kaysy@my-deja.com
Newsgroups: alt.msdos.batch
Subject: Thanks [for tsbat] Timo!
Date: Thu, 11 May 2000 21:59:03 GMT
Organization: Deja.com - Before you buy.
Status: RO

[ About ftp://garbo.uwasa.fi/pc/ts/tsbat61.zip ]

Just wanted to send a thanks to Timo Salmi (and
all those who have contributed to it) for posting
a link to your collection of useful batch files
and tricks.  I'm relatively new to batch file
writing and #59: How to get today's date into a
six-character environment variable was exactly
what I was looking for!


Sent via Deja.com http://www.deja.com/
Before you buy.


From ts@uwasa.fi Tue Jun 20 19:55:54 2000
From: ts@UWasa.Fi (Timo Salmi)
Subject: Re: exit/quit command for flag game
To: Ziae Azami <chongzi@cadvision.com>
Date: Tue, 20 Jun 2000 19:55:54 +0300 (EET DST)
Status: RO

> Dear Mr. Salmi,
> 
> I downloaded the game called flag game from your site.  When I click on

I am pleased to hear that you have downloaded my

 89617 Feb 7 1998 ftp://garbo.uwasa.fi/pc/ts/tsgmed14.zip
 tsgmed14.zip Learn national flags as educational games,T.Salmi

> exe the game starts in an MS-DOS like window.  However, I don't know
> what the command is to type in so that the progrm stops running.  I

It is exactly the same as with any MS-DOS program. Use CTRL-Break
(or CTRL-C).

> looked at the commands that you have included in the document that comes
> with the game but I did not find any exit command.  I typed exit but it
> did not work.  I pressed on Esc but it did not work.  I had to click on
> ctrl+alt+delete to end the game.  I know that that is not the right way
> of exiting/quitting the game.  So my question is: what should I type in
> to exit the game and go back to windows?  I have windows 98.

These are two different questions. The former is answered above. The
latter is more general and has to do with running MS-DOS programs
under Windows. The MS-DOS Windows in closed with the EXIT command.
FLAGGAME is a plain MS-DOS program. I take it that you know first to
invoke the MS-DOS and only then call FLAGGAME. I also take it that
you know that you should use the MS-DOS Window in the full mode, not
minimized.

I am not surprised at the question and the problems. This is more
and more common as the current Microsoft Windows policies seem to be
deleberately geared to suppressing the MS-DOS usage and support.

> Thank you for your kind reply.
> 
> Sincererly,
> 
> Ziae Azami

   All the best, Timo

-- 
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Timo's  FAQ  materials  at   http://www.uwasa.fi/~ts/http/tsfaq.html

From ts@uwasa.fi Wed Jul 19 22:11:09 2000
Subject: Re: tsnum14.zip numerical programs
In-Reply-To: <200007191603.SAA17663@tom.rz.uni-passau.de> from Bastian Kruse
	at "Jul 19, 2000 06:02:42 pm"
To: Bastian Kruse <W3KRUS01@stud.uni-passau.de>
Date: Wed, 19 Jul 2000 22:11:09 +0300 (EET DST)
Status: RO

>  Hello Prof. Salmi,

Hello Bastian,

>  I tried your numerical programms (bise.exe seca.exe)

I am pleased to hear that you have used my

 103973 Sep 15 1998 ftp://garbo.uwasa.fi/pc/ts/tsnum14.zip
 tsnum14.zip Various programs in numerical analysis, T.Salmi

>  I always receive an error saying
>  
>  INVALID EXPRESSION
>  x2-7*x+5
>  ^
>  
>  my input is:
>  
>  seca x^2-7*x+5 1.0 5
>  
>  What is wrong ?

I tried the same in an MS-DOS window, BUT under Windows 3.11. I have
no problems and get

c:>seca x^2-7*x+5 1.0 5

SECAnt method, Copyright (c) by Prof. Timo Salmi, (Ver. 1.1a) 3-Nov-88
Address: University of Vaasa, P.O.Box 700, FIN-65101, Finland

Solving X^2-7*X+5 = 0

X = 0.80742

F( 8.0741759643E-01) =  1.4551915228E-11
NUMBER OF ITERATIONS = 5


>  I tried it in a dos window under nt 4.0

I have very little experience with NT, but just maybe it interprets
the caret ^ differently (e.g. 4DOS does). If so, there is nothing I
can do about it, since my programs are written for vanilla MS-DOS
(6.22 and earlier). Sorry.

>  Thanks in advance !
>  
>   Bastian
>  -----------------------------------------------------
>  Bastian Kruse    w3krus01@stud.rz.uni-passau.de

   All the best, Timo

-- 
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Timo's  FAQ  materials  at   http://www.uwasa.fi/~ts/http/tsfaq.html

