INSTALL NOTES Elements Environments Windows 95 Users



Similar documents
TSPrint - Usage Guide. Usage Guide. TerminalWorks TSPrint Usage Guide. support@terminalworks.com

This CD-ROM includes the following online guides;

Tips and Tricks SAGE ACCPAC INTELLIGENCE

Creating trouble-free numbering in Microsoft Word

Reduce File Size. Compatibility. Contents

Network FAX Driver. Operation Guide

Python for Series 60 Platform

Server & Workstation Installation of Client Profiles for Windows

Code Estimation Tools Directions for a Services Engagement

Microsoft Publisher Flyers and Business Cards

Unicenter NSM Integration for Remedy (v 1.0.5)

GAUSS 9.0. Quick-Start Guide

Waspmote IDE. User Guide

Using Adobe Acrobat X Professional

Cloud Portal for imagerunner ADVANCE

MULTIFUNCTIONAL DIGITAL SYSTEMS. Network Fax Guide

Installing and using the driver

Cisco Cius Development Guide Version 1.0 September 30, 2010

NASA Workflow Tool. User Guide. September 29, 2010

Creating a More Secure Device with Windows Embedded Compact 7. Douglas Boling Boling Consulting Inc.

Integrating Autotask Service Desk Ticketing with the Cisco OnPlus Portal

TSScan - Usage Guide. Usage Guide. TerminalWorks TSScan 2.5 Usage Guide. support@terminalworks.com

DIGITAL MULTIFUNCTIONAL SYSTEM

Real Time Monitor. A Real-Time Windows Operator Interface. DDE Compliant. (for remote data display)

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

TWAIN Driver Reference Guide

ProCAP Transfer with Omneon Interface

Image Acquisition Toolbox Adaptor Kit User's Guide

HP LaserJet MFP Analog Fax Accessory 300 Send Fax Driver Guide

Postscript Printer Descriptions Installation and Release Notes

Sage 100 ERP. Installation and System Administrator s Guide

TZWorks Windows Event Log Viewer (evtx_view) Users Guide

Workflow Conductor for SharePoint 2010

How To Use Allnet Configuration Utility On A Pc Or Mac Or Ipad (Powerline) With A Powerline (Powerbook) With Powerline 2.5 (Powerbee) With An Ipad Or Powerplug (Powerplug) With

Microsoft Word 2011: Create a Table of Contents

How to use PDFlib products with PHP

Boot Camp Installation & Setup Guide

Setting Up Person Accounts

INSTALLATION GUIDE ENTERPRISE DYNAMICS 9.0

Hypercosm. Studio.

RTI Monitoring Library Getting Started Guide

Best practices for producing high quality PDF files

Reason for Update This new release is mainly intended to address the Windows 2000 Operating System with Océ PostScript Drivers.

UOFL SHAREPOINT ADMINISTRATORS GUIDE

AES Crypt User Guide

An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1

Xcode Project Management Guide. (Legacy)

Lab 0 (Setting up your Development Environment) Week 1

Macintosh Clients and Windows Print Queues

The MaXX Desktop. Workstation Environment. Revised Road Map Version 0.7. for Graphics Professionals

CatDV-StorNext Archive Additions: Installation and Configuration Guide

DIGITAL FULL COLOR MULTIFUNCTIONAL SYSTEM. Software Setup Guide

CITIZEN OPOS DRIVER 1.8 Setup Guide. 10/03/29 Rev 1.09

FAQ. How does the new Big Bend Backup (powered by Keepit) work?

Centran Version 4 Getting Started Guide KABA MAS. Table Of Contents

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

Chapter 3 Software Installation

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0

DOCSVAULT Document Management System for everyone

Using the Adobe Access Server for Protected Streaming

Jet Data Manager 2012 User Guide

Managing Files. On a PC, after you find your file, right click it and selet Rename from the pop-up menu.

Freescale Semiconductor, I

Sage ERP MAS 90 Sage ERP MAS 200 Sage ERP MAS 200 SQL. Installation and System Administrator's Guide 4MASIN450-08

Charter Business Desktop Security Administrator's Guide

Change Management for Rational DOORS User s Guide

CS3600 SYSTEMS AND NETWORKS

Preparing a File For Commercial Printing using Microsoft Publisher

FTP Client Engine Library for Visual dbase. Programmer's Manual

Interacting with Users

Gladinet Cloud Backup V3.0 User Guide

Introducing, Installing, and Upgrading Windows 7. Lesson 6

Network Monitoring with SNMP

BarTender Web Print Server

Server & Workstation Installation of Client Profiles for Windows (WAN Edition)

Software License Registration Guide

How To Use An Nio V (Ios) With A Simioni V2 (V2.3) And V2

Legal Notes. Regarding Trademarks. Model supported by the KX printer driver KYOCERA MITA Corporation

Net Services: File System Monitor

ReplixFax Batch Loader

Boot Camp Installation & Setup Guide

Boot Camp Installation & Setup Guide

Access Control and Audit Trail Software

Creating a High Resolution PDF File with Adobe Acrobat Software

Expedite for Windows Software Development Kit Programming Guide

MAS 90. Installation and System Administrator's Guide 4WIN /04

Printer Driver Installation Guide

Geomagic Design. Release Notes. Get to Market Faster with Better Products at a Lower Cost V17

User Manual Software for DSL Digital Speed Switch

IBM VisualAge for Java,Version3.5. Remote Access to Tool API

Streaming Media System Requirements and Troubleshooting Assistance

Working Together - Your Apple Mac and Microsoft Windows

Network Client. Troubleshooting Guide FREQUENTLY ASKED QUESTIONS

TASKSTREAM FAQs. 2. I have downloaded a lesson attachment, but I cannot open it. What is wrong?

Manual. OIRE Escuela de Profesiones de la Salud. Power Point 2007

WhatsUp Gold v11 Features Overview

Installation of Medcin Student Edition Version 2 Software

U.S. Geological Survey Digital Data Series DDS 69-A

Transcription:

NEURON DATA INSTALL NOTES Elements Environments Windows 95 Users Modifying Environment Variables You must modify the environment variables of your system to be able to compile and run Elements Environment applications directly from the Neuron Data Elements program group. ON WINDOWS 95 If you did not want the installation program to make the environment variable modifications, you can change them manually. We recommend the following changes to your environment variables in your AUTOEXEC.BAT. (The template file SETUP.BAT in the Elements Environment home directory proposes generic changes that need to be adapted to your own environment.) PATH INCLUDE LIB for the Neuron Data debug program libraries, add C:\<home_dir>\c\bin;C:\<home_dir>\c\dlldbg; or to use the Neuron Data non-debug program libraries add. C:\<home_dir>\c\bin;C:\<home_dir>\c\dll to add C:\<home_dir>\include to add C:\<home_dir>\lib Also add the following lines to set «product_name»-specific environment variables: ND_PATH=C:\<home_dir>\c\dat;C:\<home_dir>\c\dat\enusasc ND_HOME=C:\<home_dir> Make sure there are no spaces around the '=' character and separate lists of directories by the semi-colon ; but do not end the ND_PATH definition in a semi-colon ;. The modification of the PATH will allow DOS to find the DLLs, Rescomp, and the other executables when running any Elements Environment application. The environment variable ND_PATH defines a list of directories (separated by the ';' character) which the Elements Environment will use to open files. If you do not define this environment variable, Elements Environment-based applications will not be able to find the resource databases (nd*.dat files) that they need in order to run. SPECIAL ENVIRONMENT VARIABLES There are several environment variables available to customize your Elements Environment applications. A typical default configuration should not require the usage of any special environment variables. You may want to review the list, however, to familiarize Windows 95 Installation Notes 1

yourself with the options available. ND_CACHECLIPS When this environment variable is set to TRUE, OPEN INTERFACE delays the actual low-level clipping operations until a drawing call is made, and discards all clipping operations for which no drawing call is made. This allows for a speed increase in drawing, especially under Microsoft Windows, Windows NT and Presentation Manager. By default, ND_CACHECLIPS is set to TRUE. ND_COLOROPT If set to MONOCHROME (on all platforms except Mac and Windows) everything is in monochrome. ND_DEBUGFILE Set to a file name (string) to specify an output file for debug messages. If no name is supplied (NULL), then no debug file is created and error or warning messages are not written to file. ND_DRAWOPT This environment variable can take the following values under Windows: DITHERNONE DITHERALL DITHERRGBONLY No dithering. All colors are solid. Dithered colors are used to fill shapes and draw lines. Dithered colors are used except to draw lines which will be solid. (Default value.) ND_ENFORCE64KLIMIT This environment variable is provided to test compatibility with 16 bit Microsoft Windows applications for which allocation of buffers larger than 64K require using special Huge buffers and API calls. 16 bit Windows applications use Windows or OS/2 libraries linked with the Microsoft compiler. When this flag is set to TRUE, buffers larger than 64K cannot be allocated with the call PTR_New and must use the call PTR_HugeNew instead. An assertion failure will be generated if the wrong call is used. By default ND_ENFORCE64KLIMIT is set to TRUE when running 16 bit Windows applications and set to FALSE for all other environments. This environment variable can be set to TRUE on a non-windows platform to ease portability to Windows. ND_ICONDITHERING Controls the rendering of color images. 4 values: 2 Windows 95 Installation Notes

- if set to NONE, it tries to allocate the exact color - if set to "1x1", it tries to map to the closest color in the colors pre-selection - if set to "2x2", it tries to map to the closest color in the colors pre-selection with dithering on colors following a 2by2 Bayer matrix - if set to "4x4", it tries to map to the closest color in the colors pre-selection with dithering on colors following a 4by4 Bayer matrix ND_LOGDPI and ND_SCALEFACTORS A screen is characterized by two resolutions: - its physical resolution in dpi (dots per inch) - its logical resolution in logical dpi (dots per logical inch) The physical resolution is the number of pixels per inch on the screen. It is a characteristic of the screen hardware. The logical resolution is the resolution for which the fonts have been designed and may be quite different from the physical resolution. The logical resolution is actually a characteristic of the screen driver, not a characteristic of the screen hardware itself. Open Interface can perform scaling of window and widget coordinates to accomodate different screen resolutions. The scaling is controlled by the ND_SCALEFACTORS environment variable: If ND_SCALEFACTORS is not defined, Open Interface will try to preserve the "pixel" sizes of widgets and windows and will interpret the font sizes as "point" sizes for the logical resolution of the screen (for fonts defined through the new "Font Family Resource" mechanism). If ND_SCALEFACTORS is defined, it should be defined as a list of two scaling factors expressed in percent and separated by a semi colon (i.e. 100;100 or 120;90). The first scaling factor defines how windows and widgets will be scaled. If it is set to 100, Open Interface will try to preserve the actual sizes (in inches or millimeters) when displaying on different screens. If it is set to 120, the windows and widgets will be 20% larger than in the environment in which they were originally designed. If set to 0, Open Interface will preserve the "pixel" size of the windows instead of preserving their "actual" size. The second scaling factor defines how fonts (and thus text) will be scaled. If it is set to 120, the fonts will be 20% larger than they would normally be, given the natural logical resolution of the screen. To set up ND_SCALEFACTORS, you should design some sample windows on a "reference" screen, then port it to the other screens and tune ND_SCALEFACTORS to get acceptable results on all screens. Windows 95 Installation Notes 3

If you plan to run the Elements Environment on various screens with different resolutions, you should either define ND_SCALEFACTORS on all screens or on none of them. If you choose to define ND_SCALEFACTORS, you should configure ND_SCALEFACTORS on all your screens from a "reference" screen (as described above) first. Once the ND_SCALEFACTORS have been frozen, you can start editing resources on the various screens but you might run into troubled situations if you start modifying ND_SCALEFACTORS on one of the platform when you already have a set of resources designed on different screens. The ND_SCALEFACTORS mechanism superseeds the OIT_SCALE/OIT_DPIS mechanism which was provided in prior versions. We hope that this new mechanism is much easier to understand than the previous mechanism and we strongly encourage you to use it rather than the OIT_SCALE/OIT_DPIS mechanism. On X11, the windowing system does not define any "logical resolution" and usually provides several sets of fonts designed for several logical resolutions. By default, we set the logical resolution to 75 or 100 dpi, whichever is the closest to the actual screen resolution. This "guess" might not give the a very satisfactory value. So, you can set the logical resolution either by defining the ND_LOGDPI environment variable as the logical resolution in dpis or by issuing the following calls before the initialization of Open Interface. ND_LOOK You can control the look and feel of your application by using the environment variable ND_LOOK. The possible values of ND_LOOK are: WIN31 Microsoft Windows WIN95 Microsoft Windows 95 (Default value.) PM10 Presentation Manager, version 1.0. PM20 Presentation Manager, version 2.0. OPENLOOK Sun Open Look. MOTIF OSF Motif. MAC Macintosh ND_SHOWALLRES ND_SHOWALLRES is by default set to FALSE on all platforms. The Resed resources (resources defined by the Elements Environment) are hidden from Elements Environment's List of <res class> dialogs when picking a Color, an Icon, etc. for a widget but they are still displayed in the resource browser. Also hidden are the resources named <class>.def<...><look> where <look> can be Motif, OpenLook, etc. This is done to avoid the problem of accidentally including resed resources or the <class>.def<...><look> resources in your application, especially icons. Since Resed resources are not available with the runtime version, this scheme will prevent users from inadvertently using these resources, porting to a runtime version, and discovering the absence of the resources when attempting to rescomp. Furthermore, these resources might be deleted or changed in a future version of the Elements Environment. You should only include resources from the lower level libraries or create new resources 4 Windows 95 Installation Notes

from the existing resed or <class>.def<...><look> resources. If you want to see these resed or <class>.def<...><look> resources in the List of <res class> dialogs of the Elements Environment set ND_SHOWALLRES to TRUE. ND_USEIMPLICITCLIP ND_USEIMPLICITCLIP is by default set to TRUE on all platforms. When it is set to TRUE, OPEN INTERFACE checks each drawing call to verify that a clipping has been done for that call. This actually restricts any drawing inside a widget to the visible region of a widget. If ND_USEIMPLICITCLIP is set to FALSE, it does not set an implicit clipping to the corresponding widget s visible part. LANGUAGE ENVIRONMENT SETUP Open Interface Element supports several new languages and lets you easily change character sets to accommodate a specific language. To enable languages other than US English, do the following: 1. Select the codeset for processing keys through the ND_CHARNATIVE environment variable. 2. Select the language resources through the ND_LANG environment variable. The following paragraphs describe the selections you can use with the above procedure, for specific languages. Input Method Activation You do not need to do anything. The input method is automatically activated if you are using a localized Win32 platform. Codeset Selection Set the ND_CHARNATIVE variable to one of the following values: For now only US English and Japanese are available: For example: US English: Japanese: % setenv ND_CHARNATIVE CT_SJIS Language Resource Selection CT_ASCII (or set to nothing) CT_SJIS Set the ND_LANG variable to one of the following values: US English and Japanese EUC resources are available: Windows 95 Installation Notes 5

US English: enusasc Japanese Shift-JIS: jajpsjis For example: % setenv ND_LANG jajpsjis 6 Windows 95 Installation Notes