Index . 블로그창고 . Any comments?

Firefox 1.0PR textarea에서 외부에디터 쓰기

웹브라우저의 textarea 편집기는 너무 기본적인 기능만 가지고 있어서 다른 편집기에 익숙한 사용자에게는 불편할 수 밖에 없다. 그래서 mozex를 설치해서 사용하고 있었는데 Firefox 1.0PR로 업데이트를 하고 나니 작동하지 않는 듯하다. 일단 설치구조가 바뀌어서 여기서는 설치조차 되지 않는다. 설치방법을 정리해 본다.

  1. http://downloads.mozdev.org/mozex/mozex-1.07.xpi를 클릭해서 설치한다.
  2. 설치는 되었으나 command가 정의되지 않았다는 에러가 난다.
  3. Firefox를 종료한다.
  4. 개인설정파일(윈도라면 c:\Documents and Settings\YOUR_ID\Application Data\Mozilla\Firefox\Profiles\BLAHBLAH.default\prefs.js 여기서 YOUR_ID는 윈도계정, BLAHBLAH는 임의의 문자열인데 디렉토리가 하나밖에 없을 것임)에 다음을 추가한다.
    user_pref("mozex.general.tmpdir", "c:\\temp");
    user_pref("mozex.command.download", "");
    // 여기서 원하는 에디터를 지정
    user_pref("mozex.command.textarea", "c:\\progra~1\\vim\\vim62\\gvim.exe %t");
    user_pref("mozex.command.source", "c:\\progra~1\\vim\\vim62\\gvim.exe %t");
    user_pref("mozex.command.irc", "");
    user_pref("mozex.command.ftp", "");
    user_pref("mozex.command.aim", "");
    user_pref("mozex.command.ed2k", "");
    user_pref("mozex.command.telnet", "");
    user_pref("mozex.command.news", "");
    user_pref("mozex.command.mailer", "");
    user_pref("mozex.intercept.mailto", false);
    user_pref("mozex.intercept.news", false);
    user_pref("mozex.intercept.ftp", false);
    user_pref("mozex.intercept.irc", false);
    user_pref("mozex.universal.schemes", "");
    user_pref("mozex.universal.command", "");
    
  5. http://openlook.org/blog/happyhacking/0404MozexHangul.html에서 인코딩에 맞는 mozex.jar를 받아서 BLAHBLAH.default\chrome\mozex.jar 파일을 덮어쓴다. OS와는 무관하므로 윈도에서 UTF-8을 쓸 경우 X11용이라 적힌 것을 받으면 된다. 이 작업은 한글을 사용하기 위한 것이다. 그리고 단축메뉴가 하나 더 생긴다.
tag:
Wed Sep 22 02:09:09 2004

오홋~! 감사합니다. 지금 Editplus에 연결해서 코멘트 남깁니다. 무엇을 잘못 설정했는데 TextArea에서는 찾기가 안되서 불편했었는데(포커스가 안가더라구요 ㅠ_ㅠ) 게다가 위지윅 에디터기능까지 가능해졌습니다. ^_^ -- forXtra

Wed Sep 22 10:56:56 2004

설정이 있는지는 모르겠으나 textarea는 검색이 안 되더군요. 그리고 이것도 블로그 맞습니다. -.-; -- Huidae Cho

블로그창고 . 댓글문법

All the works in this site except software and copyrighted materials by others (e.g., 문학) are licensed under a Creative Commons License. 소프트웨어 및 문학과 같이 다른 이에게 저작권이 있는 작품을 제외하고 모두 크리에이티브 커먼즈 라이센스를 따른다.
Sun Apr 14 08:44:02 2024 . XHTML . CSS (lightbox.css is not part of Uniqki. ;-) . Powered by Uniqki!
refresh . edit . loginout . index