users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get rid of prolog banner


From: olivier . dameron
Subject: Re: get rid of prolog banner
Date: Sat, 26 Apr 2003 21:46:30 +0200 (MEST)

The --init-goal is ok for the prolog banner, but I still have a few lines
when loading the facts from the file.
Eventually, I would need a silent mode, or a to redirect standard output
after reading the file.

However, I've got an error:
address@hidden:~/projet/prolog> gprolog --init-goal
'[testProlog],open(result,write,myOutput,),set_output(myOutput),foo(bar);close(myOutput),halt(0)'
warning: command-line goal
'[testProlog],open(result,write,myOutput,),set_output(myOutput),foo(bar);close(myOutput),halt(0)'
 caused exception:
error(syntax_error('constant term stream:1 (char:41) expression
expected'),read_term_from_atom/3)


Thanks,
Olivier

> > I would like to get rid of the 6-lines banner:
> > GNU Prolog 1.2.16
> > By Daniel Diaz
> > Copyright (C) 1999-2002 Daniel Diaz
> > compiling /home/olivier/tmp/prolog/testProlog.pro for byte code...
> > /home/olivier/tmp/prolog/testProlog.pro compiled, 32 lines read - 2832
> bytes
> > written, 25 ms
> > | ?- foo(bar);halt(0).
> > 
> > Is there an easy way to do this, or would a little shell scripting do
> the
> > trick ?
> 
> What about --init-goal?

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]