⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 68110

📁 神经网络昆斯林的新闻组分类2006
💻
字号:
Xref: cantaloupe.srv.cs.cmu.edu comp.windows.x:68110 comp.windows.open-look:8578Newsgroups: comp.windows.x,comp.windows.open-lookPath: cantaloupe.srv.cs.cmu.edu!rochester!udel!wupost!uunet!mcsun!Germany.EU.net!pcsbst!dude!meFrom: me@dude.pcs.com (Michael Elbel)Subject: Re: Blinking Cursor in Xterm???Organization: PCS Computer Systeme GmbHDate: Fri, 14 May 1993 07:15:25 GMTMessage-ID: <me.737363725@dude>References: <1993May10.022806.8186@griffin.itc.gu.edu.au> <1993May10.134631.14364@taylor.uucp> <1993May11.144231.24879@ims.com>Sender: @pcsbst.pcs.comLines: 54In <1993May11.144231.24879@ims.com> tonyf@ims.com (Antonio Freixas) writes:>In article <1993May10.134631.14364@taylor.uucp>, mark@taylor.uucp (Mark A. Davis) writes:>> >> *OH BOY* have I wanted this too.  However, I believe that the cursor will>> be under the server's control (could be wrong)?  On an Xterminal, for>> example, if the server was NOT the one controlling the cursor, then trying>> to get the xterm application to do the blinking would cause needless and>> yucky network overhead (consistantly).>> >Most people who write cursor blinking code just implement the simple case: a>straight 500msec (or so) on/off cycle.  However, the cursor will work much>better if cursor blinking is suppressed (i.e. the cursor is made visible) any>time the cursor moves and for .5 to 1 sec thereafter.  If you don't do this, the>cursor will be hard to track when in motion.You allways could port and use emu from export.lcs.mit.edu:contrib/emu.tar.Z.We've implemented a blinking text cursor for the very reasons people mentioned.You can even configure the actual size of the text cursor (horizontal / ver-tical line cursors, smaller block cursors), turn on and off blinking,set the blink rate and so on. You even get blinking text - ok, enoughadvertising.I haven't looked at the xterm code in this respect, but from the memoriesI have when we had to decide whether to start with xterm and make it dowhat we wanted (mostly the blinking text), I'd say it won't be easy, sincexterm is a hairy mess (understandable if you follow it's roots back toX10).The actual task to get the cursor to blink isn't that difficult if youprovide the right hooks. As Antonio mentioned, you'll have to show thecursor directly after it has moved, or people will become confused.Since it's a good idea to take the cursor off the screen when you do anything on screen anyways, this isn't very complicated. You'll justhave to start the blink process with the cursor showing directly afterit's mapped.As for the portability of emu and it's newest version. The one on exportis still the same as on the R5 contrib tape. We wanted to get out a newrelease for over six months now, but unfortunately we're drowning in work.But since the changes aren't affectiong emu's behavior much, I'd saywhoever wants to try emu shouldn't wait for a new version.As is, emu won't work on BSD derived systems (e.g. SUNs) with anything else than a csh. There is a fix to this, which is very short (remove one lineof code). I'll put this on export today.Michael--Michael Elbel, Digital-PCS GmbH, Muenchen, Germany - me@dude.pcs.comIntelligenz is sowieso nur wat fuer Doofe - MiaFermentation fault (coors dumped)

⌨️ 快捷键说明

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