通信人家园
标题:
[转帖] 银河学院教程——Linux入门11(转帖)
[查看完整版帖子]
[打印本页]
时间:
2007-6-11 14:24
作者:
yhxy02
标题:
[转帖] 银河学院教程——Linux入门11(转帖)
<p><span style="FONT-SIZE: 9pt;"><font face="宋体">例<span lang="EN-US">2</span>:显示一个文件的内容,但显示之前先清屏,并且在显示器的最下方显示完整的百分比。<span lang="EN-US">
<p></p></span></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">$ more - dc example1.c <p></p></font></span></p><p><span style="FONT-SIZE: 9pt;"><font face="宋体">执行该命令后,先清屏,然后显示文件<span lang="EN-US">example.c</span>的内容。<span lang="EN-US">
<p></p></span></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/*-------------------------------------------*/ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* example1.c */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/*-------------------------------------------*/ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* author f opus.BBS@BBS.cs.nthu.edu.tw */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* target f BBS main/login/top-menu routines */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* create f 99/10/23 */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* update f 99/12/15 */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/*-------------------------------------------*/ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">#define _MAIN_C_ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">#inc1ude < BBS. h > <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">jmp_buf byebye; <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">int talkrequest=NA; <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">static uschar Enter_uflag i <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">#ifdef SHOW_IDLE_TIME <p></p></font></span></p><p><font face="宋体"><span lang="EN-US" style="FONT-SIZE: 9pt;">char fromhost</span><span style="FONT-SIZE: 9pt;">( )<span lang="EN-US">; <p></p></span></span></font></p><p><font face="宋体"><span lang="EN-US" style="FONT-SIZE: 9pt;">--More- </span><span style="FONT-SIZE: 9pt;">(<span lang="EN-US">3%</span>)[<span lang="EN-US">
ress space to continue , </span>‘<span lang="EN-US">q</span>’<span lang="EN-US"> to quit .</span>]<span lang="EN-US">
<p></p></span></span></font></p><p><span style="FONT-SIZE: 9pt;"><font face="宋体"> <span lang="EN-US">
<p></p></span></font></span></p><p><span style="FONT-SIZE: 9pt;"><font face="宋体">例<span lang="EN-US">3</span>:显示一个文件的内容,要求每十行显示一次,且显示之前先清屏。<span lang="EN-US">
<p></p></span></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">$ more - c - 10 example1.c <p></p></font></span></p><p><span style="FONT-SIZE: 9pt;"><font face="宋体">执行该命令后,先清屏,然后将以每十行每十行的方式显示文件<span lang="EN-US">example.c</span>的内容。<span lang="EN-US">
<p></p></span></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/*-------------------------------------------*/ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* example1.c */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/*-------------------------------------------*/ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* author f opus.BBS@BBS.cs.nthu.edu.tw */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* target f BBS main/login/top-menu routines */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* create f 99/10/23 */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/* update f 99/12/15 */ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">/*-------------------------------------------*/ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">#define _MAIN_C_ <p></p></font></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><font face="宋体">inc1ude < BBS. h > <p></p></font></span></p><p><font face="宋体"><span lang="EN-US" style="FONT-SIZE: 9pt;">--More- </span><span style="FONT-SIZE: 9pt;">(<span lang="EN-US">3%</span>) <span lang="EN-US"><p></p></span></span></font></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><p><font face="宋体"> </font></p></span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt;"><p><font face="宋体"> </font></p></span></p><p style="MARGIN-BOTTOM: 0pt; TEXT-INDENT: 17.85pt;"><span style="FONT-SIZE: 9pt;"><font face="宋体">本文转自:<span lang="EN-US"><a href="http://www.newstu.org/">www.newstu.org</a></span> 银河学院新大学教育<span lang="EN-US">N.C.E</span>计划<span lang="EN-US"><p></p></span></font></span></p><p style="MARGIN-BOTTOM: 0pt; TEXT-INDENT: 17.85pt;"><span style="FONT-SIZE: 9pt;"><font face="宋体">咨询热线:<span lang="EN-US">027-51788877</span> 咨询<span lang="EN-US">Q Q:495492526</span> <span lang="EN-US">731330728<p></p></span></font></span></p><p style="MARGIN-BOTTOM: 0pt; TEXT-INDENT: 17.85pt;"><span style="FONT-SIZE: 9pt;"><font face="宋体">咨询<span lang="EN-US">Email:yinheedu509@163.com</span>学院地址:武汉市洪山区武珞路<span lang="EN-US">720</span>号<span lang="EN-US"><p></p></span></font></span></p>
时间:
2007-6-13 11:55
作者:
紅塵の蓝陌
<p>学院在武汉。</p><p>是职业学院吧?</p>
通信人家园 (https://www.txrjy.com/)
Powered by C114