IME(나비, SCIM)연결시 프로그램 초기 기동에 딜레이가 있습니다.

vamf12의 이미지

이런 저런 설명 보다 일단 xterm의 strace결과의 일부분 입니다.

poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\0017\247\0E\0\0\0\0\0\0\0\7\0\0\0\366\377\0\0OUND\4\0\7\0\7\0\v\0", 32) = 32
read(3, "\2\0\0\0LY_N\0\0\377\0\0\0\30\0\0\0\377\0\v\0\2\0\0\0\0\0", 28) = 28
read(3, "\340\0\0\0\341\0\0\0\314\0\0\0\342\0\0\0@\0\0\0\343\0\0\0\315\0\0\0U\1\0\0"..., 192) = 192
readv(3, [{"-misc-fixed-bold-r-normal--13-12"..., 55}, {"\0", 1}], 2) = 56
read(3, "\1\0\247\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 32) = 32
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 28) = 28
write(3, "\20\0\4\0\10\0007\0_client2", 16) = 16
read(3, "\1y\250\0\0\0\0\0i\1\0\0x\203\25\10\334\325\37\10\340\227\216\277\370\227\216\277\364\177\36\10", 32) = 32
write(3, "\22\2M\0X\0`\0i\1\0\0\37\0\0\0\10\0\0\0\34\1\0\0002\0F\0\5\0\24\1"..., 352) = 352
ioctl(3, FIONREAD, [0])                 = 0
read(3, 0xbffc8264, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
<span>poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1</span>
read(3, "\241\10\252\0\32\0\240\0H\1\0\0003\0\1\0\5\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0", 32) = 32
write(3, "w\2\1\0", 4)                  = 4
read(3, "\1\3\253\0\6\0\0\0\0\20\0\0x\203\25\10\334\325\37\10\340\227\216\277\370\227\216\277\364\177\36\10", 32) = 32

중간에 굵에 표시된 poll에 딜레이가 발생합니다. xterm과 xserver가 PF_UNIX로 통신하는 도중, xterm이 xserver한테 뭔가를 물어 봤는데, 응답하는데 약간 딜레이가 걸립니다. 쬐금 있다가 응답하는 거지요. 특이한 점은 아직 xterm창이 만들어 지지 전입니다. 저부분을 통과하고 나면, 창이 만들어지고, 이후에는 ime유무와 상관 없이 잘됩니다.

이게 웃긴게 IME가 연결되면 저런 증상이 발생합니다. ime만의 특성인가요.. -_- 예전에는 몰랐는데 확실히 좀 짜증나는 군요.

$uname -a
Linux episode4 2.6.24-gentoo-r4 #11 SMP PREEMPT Tue May 6 00:02:39 KST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux
 
Xorg.log
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.