#192: (mandriva) show username+hostname in xterm title (?)
--+-
Reporter: metux| Owner: metux
Type: enhancement | Status: accepted
Priority: major
#192: (mandriva) show username+hostname in xterm title (?)
-+--
Reporter: metux| Owner:
Type: enhancement | Status: new
Priority: major| Milestone: 4.7
Component
Hello,
Original-Nachricht
Datum: Thu, 1 Nov 2007 16:14:35 +0100
Von: Vladimir Nadvornik
CC: Lukasz Stelmach
Betreff: Re: xterm title in the prompt
On pátek 26 říjen 2007, Lukasz Stelmach wrote:
Greetings.
There is a problem in with mc trying to display bash prompt
(*(++r) strchr (0123456789;?, *r));
- }
+ } else if (!strncmp(]0;,r,3)) /* Skip xterm title */
+ while (*r != '\007' *r != '\0') r++;
/*
* Now we are at the last character of the sequence.
---
Please CC. I'am not subscribed.
--
Miłego
This patch will added possibility to configure xterm title through MC_XTITLE
environment variable (like a zsh/bash promt)
%% - percent '%' character
%$,%# - '#' for root, '$' for normal user
%w,%d - working directory with edit/view filename
Hi,
there is a small annoying issue with the xterm title setting. As xterm
(original XFree) honors also the setting of the charset, the title
sometimes displays garbage, because the charset remained set to line
drawing characters. A simple way to reproduce this bug is pressing F9
ESC ESC
On Sun, Mar 02, 2003 at 03:42:39PM +0100, Adam Byrtek / alpha wrote:
I just like to ask you, what other format variables might be useful
for users (pid, edited/viewed file name...)? I will appreciate any
suggestions.
Nevermind. I decided to support standard bash PS1 substitutions (but
On Tue, Feb 18, 2003 at 11:53:32AM +0100, Oswald Buddenhagen wrote:
mc forgets to reset the x window title when it exits.
It was never meant to reset the title. There was a discussion how
to restore the original title, but no good solution was suggested.
too bad. is the problem that
On Sun, Jan 19, 2003 at 09:42:52AM -0500, Pavel Roskin wrote:
I could implement this if you think it's good.
Yes.
I looked into vim code as Thomas suggested, but the whole xterm title
thing was really huge and messy, about few hundreds of code. I've
decided to do it the simple way. Used
and?) restore the original xterm title on remote
connections when quitting mc.
Thomas
--
=-=
- Thomas ZlatkO Zajic[EMAIL PROTECTED] Linux-2.4.19 Mutt-1.4i -
- It is not easy to cut through a human head with a hacksaw
On Mon, Jan 20, 2003 at 01:05:51AM +0100, Thomas Zajic wrote:
Works fine here (finally no delays on startup :-), except one thing:
it fails to (save and?) restore the original xterm title on remote
connections when quitting mc.
I don't have access to a remote xserver, so could you try to debug
On Sun, Jan 19, 2003 at 10:59:18PM +0100, Adam Byrtek 'alpha' wrote:
I looked into vim code as Thomas suggested, but the whole xterm title
thing was really huge and messy, about few hundreds of code. I've
^^
d I mean
* Adam Byrtek 'alpha' [EMAIL PROTECTED], 29/12/2002, 16:16
Could you test this on different configurations/xterms, please?
I'm not sure if 100 microsecond is enough, so if you encounter this
problem again, tell me.
As others have already noted, the problem still occurs every now and
then:
re: Thomas Zajic's latest posting patch included
Could you please send me the patch or tell me where i can download
it if it's posted somewhere - I'm working on Solaris compatability
as well as fixed a problem in the last patch version, besides an additional
feature for the xterm title...
Thanks
On Sun, Dec 29, 2002 at 02:12:06PM +0100, Adam Byrtek 'alpha' wrote:
I guess attached patch could be helpful for you.
Small fix attached.
--
_.|._ |_ _.: Adam Byrtek, alpha@(irc.pl|debian.org)
(_|||_)| |(_|: gg 1802819, pgp 0xB25952C0
|: jid
* Adam Byrtek 'alpha' [EMAIL PROTECTED], 29/12/2002, 15:07
On Sun, Dec 29, 2002 at 02:12:06PM +0100, Adam Byrtek 'alpha' wrote:
I guess attached patch could be helpful for you.
Small fix attached.
Hi Adam,
Works great with the small fix (I was just about to report the slight
glitch that
Hi,
I really like mc's new feature to set the Xterm title to mc's current
directory. Still, I've got one minor cosmetical request concerning this
feature: would it be possible to save the original Xterm title when mc
starts, and restore it when mc quits?
I'm using mcedit to edit my mails/posts
Hello!
I really like mc's new feature to set the Xterm title to mc's current
directory. Still, I've got one minor cosmetical request concerning this
feature: would it be possible to save the original Xterm title when mc
starts, and restore it when mc quits?
I haven't looked at the code yet
18 matches
Mail list logo