Symbian3/SDK/Source/GUID-7C645FF2-4785-5716-9674-B3A224F6C0D9.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 21 Jan 2010 18:18:20 +0000
changeset 0 89d6a7a84779
permissions -rw-r--r--
Initial contribution of Documentation_content according to Feature bug 1266 bug 1268 bug 1269 bug 1270 bug 1372 bug 1374 bug 1375 bug 1379 bug 1380 bug 1381 bug 1382 bug 1383 bug 1385

<?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>