Pad++ Programmer's Guide

STARTUP FILE


When Pad++ starts up, the file ~/.padinit automatically gets loaded before anything else. The file ~/.padinit is a standard Tcl script that can contain any code the user wants. A typical use for this file is to start up a Pad++ application. To make the PadDraw (described below) application start up automatically when you run padwish, put this line in your ~/.padinit file:

source $env(PADHOME)/draw/pad.tcl

The PadDraw application uses several other startup files as well. They are described below in the PadDraw section.


Pad++ Programmer's Guide - 20 JUN 1997

Copyright Computer Science Department, The University of New Mexico

Web Accessibility