Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PtTtyShell

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PtTtyShell

[Previous] [Contents] [Index] [Next]

PtTtyShell()

Return the user's default shell

Synopsis:

const char PtTtyShell( void );

Description:

The PtTtyShell() function returns either the value of the SHELL environment variable or, if SHELL is undefined, the user's default shell defined in the passwd file.

This string is used by the PtTty widget to start the user's shell (see Pt_ARG_TTY_CMD and Pt_ARG_TTY_ARGV resources to PtTty).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]

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