Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sbinit(5) — Sun C 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sbrowser(1)

sbquery(1)

SBINIT(5)  —  FILE FORMATS

NAME

sbinit, .sbinit − directives to Sun SourceBrowser and compilers

AVAILABILITY

Available with Sun FORTRAN 1.4, Modula-2 2.3, Pascal 2.1, C 1.1, C++ 2.1

DESCRIPTION

.sbinit is a text file used by Sun SourceBrowser to obtain information about the SourceBrowser database structure. SourceBrowser’s default is to build its database in the current working directory, then to search in that database when you issue a query. Use .sbinit if you want to work with source files whose database information is stored in multiple directories. The .sbinit file is limited to the commands described in the next section. 

USAGE

COMMANDS

The import command

This command reads databases in directories other than the current working directory used by SourceBrowser. The import command has the form

import path

where path is the path to the directory that contains the subdirectory containing the database you want to import. 

The export command

This command writes database component files associated with specified source files to directories other than the current working directory used by SourceBrowser and the compiler. The export command has the form

export prefix into path

Whenever the compiler processes a source file whose absolute path starts with prefix, the resulting browser data (.bd) file will be stored in the database in path .  The export command implies an import command of path . 

The split command

This command improves performance when working with large programs. The command has the form

split size

where size is the size in bytes of the database index when the database will be split by SourceBrowser. 

The automounter-prefix command

This command specifies the automounter prefixes to remove from source names stored in the database.  The automounter-prefix command has the form

automounter-prefix mount_point trigger_point

where mount_point is the directory under which the automounter mounts the filesystems.  The default is /tmp_mnt .  trigger_point is the prefix you supply to the pathname to access the exported filesystem.  The default is /net. 

EXAMPLE

import /project/source2

export /usr/include into /project/sys

split 1000000

automounter-prefix /van /gogh

SEE ALSO

sbrowser(1), sbquery(1),

Sun SourceBrowser Reference Manual for SunView

Sun SourceBrowser Reference Manual for OpenWindows

  —  Last change: 2 January 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026