Aiur – ZelluX 的技术博客

Security, Kernel, Virtualization, Programming Languages

Archive for January, 2009

PieTTY中按Ctrl+S导致挂起的问题解决

without comments

以前碰到这个问题都得先重启PieTTY然后用screen -x恢复到原来的工作界面,今天不知怎么的emacs里C-x C-s按了就挂起,只能google。

传说中,早期的终端会遇到显示字符的速度慢于接收字符的速度,为了解决这个问题,C-s用于先挂起当前终端,在数据传输之后用C-q恢复显示。所以最简单的解决方法就是在挂起后按C-q。

不过我的WinXP中C-q已经和快速启动工具(寝室里是Turbo Launcher,实验室的是Launchy)绑定了,也懒得为了这么个问题改操作习惯,于是再次google,终于找到一个一劳永逸的方法,以bash为例,在~/.bashrc中加入一行

stty -ixoff -ixon

即可。另外这样设置后似乎恢复了C-s在bash中正向增量查找的功能。恩。

Written by zellux

January 8th, 2009 at 3:57 am

Posted in Tools

Tagged with ,

SMT和CMP

without comments

早起(9点半对我来说蛮早了 =_=)听了Minnesota大学的Antonia Zhai关于Thread-Level Speculation的讲座,基本上还是听懂的。后面有两个术语愣是没学过,皑皑,真弱啊

SMT
Simultaneous multithreading
http://en.wikipedia.org/wiki/SMT

CMP
Chip-level multiprocessor
http://en.wikipedia.org/wiki/Multi-core_(computing)

Written by zellux

January 5th, 2009 at 11:37 am

Posted in Computer System

Tagged with ,

FireStats icon Powered by FireStatsBetter Tag Cloud