페도라 코어 2에서 VIM 한글 입력

greatkgc의 이미지

정말.. 왜이리 말썽인지 모르겠네요. 리눅스를 본격적으로 사용해보려고
제 개인 PC에 깔았다고 고생 만땅입니다. T_T

vim에서 한글 입력 & 한글 보기가 잘 안됩니다. 이미 있는 한글 파일도
와장창 깨져서 나옵니다. 이와 관련된 vi 설정이 fileencoding이나
encoding인걸로 알고 있는데.. 각각 이렇게 설정되어 있습니다.

set fileencoding=
set encoding=euc-kr

문제가 없을 것 같은데.. 왜이러는지 모르겠네요.

혹시 hangul-input이 disable 되어 있어서 그런가 해서 www.vim.org
에서 vim 6.3 버전을 다운로드 받아 컴파일했더니 이젠 에러가 납니다.

/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -I/usr/X11R6/include -o objects/gui_gtk_x11.o gui_gtk_x11.c
gui_gtk_x11.c: In function `gui_mch_set_fontset':
gui_gtk_x11.c:4791: error: structure has no member named `current_font'
gui_gtk_x11.c: In function `gui_mch_free_fontset':
gui_gtk_x11.c:4817: warning: passing arg 1 of `gdk_font_unref' from incompatible pointer type
make[1]: *** [objects/gui_gtk_x11.o] Error 1
make[1]: Leaving directory `/home/greatkgc/vim63/src'
make: *** [first] Error 2

왜 한글 입력이 안되며, 왜 컴파일이 안될까요?

arboris의 이미지

hanterm에서 vim 실행시키셨죠?

우분투가 좋아요.

greatkgc의 이미지

arboris wrote:
hanterm에서 vim 실행시키셨죠?

한텀이 아니라 그냥 터미널에서 시켰는데요? 한글 입력하면
외계어로 나옵니다. -_-;

arboris의 이미지

한텀있으시면 한텀에서 해보세요.
제가 페도라를 안써서 한텀이 디폴트로 깔리는지 모르겠네요.

우분투가 좋아요.

greatkgc의 이미지

터미널의 글자 코딩에 EUC-KR을 추가했더니 해결되는군요.
(그런데 처음 추가했을 때는 안되었는데.. 지금 다시 해봤더니
되네요)

아아.. 오랜만에 리눅스 써보려고 했는데.. 시간 잡아 먹는
귀신이네요. ^^ 이번주말에 공부하려고 했던 파이썬은 하나도
공부를 못했으니.. T_T

댓글 달기

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