ZIMPROMPT

ZIMPROMPT

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

ZIMPROMPT

ZimPrompt is a text-based utility that provides a basic language interaction with a Zim:X database.

zimprompt -n database [-u user] [-p password] [-c command] [-o port] [-h host name] [-w work path]

Parameters

-n databaseis one of the database names provided in the zimdb.zim configuration file when Zim Server was started. This parameter is obligatory
-p passwordis the password for this user as known by Zim:X. The users ZIM and super don’t have a password; just provide the parameter as -p “”. If omitted, it is assumed the null string (“”)
-u useris a user name known by Zim:X. Usually, any Zim database contains, by default, the users ZIM and super.  If omitted, this parameter is assumed “ZIM”
-c commandis the Zim:X command you want to execute when Zim starts.  If omitted, it is assumed “zimprof”
-o portis the server port number used to connect to Zim Server as specified in zimconfig.srv configuration file.  It omitted, this port is “6002”
-h hostnameis the name of the machine where Zim Server is running. It can be a name or an IP address known to the network.  If omitted, it is assumed “localhost”
-w work pathis an operating system absolute address where temporary files used by this Zim session will be placed. If omitted, it is assumed the null string (“”)

Comments

When Zim:X starts, it connects to ZimServer using the database name specified, takes the appropriate parameters from the database configuration file, and then either executes immediately the Zim command specified in the parameters or prompts the user.

If one or more parameters are missing, then Zim:X will prompt the user to provide the correct information.

Note: The parameter “-w” is provided to allow administrators to determine exactly which directory of the operating system should be used as the work path for the current Zim session.

ZimPrompt only processes statements like a FIND, ADD, and so on whereas Forms, Windows, and Menu operations are not allowed because the utility is only text-based.

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish