JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
ToolTalk User's Guide
search filter icon
search icon

Document Information

Preface

1.  Introducing the ToolTalk Service

2.  An Overview of the ToolTalk Service

3.  Message Patterns

4.  Setting Up and Maintaining the ToolTalk Processes

5.  Maintaining Application Information

6.  Maintaining Files and Objects Referenced in ToolTalk Messages

ToolTalk-Enhanced Shell Commands

Maintaining and Updating ToolTalk Databases

Displaying, Checking, and Repairing Databases

7.  Participating in ToolTalk Sessions

8.  Sending Messages

9.  Dynamic Message Patterns

10.  Static Message Patterns

11.  Receiving Messages

12.  Objects

13.  Managing Information Storage

14.  Handling Errors

A.  Migrating from the Classing Engine to the ToolTalk Types Database

B.  A Simple Demonstration of How the ToolTalk Service Works

C.  The ToolTalk Standard Message Sets

D.  Frequently Asked Questions

Glossary

Index

ToolTalk-Enhanced Shell Commands

The ToolTalk-enhanced shell commands described in first invoke the standard shell commands with which they are associated (for example, ttmv invokes mv) and then update the ToolTalk service with the file changes. It is necessary to use the ToolTalk-enhanced shell commands when working with files that contain ToolTalk objects.

Table 6-1 ToolTalk-Enhanced Shell Commands

Command
Definition
Syntax
ttcp
Copies files that contain objects.
ttcp source-file destination-file
ttmv
Renames files that contain objects.
ttmv old new
ttrm
Removes files that contain objects.
ttrm file
ttrmdir
Removes empty directories that are associated with ToolTalk objects.

You also use this command to create an object spec for a directory; for example, if a directory is mentioned in a file-scoped message. When an object spec is created, the path name of a file or directory is supplied.

ttrmdir directory
tttar
Archives and de-archives files that contain ToolTalk objects.
tttar c|t|x pathname1 pathname2

You can cause the ToolTalk-enhanced shell commands to be executed when the standard shell commands are invoked. To do this, alias the ToolTalk-enhanced shell commands in the shell startup file so that the enhanced commands appear as standard shell commands.

# ToolTalk-aware shell commands in .cshrc
alias mv    ttmv
alias cp    ttcp
alias rm    ttrm
alias rmdir    ttrmdir
alias tar    tttar