🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1669

Current window or working directory in screen title?

#1669
From: Joe Hellerstein
Date: Wed, 23 Oct 1991 18:38
21 lines
1486 bytes
Folks:
	For my xterms I have cd aliased so that the current working directory
appears in the title of my xterm screen.  It would be nice to do some
form of this in epoch, i.e.:
	1) if current window of screen is shell, put path of shell as title
	   of screen
	2) otherwise make title of current window the title of the screen.

Or some extensible variation on this theme.

Anybody have existing code to do this?  If not, any guesses as to how hard
this would be to implement?  I'm an elisp novice, so I wouldn't undertake
this myself unless it were pretty simple.

Joe Hellerstein

-- 

-----------------------------------------------------------------------------
Joe Hellerstein                    |  "Laziness in doing stupid things 
joey@postgres.berkeley.edu         |   can be a great virtue" -- James Hilton
Technical Details
Message-ID: <1991Oct23.183839.18581@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!agate!eden.Berkeley.EDU!joey

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,49e78d40dd855920,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-10-25 07:07:40 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!agate!eden.Berkeley.EDU!joey
From: joey@eden.Berkeley.EDU (Joe Hellerstein)
Newsgroups: gnu.epoch.misc
Subject: Current window or working directory in screen title?
Message-ID: <1991Oct23.183839.18581@agate.berkeley.edu>
Date: 23 Oct 91 18:38:39 GMT
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Distribution: gnu
Organization: University of California at Berkeley
Lines: 21
Originator: joey@eden.Berkeley.EDU