HDTenEightyP/NetNews huggingface dataset:
From: liman@kth.se (Lars-Johan Liman)
Newsgroups: comp.lang.tcl
Subject: Interactive paging under tcl?
Date: 16 Apr 92 17:14:48 GMT
Article-I.D.: kth.1992Apr16.171448.17269
Reply-To: liman@kth.se (Lars-Johan Liman)
Organization: Royal Institute of Technology, Stockholm, Sweden


I am trying to build a set of Module files for our site, and I wish to
be able to page messages to users using, e.g., more. My first idea was
to try something like
  exec more /the/file
but it doesn't work, since tcl sets stderr to pick up output in an
obsolete way ;-). My next idea was to trick tcl by starting more from
a sub-shell:
  exec sh -c {more /the/file < /dev/tty > /dev/tty 2>&1}
but that doesn't work either. You get the first page of text followed
by the "--More--" prompt, and then the tcl script immediately runs
along, without waiting for me ;-). Since then I've been trying more
and more elaborate ways to trick tcl, using sub-sub-shells, opening
/dev/ttyxx (xx = my terminal) as std{in,out,err}, closing other file
descriptors (sh -c ... 3>&- 4>&- ...), using another pager (less), but
nothing seems to work the way I want it to, i.e., wait until I quit the
pager, and then go on.

Is it just plain impossible to achieve what I want, or is there a work
around or a fix for it?

Platform data:
  Sun-4/*
  SunOS 4.1.2
  tcl version 6.2
  modules version 1.0
----------------------------------------------------------------------
Lars-Johan Liman, system administrator	! Internet: liman@pdc.kth.se
Center for Parallel Computers		! BITNET  : LIMAN@SEKTH
Royal Institute of Technology, Sweden	!
From: linkosalo@cc.helsinki.fi
Newsgroups: comp.lang.tcl
Subject: Tutorials for Tcl/Tk ??
Date: 8 Apr 92 14:10:50 GMT
Organization: University of Helsinki



Are there any tutorials for TCL/TK? What I'd like to see is a shortish paper
listing all commands and their use _in_nutshell_. Also some example programs
could be useful. Reading the man -pages is quite tedious, as they don't give
any overall picture of the language.

I'm planning to use TCL/TK within a C user-interface in a X-windows program.


Tapio Linkosalo,
univ. of Helsinki, Finland

internet: linkosalo@cc.helsinki.fi  OR tapio.linkosalo@helsinki.fi
From: beshers@cs.columbia.edu (Clifford Beshers)
Subject: 30 usec worth of amusement
Organization: Columbia University Computer Science
Distribution: comp
Date: Tue, 7 Apr 1992 23:20:40 GMT


This is a mildly amusing wish script.  I wrote it to demonstrate
the simplicity and flexibility of wish and tcl to someone.

*************************cut here********************************
: This is a shar archive.  Extract with sh, not csh.
: The rest of this file will extract: 
:
:	star
:
echo x - star
sed 's/^X//' > star << '//go.sysin dd *'
X#!/usr/local/bin/wish -f
Xwm title . wish
Xbutton .b -text {              *              } \
X  -command {.b configure -text { Your wish has been granted. } \
X	-command {destroy .}} \
X  -font *-courier-bold-r-normal-*-12-*
X
Xpack append . .b top
//go.sysin dd *
exit



--
-----------------------------------------------
Clifford Beshers
450 Computer Science Department
Columbia University
New York, NY 10027
Office:  (212) 854-8184
Fax:     (212) 666-0140
Email:   beshers@cs.columbia.edu

Newsgroups: comp.lang.tcl
From: boyes@bnr.ca (Greg Boyes)
Subject: Re: Fix for HP-UX man page formatting
Organization: BNR Europe Ltd, Maidenhead, UK
Date: Mon, 06 Apr 1992 16:23:23 GMT

Thanks to all those that replyed with non-destructive solutions
to the spurious "^[9" output problem.  These are:

   1) nroff with "-Tlp" option to define a vanilla line printer driver.
   2) post-process nroff output through "col".

Both these methods will elimiate the "^[9" output, and hence scrolling
footers.

BUT, the effect is to replace the half-line space (in the ".DE" macro)
with no line space.  eg.  From the Tcl.man output:

   the command

      set a 22
   has three fields:

Modifying the ".DE" definition, for less capable devices, defines a 
single line space.  eg.

   the command

      set a 22

   has three fields:


Pays your money, and takes your choice...

-- Greg
Newsgroups: comp.lang.tcl
From: ejk@ux2.cso.uiuc.edu (Ed Kubaitis - CSO )
Subject: Re: TCL interface to gnuplot ??
Organization: University of Illinois - Urbana
Date: Mon, 13 Apr 1992 12:44:59 GMT

axel@cs.tu-berlin.de (Axel Mahler) writes:
  |Has anyone interfaced Gnuplot to TCL ??
  |Gnuplot looks like the typical example of a complex application 
  |coming with its own configuration-/command language. 

Rewriting the gnuplot command interface to use TCL sounds like a
fairly large undertaking.

But on a different matter,  new feature code tentatively scheduled for 
gnuplot 3.3 may make it easy to interface gnuplot to tk. The code allows 
an X application to create gnuplot command and data files, then invoke 
gnuplot by function call and have the resultant plot displayed in a 
drawable specified by the caller. An elegant trick to turn gnuplot into a 
powerful "graphical widget" for X GUI applications.

----------------------------------
Ed Kubaitis (ejk@ux2.cso.uiuc.edu)
Computing & Communications Services Office - University of Illinois, Urbana
Newsgroups: comp.lang.tcl
From: karl@NeoSoft.com (Karl Lehenbauer)
Subject: Re: Tcl exec: grabbing output and exit status ?
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Mon, 13 Apr 1992 21:11:12 GMT

In article <1992Apr13.141913.21305@bmerh2.bnr.ca> mpm@bnr.ca (Mike Mogridge) writes:
>I'm using the tcl command exec to execute a un*x command and I want to save
>the output from the command as well as get the exit code from the application.
>The exec command will give me the output; eg. set data [exec ls].  I would
>also like the return code; if I was at the csh prompt I'd do a ls; echo $status.

>How can I get both pieces of information?  

If the command executed by "exec" returns a non-zero exit status, a Tcl
error is returned (and must be caught with "catch" if you want to continue
executing.)

In the case of a non-zero exit status, the "errorCode" variable is set.
In this case, it will be a list containing three elements, the string
"CHILDSTATUS", the process ID of the child, and the exit status of the child.

-- 
-- Email info@NeoSoft.com for info on getting Internet access.
     "Trust me.  I know what I'm doing." -- Sledge Hammer
From: linkosal@klaava.Helsinki.FI (Tapio Linkosalo)
Newsgroups: comp.lang.tcl
Subject: Simple example programs needed
Date: 13 Apr 92 11:13:41 GMT
Organization: University of Helsinki

I'm going to use tcl/tk within C to ease making a X-windows user interface. I'd 
like to see some simple C-programs that use tcl, to get a clue how to use tcl 
in C.

In tk1.4 -subdirectory there is a program called tkSquare.c. Unfortunately I've
been unable to compile it. The linker says 'Undefined symbol: -main'. I can't 
find any main(), guess there should be one? Or should I build another main-
program that calls tkSquare?

Sorry if these questions are trivial, but I'm quite new to both tcl and Unix...


Tapio Linkosalo
internet: tapio.linkosalo@helsinki.fi
From: adrianho@barkley.berkeley.edu (Adrian J Ho)
Newsgroups: comp.lang.tcl
Subject: Re: Tcl open command
Date: 15 Apr 92 18:42:40 GMT
Article-I.D.: barkley.ADRIANHO.92Apr15134240
Organization: University of California, Berkeley
NNTP-Posting-Host: barkley.berkeley.edu
In-reply-to: maule@fig25.cray.com's message of 15 Apr 92 18:05:34 GMT

In article <1992Apr15.130534.26425@hemlock.cray.com> maule@fig25.cray.com (Mark Maule) writes:
>Why does the tcl open command (source in tclUnixAZ.c, function Tcl_OpenCmd())
>return a TCL_ERROR code if the file cannot be opened?  I understand why you
>would want to do that on a usage error, but why not return TCL_OK, and set
>the interp result to something more analagous to the NULL returned by fopen()?
>(I guess even the string NULL would work).

Do you have an example in which it would be more convenient to have
"open" return TCL_OK?  I can't think of an example in which returning
"NULL" as a file handle is a big win over "catch"ing the error.

From a philosopical standpoint, I think the return value *should* be
TCL_ERROR, because "open" cannot return a *valid* file handle under
the circumstances.  It's also, of course, a built-in defense against
sloppy or no error handling, especially for the neophyte who's never
heard of "catch".  8-)
--
-----------------------------------------------------------------------------
Adrian Ho, He With The Embarrassingly *Dead* Passion ** Phone: (510) 642-5563
System Manager, CFD Lab, ME Dept, UC Berkeley * adrianho@barkley.berkeley.edu
Maintainer, Tcl/Tk Contrib Archive ---- barkley.berkeley.edu [128.32.142.237]
Newsgroups: comp.lang.tcl
From: dhami@cs.ubc.ca (Mandeep S Dhami)
Subject: Emacs mode for expect
Summary: Where can I Ftp it from?
Keywords: emacs mode, expect
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Date: Mon, 13 Apr 92 02:01:49 GMT

Does anybody in networld know from where could I 
ftp emacs mode for expect/tcl (if one exists!)

Thanks,
Mandeep.

PS: e-mail replies will be appreciated.

--
-------------------------------------------------------------------------------
Humans are Okay. I AM glad to be one. I like them in general, but they are
only human. ... The intellectual doesn't like the idea of this machine doing
it better than he does, but it is no different from the guy who was surpassed
Newsgroups: comp.lang.tcl
From: karl@NeoSoft.com (Karl Lehenbauer)
Subject: Re: Tcl for MS-Windows?
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Mon, 13 Apr 1992 13:29:13 GMT
Keywords: Tcl, MS-Windows

In article <299@fafnir.plusplus.is> heimir@plusplus.is (Heimir Thor Sverrisson) writes:
>Has anyone ported Tcl to Microsoft Windows 3.X, or is planning
>to do so?

I have created interfaces for about 10% of the calls in the Windows library.
I then quit working on it.  If you'd like, I'll email what I got done.  It
could at least be used to see the approach I took...
-- 
-- Email info@NeoSoft.com for info on getting Internet access.
     "Trust me.  I know what I'm doing." -- Sledge Hammer
From: karl@NeoSoft.com (Karl Lehenbauer)
Newsgroups: comp.lang.tcl
Subject: Re: On thanx, SQL, Lex/Yacc, and perl
Keywords: n
Date: 9 Apr 92 13:08:48 GMT
Distribution: all
Organization: NeoSoft Communications Services -- (713) 684-5900

In article <1992Apr6.215853.10020@PacBell.COM> t4mhoff@srv.PacBell.COM (Todd Hoff) writes:
>When perl becomes
>embeddable in the next release, which would be better to
>use, tcl or perl? The probable answer is it "depends," but
>on what? I like the clean design of tcl, yet perl is
>more widely used (I think). 

Certainly PERL is more widely used, for now at least.  But some people feel, 
as Dale Worley (worley@compass.com) fairly eloquently said: "In my opinion, 
Perl's biggest weaknesses are (1) its syntax is fantastically complex
(consider the multiple meanings of / and $), and (2) it is a collection of 
features more than a coherent language for expressing algorithms."

Tcl has the X-windows Tk toolkit, and further, there is a large, existing
body of experience in embedding Tcl -- only time will tell if PERL is 
appropriate for this use, and if they "got it right" in terms of creating
a good interface for it.

>It is, however, hard to get others to learn more than
>one tool. A standard would be nice.

A standard would be nice?  You mean merge them or something?  Goodness,
they are totally different languages, reflecting widely divergent design
philosophies.  Merging them would be like trying to mix oil and water.

-- 
-- Email info@NeoSoft.com for info on getting Internet access.
     "Trust me.  I know what I'm doing." -- Sledge Hammer
From: kennykb@dssv01.crd.ge.com (Kevin B. Kenny)
Newsgroups: comp.lang.tcl
Subject: Re: Fix for HP-UX man page formatting
Date: 6 Apr 92 13:32:15 GMT
Reply-To: kennykb@crd.ge.com
Organization: GE R&D, Information Architectures & Management Program

In article <1992Apr02.201025.24617@bnr.uk>, boyes@bnr.ca (Greg Boyes) writes:
|> Having tried to format the man pages for Tcl6.2 on HP-UX 7.05,
|> I got spurious "^[9" output, and scrolling footers (ie. Having 
|> the footer in the middle of page 30 in Tcl.3).

That's a common problem.  The ESC-9 is an ANSI escape sequence
(half-line-feed).  I don't like getting rid of the half-line spaces in
the macros, since they improve the appearance of TROFF output.  There
are a couple of other possibilities:

	- Use a -Tterminal-name to nroff with a terminal that doesn't
	  support half-line-feed (-Tlpr is the usual `dumb libne
	  printer' device driver).
	- Use col(1) or colcrt(1) to clean up the output.

73 de ke9tv/2, Kevin
From: mgc@cray.com (M. G. Christenson)
Newsgroups: comp.lang.tcl
Subject: bug with menus
Date: 8 Apr 92 20:45:54 GMT
Article-I.D.: hemlock.1992Apr8.154554.17049
Reply-To: mgc@cray.com
Organization: Cray Research, Inc.


If you mouse on a menubutton, and then move the mouse cursor
around, other menu buttons are activated in the same application
even if they are obscured.  The included program demonstrates
this.  Anyone know how to fix this?



When you run this, you will get two toplevel windows.
One has a menubutton and a label.  The other just
a menubutton.  Raise and move the first window
so the label covers the second.  Then pop up
the first menu, and keeping the mouse button pressed,
move the cursor across the label.  The second menu
should pop up when its menubutton is crossed.

proc bind.menu args {
    foreach w $args {
	bind $w <Any-Enter> "$w activate @y"
	bind $w <Any-Leave> "$w activate none"
	bind $w <Any-Motion> "$w activate @y"
	bind $w <ButtonRelease-1> "$w invoke active"
    }
}

proc bind.menubutton args {
    foreach w $args {
	bind $w <Enter> "$w activate"
	bind $w <B1-Enter> "$w activate; $w config -relief sunken; $w post"
	bind $w <B1-Leave> "$w deactivate; $w config -relief flat"
	bind $w <Shift-B1-Leave> "$w deactivate; $w config -relief flat"
	bind $w <Leave> "$w deactivate"
	bind $w <1> "$w config -relief sunken; $w post"
	bind $w <Shift-1> "$w.m post 142FC5 Y"
	bind $w <ButtonRelease-1> "$w config -relief flat; $w unpost"
	bind $w <Shift-B1-Motion> "$w.m post 143029 Y"
    }
}

menubutton .menu -text MenuOne -menu .menu.m
bind.menubutton .menu
menu .menu.m
bind.menu .menu.m
.menu.m add command -label "Menu item one"
.menu.m add command -label "Menu item two"
.menu.m add command -label "Menu item three"
.menu.m add command -label "Menu item four"
label .label -text "Move this window so the label covers \"MenuTwo\""

pack append . .menu left .label left

toplevel .two
menubutton .two.menu -text MenuTwo -menu .two.menu.m
bind.menubutton .two.menu
menu .two.menu.m
bind.menu .two.menu.m
.two.menu.m add command -label "Menu item one"
.two.menu.m add command -label "Menu item two"
.two.menu.m add command -label "Menu item three"
.two.menu.m add command -label "Menu item four"

pack append .two .two.menu left
From: roth@oasys.dt.navy.mil (Pete Roth)
Newsgroups: comp.lang.pascal
Subject: Re: __DATE__ __TIME__
Date: 14 Apr 92 12:37:07 GMT
Reply-To: roth@oasys.dt.navy.mil (Pete Roth)
Organization: The David Taylor Model Basin

In comp.lang.pascal, s1949782@titan.ucc.umass.edu (Matthew Crocker) writes:
[...]
>I know C has __DATE__ which works but I want to know if there is a
>similiar function in TP...

Try using the online help! Click on 'Help' on the IDE MenuBar.
Or, you might try RTM.

regards, pete
- - - - - - - - - - - - - - - - - - - - - - - - - -
Peter N Roth      roth@oasys.dt.navy.mil
Just another victim of the GUI-induced Mouse Elbow Syndrome.
Xref: sparky comp.lang.pascal:2920 comp.lang.c:7696
From: baylor@ccwf.cc.utexas.edu (Baylor)
Newsgroups: comp.lang.pascal,comp.lang.c
Subject: read and freadf
Date: 16 Apr 92 19:12:20 GMT
Followup-To: comp.lang.pascal
Organization: The University of Texas at Austin, Austin TX


	Does anyone know if Turbo Pascal's (Borland) blockread
and Turbo C's (Borland) freadf (and similarly blockwrite and
fwritef) functions are similar?
	I have a program in C that creates 50*40 pixel icons
in ega 640*350 mode that stores the files in binary using fwritef.
I'm trying to read them using pascal (for many reasons not in C ).
I have failed miserably each time. I would think the bgi stuff
is compatible between the two, the modes are the same, and storing
the images the program justs fwritef's a pointer.
	One weird think i noticed is that in pascal when i 
check imagesize for a 50*40 image it's 1531 (or so) and the size
this program reports for the same size image is 1714.
	I don't get it.


-- 
-----------------------------------------------------------------------
Baylor Wetzel    baylor@ccwf.utexas.edu         "There is no such thing 
IBM LAN Manager, University of Texas             as an innocent Kennedy"
"All opinions are soley those of the unix guys playing with my account"
-----------------------------------------------------------------------
From: ke-fong@omj.gna.org (Ke-Fong Lin)
Newsgroups: comp.lang.pascal
Subject: Re: Opened files limit in Turbo Pascal 6.0 ???
Date: 10 Apr 92 17:05:11 GMT
Organization: OMJ, 17 rue Raspail, 94200 Ivry, France. +33 (1) 46722485


> Hi there,
> I wrote a database application using Turbo Pascal 6.0. Now I have to upgrade
> some of the program features. I have a problem dealing with the database and
> its index files. I must open 18 files together. It seems that Turbo Pascal
> does not accept more than 12 simultaneously opened files...
> 
> Is there a way to bypass this limitation ?
> 
> Thanks for any help !
> 
> Sincerely,
> 
> Steve Jordi                
> 
> +-------------------------+----------------------------------------------+
> | Dpt of Geophysics       | Fax: + 41 22 205-732                         |
> | University of Geneva    |                                              |
> | 13, Rue des Maraichers  | E-Mail: Internet:   jordi@sc2a.unige.ch      |
> | 1211 GENEVA 4           |         Bitnet:     jordi@cgeuge52.bitnet    |
> | Switzerland             |         Compuserve: 70143,3056 (once a week) |
> +-------------------------+----------------------------------------------+ 
I think you may check the command FILES in CONFIG.SYS.
FILES is number of files you can open simultaneously.
Exemple :
FILES=20  you can open 20 files simultaneously.
But if you use Turbo Pascal under a network ask the question to the
Supervisor.

Note :
If you want to open 18 files simultaneously set the FILES 23 because
Turbo Pascal opens 3 files on editing mode and 5 on compiling.
From: doug@neumann.une.oz.au (Doug Colman)
Newsgroups: comp.lang.pascal
Subject: 5x5 BGI font needed please !
Keywords: font bgi please 320x200
Date: 8 Apr 92 07:21:07 GMT

DEAR FELLOW PASCALLERS:
I am in need of a 5x5 font for use
with 320x200 resolution modes; 
(I think this is the smallest tolerable
size in this mode); using
Turbo Pascal 5.5; none of the existing 
.CHR fonts seem to do the trick; can 
anyone suggest a solution ?
Many Thanks;
-- DOUG.
From: bobb@vice.ICO.TEK.COM (Bob Beauchaine)
Newsgroups: comp.lang.pascal
Subject: Re: How to link compiled C functions in TP
Keywords: link C
Date: 8 Apr 92 16:23:18 GMT
Distribution: comp
Organization: Tektronix, Inc., Beaverton,  OR.

In article <?.702734397@ss1> johnsotc@ss1.wpafb.af.mil (Tom C. Johnson) writes:
>Anybody have any experience with this who would be willing to share them?
>
>Thanks,
>
>Tom
>
>
>johnsotc@ss1.sews.wpafb.af.mil

  I tried to respond by email, which bounced.  My apologies to
  those who have seen this response too many times before.


  The answer is a qualified yes.  Yes, you can call C code, but you
  probably won't want to.  Unless you've purchased the runtime library
  for your C compiler and changed the segment naming conventions, you
  are not going to be able to call *any* of the C runtime library 
  routines.  This includes everything from printf() to malloc().

  If you still want to call C code, you need to do the following:
    
    1. Your C code can have no initialized data (i.e, no initialized
    statics).  This was true for Turbo 5 and 5.5.  I believe that
    Borland has changed the linker enough to remove this restriction
    with Turbo 6, but I have not verified that fact.

    2.  All symbols must have valid Pascal identifiers.

    3.  The object file cannot contain groups or classes.

  To accomplish the above, pass the following compiler directives to 
  TCC at compile time:

    -wrvl	enable all warnings
    -p		use pascal calling convention
    -k-		turn off standard stack frame
    -r		use register variables
    -u-		turn off underscore generation
    -c		compile to .obj file (no .exe)
    -ms		use small memory model
    -zCCODE	name code segment CODE
    -zP		no code group generation
    -zA		no code class generation
    -zRCONST	name the static data segment CONST
    -zS		no data group generation
    -zT		no data class generation
    -zDDATA	name data segment DATA
    -zG		no BSS group
    -zB		no BSS class


  When compiled, link in the object code with a $L compiler directive in
  Turbo.  Then create an external procedure declaration.

  I would suggest returning var parameters from C rather than having
  functions return values unless you know the compiler's return method
  for the various sized data types.

  In short, for the functionality you gain by calling procedures from
  C as opposed to the restrictions, I would stick to assembler until
  Borland makes Turbo Pascal with an external linker that allows you
  more flexibility.  But don't hold your breath.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 

Bob Beauchaine bobb@vice.ICO.TEK.COM 

C: The language that combines the power of assembly language with the 
   flexibility of assembly language.

Real friends don't let friends use UNIX.
From: dtiberio@csws7.ic.sunysb.edu (David Tiberio)
Newsgroups: sbcs.cse114,comp.lang.pascal
Subject: Re: pascal trouble
Date: 12 Apr 92 04:45:05 GMT
Distribution: na
Organization: State University of New York at Stony Brook

In article <1992Apr12.034402.28270@sbcs.sunysb.edu> dtiberio@csws7.ic.sunysb.edu (David Tiberio) writes:
>In article <1992Apr12.024103.27635@sbcs.sunysb.edu> dtiberio@csws7.ic.sunysb.edu (David Tiberio) writes:
>	I solved this problem. It ends up I was messing
>with the difficulty string instead of the name string!
>Well, at least it only took me a few hours this time...
>
>
>David Tiberio - user of Standard Pascal, the Miracle Language
>
>
>
>
>				Sincerely,
>				R2x ver 2.03.01
>

	Thanks to R2x ver 2.03.01, I was able to fix my sort routine.
It ends up I forgot to do a loop...well, when I looked at my code the
loop was there, but I had an end statement in the wrong place. Luckily
he, I mean R2x (R2x doesn't have a gender), found the bug for me. Thanks
R2x!



-- 
      //   David Tiberio  SUNY Stony Brook 2-3662  AMIGA  DDD-MEN   
     //  Not the llama! Come here Earl; I want to tell you something...
   \X/  Liverpool, New York	flames to suggestions@cbmvax.commodore.com
From: maurice.steyvers@ica.rulimburg.nl (M.L.A.M. Steyvers)
Newsgroups: comp.lang.pascal
Subject: Wanted: example/source of TV "menu" program.
Keywords: Turbovision
Date: 8 Apr 92 15:08:15 GMT
Distribution: comp.lang.pascal
Organization: Rijksuniversiteit Limburg


On our campus-network we are offering several services (like e-mail
,remote-login, file-transfer, net-news e.g). 
These services should be started from ONE menu program and we intend to build
this menu in TurboPASCAL/VISION. 
In the standard menu-bar of TV, menu-items are selected by the ALT-key. 
For a program whoes only purpose is making menu-selections this should be
made easier (just the letter-key should do the trick).
Because I'm new to TurboVISION examples/sources of such a "menu"
program could help a lot. 

Thanks,



-----------------------------------------------------------------------------
maurice.steyvers@ica.rulimburg.nl		        University of Limburg
Information, Communication & Automation		  Maastricht, the Netherlands
-----------------------------------------------------------------------------