/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1982-2011 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* David Korn <[email protected]> *17* *18***********************************************************************/19/*20* Ksh - AT&T Labs21* Written by David Korn22* This file defines all the read/write shell global variables23*/2425#include "defs.h"26#include "jobs.h"27#include "shlex.h"28#include "edit.h"29#include "timeout.h"3031Shell_t sh = {0};32struct shared *shgd;33#ifdef __IMPORT__34Shell_t *_imp__sh = &sh;35#endif3637Dtdisc_t _Nvdisc =38{39offsetof(Namval_t,nvname), -1 , 0, 0, 0, nv_compare40};4142/* reserve room for writable state table */43char *sh_lexstates[ST_NONE] = {0};4445struct jobs job = {0};46int32_t sh_mailchk = 600;47484950