next up previous contents index
Next: Log Files and Error Up: Xic Configuration and Startup Previous: Initialization Files   Contents   Index

Initial Operations

When Xic starts, the following operations are generally performed.

  1. If configured, the program will check for the availability of software updates. A pop-up message will notify the user if an update is available. These can be downloaded and installed with the !update command. The !passwd command is used to enable this feature, The username and password to the Whiteley Research software repository should be given, and the command will create a .wrpasswd file in the user's home directory. This will enable update checking in both Xic and WRspice.

  2. The program will check the wrcad.com web site for a message file. If a file is found, and the user has not seen it, the message text will be shown in a pop-up window. This is a means of providing users with bug reports or other information which could be important.

    The record of the message is saved in the .wr_cache directory in the user's home directory. There are two files:

    xic_current_mesg
    The is the current message text.
    xic_current_mesg_digest
    This is a checksum of the current message.

    The program will compare the checksum of the message to the checksum on wrcad.com. If a message is found at wrcad.com, and there is no checksum or a different checksum in the user's home directory, the message is downloaded and shown, and the user's files are updated. Thus, the user will only see the message once, but can find a copy of the message in their .wr_cache directory. Note that there is only one message file, future messages overwrite the files.

  3. If a new Xic release is run for the first time, the release notes will appear in a pop-up window, as if the Notes button in the Help menu was pressed. There is a file in the user's .wr_cache directory named xic_current_release that contains a release number. If, when Xic starts, this file is missing or the release number is not current, Xic will show the release notes and update the file. If the release numbers match, there is no action.

If the NoCheckUpdate variable is set (from an initialization file) then there will be no communications with wrcad.com, so the checking for updates and a message will be skipped. This should be set if the user doesn't have internet access, for example, to avoid the delays caused by lack of access and subsequent connection timeout.


next up previous contents index
Next: Log Files and Error Up: Xic Configuration and Startup Previous: Initialization Files   Contents   Index
Stephen R. Whiteley 2017-04-09