xterm 한글 출력 패치

wowcode의 이미지

다른 터미널은 좀 무거워서 xterm을 사용하고 있다가 한글 출력이 안되서 답답하더군요.
유니코드 지원하는 방법으로 된다고도 하던데 .... 그냥 한번 만들어봤습니다.

xterm 버젼은 184 입니다. http://dickey.his.com/xterm/xterm.html 여기서 받으시면 되구요...

xterm 소스 디렉토리에서

patch -p1 < patch-xterm-han.diff

하신후 ./configuare 와 make 하시면 됩니다. 혹시 모르니 make 해서 생긴 xterm 실행 파일을 hterm정도로 rename 해서 사용하세요.

기본 폰트는 gulimbdf 로 되어있고 원하는 폰트를 설정하시려면 ~/.Xresources 파일에

XTerm*hanFont: -*-gulim-medium-r-normal-*-12-*-*-*-*-*-ksc5601.1987-0

와 같이 등록하시면 됩니다.

입력기 폰트를 같이 등록하시려면

XTerm*ximFont: -*-gulim-medium-r-normal-*-12-*-*-*-*-*-ksc5601.1987-0

도 추가하시면 되구요.

ami와 같이 사용하니 한글 입력도 그럭저럭 되네요...

File attachments: 
첨부파일 크기
Image icon xterm-han.png775.52 KB
파일 patch-xterm-han.diff16.05 KB
Forums: 
cdpark의 이미지

조금 더 많이 고친 프로그램을 hanterm-xf라고 부른답니다. :)

wowcode의 이미지

xf버젼이 있었군요 :)

아주 많이 고친 ...... :)

윈도우즈에서 이런 비슷한 프로그램을 만든적이 있어서 관심이 많습니다.

시간이되면 좀더 고쳐보고 싶군요.....

그런데 황치덕님 사이트에 있는 hanterm-xf 최근 수정된 파일이 2002년인데 그후론 업그레이드가 없었나보네요..

cjh의 이미지

http://hanterm-xf.kldp.net 으로 옮겼습니다.

--
익스펙토 페트로눔

esrevinu의 이미지

XFree86 4.3.99 를 써서 그런지 몰라도 Xterm에서 한글 입출력이 그냥 되네요.

Xterm version : XFree86 4.3.99.901(182)

방준영의 이미지

정말 XFree86 4.4.0에 포함될 xterm에서 한글 입출력이 기본으로 되는군요. 이제 한텀은 무덤속에 눕게 되려나... 8)

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.