Symbian3/PDK/Source/GUID-7C645FF2-4785-5716-9674-B3A224F6C0D9.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Tue, 30 Mar 2010 11:56:28 +0100
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 14 578be2adaf3e
permissions -rw-r--r--
Week 12 contribution of PDK documentation_content. See release notes for details. Fixes Bug 2054, Bug 1583, Bug 381, Bug 390, Bug 463, Bug 1897, Bug 344, Bug 1319, Bug 394, Bug 1520, Bug 1522, Bug 1892"

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-7C645FF2-4785-5716-9674-B3A224F6C0D9"><title>emulate</title><prolog><metadata><keywords/></metadata></prolog><conbody><p><userinput>emulate [ -LR ] {zsh|sh|ksh|csh} </userinput> </p> <p>Set up <codeph>zsh</codeph> options to emulate the specified shell as much as possible. <codeph>csh</codeph> will never be fully emulated. If the argument is not one of the shells listed above, <codeph>zsh</codeph> will be used as a default; more precisely, the tests performed on the argument are the same as those used to determine the emulation at startup based on the shell name. </p> <table id="GUID-31105902-D4A1-5FDF-ACD8-860ABB0B7290"><tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/><thead><row><entry>Option</entry> <entry>Description</entry> </row> </thead> <tbody><row><entry><p> <codeph>-R</codeph>  </p> </entry> <entry><p>All options are reset to their default value corresponding to the specified emulation mode, except for certain options describing the interactive environment; otherwise, only those options likely to cause portability problems in scripts and functions are altered. </p> </entry> </row> <row><entry><p> <codeph>-L</codeph>  </p> </entry> <entry><p>The options <codeph>LOCAL_OPTIONS</codeph> will be set, causing the effects of the emulate command and any setopt and trap commands to be local to the immediately surrounding shell function, if any; normally these options are turned off in all emulation modes except <codeph>ksh</codeph>. </p> </entry> </row> </tbody> </tgroup> </table> </conbody></concept>