🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.sys.x11
Article #2088

Re: Konsole Tab Text

#2088
From: Piotr Smyrak
Date: Mon, 19 Jan 2004 14:19
18 lines
1535 bytes
On Mon, 19 Jan 2004 13:53:59 +0100, Mariusz Drozdziel
<nova+usenet@szklanka.teleaudio.com.pl>  wrote:

>         Czy jest jakaś sekwencja, która wywalona na terminal zmusi
>         konsole do
> ustawienia nazwy bierzącej zakładaki? Wiem, że można to robić
> przez 'dcop renameSession', ale to jest średnio użyteczne. Chodzi
> mi o taki trick, aby po zalogowaniu się na jakiś serwer móc sobie
> ustawić jego hostname jako nazwe zakładaki. Ma ktoś jakiś pomysł?

#!/usr/local/bin/bash
unset PROMPT_COMMAND
echo -ne "\033]0;${1}\007"

Może coś takiego? w gnome-terminalu działa...

-- 
 Piotr Smyrak, piotr.smyrak.eko.org.pl
Technical Details
Message-ID: <20040119151957.50cce465@beth.poprostu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <2539907.6I4rOvb1Hh@szklanka.teleaudio.com.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Piotr Smyrak <piotr.smyrak@eko.org.pl.spam>
Newsgroups: pl.comp.sys.x11
Subject: Re: Konsole Tab Text
Date: Mon, 19 Jan 2004 15:19:57 +0100
Organization: organizm-nie-organizacja
Lines: 19
Message-ID: <20040119151957.50cce465@beth.poprostu.pl>
References: <2539907.6I4rOvb1Hh@szklanka.teleaudio.com.pl>
NNTP-Posting-Host: pf183.wroclaw.sdi.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1074522900 145 213.25.228.183 (19 Jan 2004 14:35:00 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 19 Jan 2004 14:35:00 +0000 (UTC)
X-Newsreader: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.9)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit