xwem-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XWEM]: Problem with terminals and control characters.


From: Erik Arneson
Subject: Re: [XWEM]: Problem with terminals and control characters.
Date: Thu, 17 Jun 2004 11:43:41 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)

On 17-Jun-2004, Zajcev Evgeny <address@hidden> wrote:
> Great!  That shows that bash is evil :).  Ok fix will be easy, since
> everything that starts under xwem getting origin from
> `xwem-execute-program', it will unset EMACS environment variable, and
> revert value back after execution.

I've attached a patch which seems to fix the problem for me.  Note that
`comint', in its infinite wisdom, is the culprit behind the EMACS
environment variable, and it will set it again if you try to unset it.
To get around this, I just set it to "xwem", which seems to be all we
need to fool bash.

Enjoy!

-- 
;; Erik Arneson <address@hidden>         GPG Key ID: 2048R/8B4CBC9C ;;
;; <http://www.transformason.org/>      <http://erik.arneson.org/> ;;
;; "Civilization is only savagery silver-gilt." - H. Rider Haggard ;;

Attachment: xwem-launcher.patch
Description: Workaround for bash's schizophrenia.

Attachment: pgpEH4G6pd_n6.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]