startup

来自「ftam等标准协议服务器和客户端的源代码。」· 代码 · 共 81 行

TXT
81
字号
#!/bin/cshset path = (/bin /usr/ucb)# Name of the logfilesetenv LOGFILE CALL_LOG# The directory name here should match the one the file lives in.setenv HOME /usr/local/lib/public-widget# These are just to make life a little more difficult for a hackersetenv PAGER /bin/catsetenv SHELL /bin/cshsetenv USER x29x500setenv EDITOR /bin/falsecd $HOMEecho CALL `date` "    " `/bin/tty` $1 >> $LOGFILE# Introductory message#/bin/cat <<END_OF_MESSAGEUK.AC.BRUNEL.DIRThis is a public access point for the X.500 Directory service.******* NEW USER INTERFACE************** On 17 January the widget user interface was replaced with******* the sd (Screen Directory) interface.************** sd works in a similar way, but should be easier to use******* Please let us know what you thinkThe user interface is an experimental one that operates in full-screen mode.To do this, it needs to know what type of terminal you are using.Most common types are understood, provided you type the name in lower-caseletters only. Examples are: vt100 vt52 tvi cif2605 xtermPlease give your terminal type now:END_OF_MESSAGE# Try to do something sensible about terminal types - difficult...#alias ts 'set noglob; eval `tset -s ?${TERM}`'while ($TERM == network)	tsend# Find size of remote xterm. (Fix pathname here to match your system)# Delete this section if you do not have Xif ($TERM == xterm) then        stty -echo	eval /usr/local/lib/X11/share/bin/resize >/dev/null	stty echoendifecho TERM `date` "    " `/bin/tty` $TERM $1 $2 >> $LOGFILEecho "Running SD Directory Service"# Either put a local copy of SD in this directory or change the pathname# to match the normal installed copy./xsd# End of session messagecat <<END_OF_SIGNOFFIf you have any comments on the interface or the X.500 Directory service,please mail them to X500@brunelEND_OF_SIGNOFFecho "OFF " `date` "    " `/bin/tty` $TERM $1 >> $LOGFILE# Delay before closing call, as some PADs clear screen and we want a chance# to read the signoff messagesleep 2

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?