/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1982-2012 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#pragma prototyped20#include "defs.h"21#include <signal.h>22#include "FEATURE/options"23#include "FEATURE/dynamic"2425/*26* This is the table of built-in aliases. These should be exported.27*/2829const struct shtable2 shtab_aliases[] =30{31#if SHOPT_FS_3D32"2d", NV_NOFREE, "set -f;_2d",33#endif /* SHOPT_FS_3D */34"autoload", NV_NOFREE, "typeset -fu",35"command", NV_NOFREE, "command ",36"compound", NV_NOFREE|BLT_DCL, "typeset -C",37"fc", NV_NOFREE, "hist",38"float", NV_NOFREE|BLT_DCL, "typeset -lE",39"functions", NV_NOFREE, "typeset -f",40"hash", NV_NOFREE, "alias -t --",41"history", NV_NOFREE, "hist -l",42"integer", NV_NOFREE|BLT_DCL, "typeset -li",43"nameref", NV_NOFREE|BLT_DCL, "typeset -n",44"nohup", NV_NOFREE, "nohup ",45"r", NV_NOFREE, "hist -s",46"redirect", NV_NOFREE, "command exec",47"source", NV_NOFREE, "command .",48#ifdef SIGTSTP49"stop", NV_NOFREE, "kill -s STOP",50"suspend", NV_NOFREE, "kill -s STOP $$",51#endif /*SIGTSTP */52"times", NV_NOFREE, "{ { time;} 2>&1;}",53"type", NV_NOFREE, "whence -v",54"", 0, (char*)055};56575859