sfcode
An Online Competing and Development Environment
|
Look up environment settings specific to different operating systems.
The machine name. Calls hostname
if not found.
The currently logged-in user. Calls whoami
if not found.
Either PS1 on unix, or PROMPT on Windows.
The place where temporary files should be created.
No place like it.
An array of the places that the operating system will search for executables.
Return the executable name of the editor program. This uses the EDITOR and VISUAL environment variables, and falls back to vi
on Unix, or notepad.exe
on Windows.
The SHELL on Unix, which Windows calls the ComSpec. Defaults to 'bash' or 'cmd'.