/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1990-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* Glenn Fowler <[email protected]> *17* *18***********************************************************************/19#pragma prototyped20/*21* Glenn Fowler22* AT&T Research23*24* remote coshell initialization script25*/2627const char corinit[] = "\28print -u3 n 0 $HOSTNAME $$\n\29set -o bgnice -o monitor\n\30rating=1\n\31vpath - /# 2>/dev/null\n\32eval $COINIT\n\33alias ignore='ignore '\n\34function ignore\n\35{\n\36\"$@\"\n\37return 0\n\38}\n\39alias silent='set +x X$- \"$@\";_coshell_flags_=$1;shift;silent '\n\40function silent\n\41{\n\42case $_coshell_flags_ in\n\43*x*) trap ' _coshell_status_=$?\n\44if ((_coshell_status_==0))\n\45then set -x\n\46else set -x;(set +x;exit $_coshell_status_)\n\47fi' 0\n\48;;\n\49esac\n\50\"$@\"\n\51}\n\52typeset -xf ignore silent\n\53case $rating in\n\541) (\n\55set -- $(package host rating cpu)\n\56print -u3 r 0 rating=$1,cpu=$2\n\57) &\n\58;;\n\59esac\n\60";616263