[Top][All Lists]

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

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

From: Zajcev Evgeny
Subject: Re: [XWEM]: Problem with terminals and control characters.
Date: Thu, 17 Jun 2004 13:40:28 +0400
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celery, berkeley-unix)

Sergey Bolshakov <address@hidden> writes:

>  > Yes, I have couple of ideas:
>  >   - bash is too smart and tries to recognize is he running under
>  >     XEmacs or in plane terminal and mistakes under xwem.  Check that
>  >     TERM is correct(i.e.  not something like "emacs") - `(getenv
>  >     "TERM")'.  Unset EMACS environ variable inside XEmacs - `(setenv
>  >     "EMACS" nil t)'.  And then try to run xterm with bash.
> unsetting EMACS env var solves this problem.

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.

>  >   - Run X with other wm, run xemacs and under xemacs do `M-! xterm
>  >     RET' - what the behaviour?
> Just works, as usual.

Yes i expected this, but `M-!' and `H-!' isnt that good to run
process, because:

   - spawns additional shell

   - blocks

`H-!' is only useful to do some nifty things like:

  * `H-u H-u H-! date RET' - insert date to current client.

  * `H-! xdpyinfo RET'     - view X display info in special XEmacs frame.


Thanks guys!


reply via email to

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