2014-12-16 12:29 GMT+01:00 Tom Hacohen <[email protected]>:

> Same, but I had to set PROMPT_COMMAND to output the right escapes...
>


This is purely... bashism.

Wait, actually bash has no other facility to setup a prompt command/function
but define a function and then setup PROMPT_COMMAND environment
variable. I guess setting PS[1-4] up still work... but to have a
function/cmd
call to update a few things... is done throw setting up a function and
then...
defining PROMPT_COMMAND.

Well, zsh does not need this because it has a facility to setup the prompt
using the `prompt' helper by loading `autoload -Uz promptinit; promptinit'
and then setup a prompt theme by `prompt [OPTIONS] <theme>' with
a `promp_<theme>_setup' function definition.

What I am saying is that, relying on bash environment variable to setup
a Terminology title is too much of a bashism. Many term apps uses an escape
sequence starting with `\e]0;' for xterm/rxvt* or `\e_screen' for screen
etc...

I don't remember anymore which ones use TITLEBAR environment variable.
A search for title[bar] in terminfo(5) gives nothing...

What to do then? Use TITLEBAR env variable? ... Use bashism? ...

-- 
Error 404: gentoo user <0123456789> was not found
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to