Ctrl-Enter 出现的历史
有谁知道 Ctrl+Enter ↵ 热键(意思是“发送”)出现的历史吗?现在看来,这已经是相当“经典”了。我记得我第一次见到这个热键是在ICQ 99,但现在几乎每个即时通讯工具和许多流行的社交网站都有这样的热键。前段时间我很惊讶在 Eclipse IDE 的“Commit”对话框中也可以使用具有相同含义的热键。
Is there anybody who knows the history of appearance of Ctrl+Enter ↵ hotkey which means "Send"? It is pretty "classic" now. I remember that for the first time I've met that hotkey in ICQ 99, but now almost every IM have such hotkey and many popular social networking sites. Some time ago I was surprised that in the "Commit" dialog of eclipse IDE that hotkey also available with the same meaning.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
当然,不可能肯定地回答这样的问题,但我将自己作为创建该标准的候选人。
1992 年夏天,我是美国在线 (AOL) 的一名初级程序员,负责开发 Windows AOL 客户端软件的 1.0 版。我的部分职责包括改进许多 UI 表单,包括电子邮件撰写和即时消息撰写。像那个时代的许多技术人员一样,我是一名键盘操作员……使用鼠标只会减慢我的速度。我想要一种快速发送消息的方法。我的一些同事建议我可以直接按 TAB 键,直到输入焦点位于“发送”按钮上,然后按空格键激活该按钮。这确实是事实,但对我来说,问题是每个作文表单的结构都不同......也许电子邮件表单需要 Tab ↹ Tab ↹ Tab ↹ 空格,而IM表单需要Tab ↹ Tab ↹ 空格。有时,新消息与回复的情况甚至有所不同。恶心。
有一天,我厌倦了这种不一致,并决定为所有撰写表单添加一致的“发送”键盘快捷键。我的第一个选择实际上是数字键盘上的 Enter 键。看起来很简单,但我很快意识到很多人使用数字键盘来移动输入光标,有时会错误地按下 Enter 键,过早地发送消息。不好。在下一个测试版本中,我将所有这些快捷键更改为 Ctrl+Enter ↵,因为实际上不可能按 Ctrl+错误地输入↵,但如果这是你的意图,很容易用一只手敲击该组合键。
没有关于该快捷方式的投诉报告,我也没有在任何地方明确记录它。然而,不久之后,各种“美国在线指南”都发布了该快捷方式,并且至今仍然如此,AFAIK。当我选择该快捷方式时,我不知道有任何其他软件使用 Ctrl+Enter ↵ 来表示“发送”。
在接下来的几年中,Windows America Online 客户端可以说是发送在线消息的最流行的方式,而且我知道 Ctrl+Enter ↵ 快捷方式在其中非常流行。高级用户。这完全早于 Windows 95 及其相关应用程序。这是捷径的真正起源吗?我不确定,但我喜欢这样认为。 :)
Of course, it's impossible to answer something like this for certain, but I'll offer myself as a candidate for creating this standard.
In the summer of 1992, I was a junior programmer at America Online (AOL), working on what was to be version 1.0 of the Windows AOL client software. Part of my duties included refining many of the UI forms, including E-mail composition and Instant Message composition. Like many techies of that era, I was a keyboard jockey... using a mouse just slowed me down. I wanted a way to send messages quickly. Some of my colleagues suggested that I could just hit TAB until input focus was on the "Send" button, then hit the spacebar to activate the button. That was true enough, but for me the problem was that every composition form was structured differently... maybe the E-mail form needed Tab ↹ Tab ↹ Tab ↹ Space , while the IM form needed Tab ↹ Tab ↹ Space . Sometimes it even varied for new messages vs. replies. Yuck.
One day I became tired of the inconsistency, and decided to add a consistent keyboard shortcut for "Send" to all composition forms. My first choice was actually the Enter key on the numeric keypad. Seemed easy enough, but I soon realized that many people used the numeric keypad to move the input cursor, and would sometimes mistakenly hit the Enter key, prematurely sending their message. Not good. Next beta release, I changed all those shortcuts to Ctrl+Enter ↵, with the idea that it was virtually impossible to press Ctrl+Enter ↵ by mistake, but quite easy to hit that key combo with one hand if that was your intention.
There were no reported complaints about that shortcut, nor did I explicitly document it anywhere. However, before long, various "guides to America Online" had published the shortcut, and it remains to this day, AFAIK. At the time I selected that shortcut, I was not aware of any other software that used Ctrl+Enter ↵ to mean "Send".
Over the following few years, the Windows America Online client was arguably the single most popular way to send online messages, and I know the Ctrl+Enter ↵ shortcut became very popular amongst power users. This solidly predated Windows 95 and its related apps. Was this the true genesis of the shortcut? I don't know for sure, but I like to think so. :)
我认为 Ctrl+Enter ↵ 并不意味着“发送”。这意味着“双击”或“执行默认操作”。
I think Ctrl+Enter ↵ doesn't mean "Send". It means, "double-click", or "do the default".
在电子邮件客户端中,Ctrl+Enter ↵ 是完成编辑并发送的快捷方式。我记得在 Win95 时代的 Microsoft Internet Mail and News 中使用过它。可能 Mirabilis 为 ICQ 复制了它,其他人也从 ICQ 复制了它。
In email clients Ctrl+Enter ↵ was the shorcut for finish-editing-and-send. I remember using it in Microsoft Internet Mail and News back in Win95 days. Probably Mirabilis copied it for ICQ and others copied from ICQ.
我认为第一个,可能仍然是最明显的,使用 Ctrl+Enter ↵ 是在文本框中插入一个新行,通常您不需要更多多于一行,因此使用简单的 Enter 来确认输入。
在确实需要输入多行的应用程序中,例如电子邮件客户端,很自然地会执行相反的操作,即将 Ctrl+Enter ↵ 分配给该函数通常与简单的 Enter 相关(通常是确认输入,可以视为在电子邮件客户端中发送消息)。
我没有历史参考资料,所以我不能肯定地说,但我看到 Ctrl+Enter ↵ 用于插入行比以前看到的要早得多发送消息。
问题是它通常是一种隐藏的用途,因为您很少需要它并且很少被记录,但如果您尝试,您会看到很多明显的单行文本框接受 Ctrl+< kbd>输入 ↵ 插入新行,这通常会节省大量时间并大大提高功能的实用性。
在 Excel 中使用 Alt+Enter ↵ 来输入新行,使用 Ctrl+Enter ↵ 可能会严重损害该快捷方式 留下一个更模糊的功能(可能只是作为确认条目而不移动到另一个单元格的副作用)。与(据我所知)更广泛使用的 Ctrl+Enter ↵ 相比,了解这一点的人可能更多。
当然,也有可能 Alt+Enter ↵ 先出现,我并不是真正的软件历史学家
I think the first, and probably still most obvious, use for Ctrl+Enter ↵ was to insert a new line, in a text box where usually you don't need more than one line, and thus the simple Enter is used to confirm the entry.
In applications where you do need to enter many lines, such as e-mail clients, it comes natural to do the opposite, that is assign Ctrl+Enter ↵ to the function normally associated with simple Enter (usually confirm the entry, which can be regarded as send the message in an e-mail client).
I don't have historic references, so I can't say for sure, but I saw Ctrl+Enter ↵ used for line inserting a lot earlier than seeing it used to send a message.
The thing is that it's usually an hidden use, in that you rarely need it and is rarely documented, but if you try you'll see a lot of apparently single-line text boxes accepting a Ctrl+Enter ↵ to insert a new line, and that often turns out as a big time-saver and a major increase in the usefulness of the functionality.
The shortcut is probably harmed significantly by the use of Alt+Enter ↵ in Excel to enter new lines, with Ctrl+Enter ↵ left for a more obscure functionality (and probably just as a side-effect for confirming the entry without moving to another cell). It's likely that more people know about this than the (to my knowledge) much more widely used Ctrl+Enter ↵.
Of course it's also possible that Alt+Enter ↵ came first, I'm not really a software historian