1 /* $XConsortium: aliases.c /main/3 1995/11/01 15:50:11 rswiston $ */
2 /***************************************************************
6 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF *
7 * AT&T BELL LABORATORIES *
8 * AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN *
9 * ACCORDANCE WITH APPLICABLE AGREEMENTS *
11 * Copyright (c) 1993 AT&T Bell Laboratories *
12 * Unpublished & Not for Publication *
13 * All Rights Reserved *
15 * The copyright notice above does not evidence any *
16 * actual or intended publication of such source code *
18 * This software was created by the *
19 * Advanced Software Technology Department *
20 * AT&T Bell Laboratories *
22 * For further information contact *
23 * {ulysses,attmail}!dgk *
24 * dgk@ulysses.att.com *
25 * David Korn 908-582-7975 *
27 ***************************************************************/
29 /* : : generated by proto : : */
32 #if !defined(__PROTO__)
33 #if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
34 #if defined(__cplusplus)
35 #define __MANGLE__ "C"
40 #define __PROTO__(x) x
42 #define __PARAM__(n,o) n
43 #if !defined(__STDC__) && !defined(__cplusplus)
44 #if !defined(c_plusplus)
55 #define __PROTO__(x) ()
56 #define __OTORP__(x) x
57 #define __PARAM__(n,o) o
65 #if defined(__cplusplus) || defined(c_plusplus)
66 #define __VARARG__ ...
70 #if defined(__STDARG__)
71 #define __VA_START__(p,a) va_start(p,a)
73 #define __VA_START__(p,a) va_start(p)
79 #include "FEATURE/options"
80 #include "FEATURE/dynamic"
85 #include <X11/Intrinsic.h>
86 #include <X11/IntrinsicP.h>
95 * This is the table of built-in aliases. These should be exported.
98 const struct shtable2 shtab_aliases[] =
101 "2d", NV_NOFREE|NV_EXPORT, "set -f;_2d",
102 #endif /* SHOPT_FS_3D */
103 "autoload", NV_NOFREE|NV_EXPORT, "typeset -fu",
104 "command", NV_NOFREE|NV_EXPORT, "command ",
105 "fc", NV_NOFREE|NV_EXPORT, "hist",
106 "float", NV_NOFREE|NV_EXPORT, "typeset -E",
107 "functions", NV_NOFREE|NV_EXPORT, "typeset -f",
108 "hash", NV_NOFREE|NV_EXPORT, "alias -t --",
109 "history", NV_NOFREE|NV_EXPORT, "hist -l",
110 "integer", NV_NOFREE|NV_EXPORT, "typeset -i",
111 "nameref", NV_NOFREE|NV_EXPORT, "typeset -n",
112 "nohup", NV_NOFREE|NV_EXPORT, "nohup ",
113 "r", NV_NOFREE|NV_EXPORT, "hist -s",
114 "redirect", NV_NOFREE|NV_EXPORT, "command exec",
115 "times", NV_NOFREE|NV_EXPORT, "{ { time;} 2>&1;}",
116 "type", NV_NOFREE|NV_EXPORT, "whence -v",
118 "stop", NV_NOFREE|NV_EXPORT, "kill -s STOP",
119 "suspend", NV_NOFREE|NV_EXPORT, "kill -s STOP $$",