This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 在telnet unix作c语言练习,打出的字母前面都有个B,请问是怎么回事?另外,请问怎样copy,paste一段程序,怎么输入输出到notepad.本人刚学c,弱问题,见笑!多谢!
-liywliyw(我傻瓜);
2005-2-8
(#2115926@0)
-
PASTE到WORDPAD, 再存成.TXT ...
-javacup(风铃);
2005-2-8
(#2115930@0)
-
怎么复制粘贴一段程序到这个程序的别的位置。我听说有什么快捷键。
-liywliyw(我傻瓜);
2005-2-8
(#2115937@0)
-
请问您编辑程序是不是用vi?那就看看vi的文档嘛,网上很多的啊.比如拷贝10行,那就10yy,然后p
但现在科技那么发达了,连我这种vi老手都改行了.我现在用ultraedit以ftp方式连接到unix进行文件编辑.ultraedit里面可以自己定义一个项目,比如往这个项目加入10个程序,今天做不完关机了,明天一开机一点项目,10个程序就都一起出来了,方便得很.
-thisunreal(饭得志);
2005-2-8
{251}
(#2115951@0)
-
多谢各位的回答,只是你们的回答都太高深了我听不懂。我想再一次把我的问题重复。1。我用run\cmd\telnet phobos.senecac.on.ca进入unix系统编辑为完成的C程序。在学校电脑上光标是方块,可是在家里进入unix以后,打开没有完成的程序进行编辑,nled。这时候光标是下滑线,输入字母前面总带有B。但是不知道怎么回事。
2。听老师讲复制粘贴几句程序有快捷健,是一个什么键+B,然后以董光在要复制的最后一句前面
-liywliyw(我傻瓜);
2005-2-8
{303}
(#2115989@0)
-
继续上贴什么键+B,然后移动光标到要复制的一段程序的最后一句前边,什么键+E, 然后移动光标到要粘贴的位置,什么键+C.就行了。我没听懂前边老师说的什么键是什么。
3。把C程序输入或者输出到microsoft windows 附件里面的notepad,老师说是put, get.但是讲得太快,没记下来。有谁会,请告诉我具体的布奏。
班里只有我一个中国人,真他妈倒霉。听不懂的没人问。白人老师讲得太快,只有我听不懂。
-liywliyw(我傻瓜);
2005-2-8
{362}
(#2115999@0)
-
control B = pagedown, shift E = End of the line , ?? C = no idea. I am gussing... Seems that we are totally lost. You can download a Winvi, to practice vi on your Windows. Have fun. vi is a very very good editor.
-aka(棒棒);
2005-2-8
(#2116032@0)
-
我就不信这么多高手就没人能回答我这个刚入门的问题。
-liywliyw(我傻瓜);
2005-2-8
(#2116133@0)
-
你都没说清楚用的什么编辑器,谁能帮你呀!
-guestagain(guest again);
2005-2-8
(#2116136@0)
-
<ESC>+B, begin a block, <ESC>+E, end a block, <ESC>+C, copy marked block. I guess the editor you are talking about is NLED
-ken_toronto(SI);
2005-2-8
(#2116178@0)
-
thank you ken, you are the only guy who understand my question. the reason is on me. i am very new c learner now.
-liywliyw(我傻瓜);
2005-2-9
(#2117089@0)
-
It seems you are not only a new C learner, but also a very new computer learner. Get, Put are FTP commands to download and upload your files from and to your unix host.
-exception(违例);
2005-2-11
(#2119319@0)
-
vi remains the best text editor by far. check out the vi cheatsheet.http://www.kcomputing.com/kcvi.pdf
-dotod(河石);
2005-2-8
{34}
(#2116054@0)
-
你先在你的pc上装个PUTTY,用它联到你的UNIX上. 如果你要编辑成序,你的会用UNIX编辑器的一种,当然高手都是用VI啦.0. Telnet to your unix by putty
1. VI your program
2. Then press : i
3. Paste your program in your file from ur windown notepad
4. type :
5. then wq!
要不是过年是不会写的.
-pipibug(golf);
2005-2-8
{178}
(#2116181@0)
-
i take IPC144 in cenecac. my question isthank you very much for your input. my problem is when i try to key in program on telnet phobos.senecac.on.ca. to do some edit in my c program. I can not input the correct letter. if i want to input"int", I get"Bi Bn Bt". something like this. who can help me out? thank you, i hate to go to seneca computer lab to do my home work everyday.
-liywliyw(我傻瓜);
2005-2-9
{343}
(#2117086@0)
-
why dont u ftp? Use whatever editer u like.
-goes(goes);
2005-2-9
(#2117095@0)
-
select rigth term type. check:1. your telnet client setting .2. environment varialbe of the shell TERM. if different, change one to match another. Normally, it will be vt100, xterm or POSIX.
-647i(盲人协会);
2005-2-9
(#2117104@0)
-
nled is the editor created by one of the Seneca professor named Weaver. However, better use vi. Or like other said, use ftp.
-zyn(Zyn);
2005-2-9
(#2117102@0)
-
呵呵,我试了一下,是AIX。是不是需要设一下TERM变量?
-jndu008(杜撰);
2005-2-12
(#2120973@0)
-
for AIX, try TERMCAP
-647i(盲人协会);
2005-2-12
(#2120996@0)