🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2024

Slight bug in <Ctrl>z-2

#2024
From: Carlos Brody
Date: Wed, 01 May 1991 21:10
35 lines
1577 bytes
Yesterday I asked for copies of the file "maintain-screen-titles.el"-
thanks to all those that sent it.

However, there is a teeny weeny bug left: \C-z2 is not redefined, and as it
stands it doesn't handle the "@host" part of the title ok. If one iconizes
a screen created with \C-z2, the @host bit disappears- *unless* one has
done \C-x\C-f on it first.

To solve this, the following will work:


--- Insert, in the file maintain-screen-titles.el, after the defun of
    rename-screen the following:

(defun my-duplicate-screen ()
"Like duplicate-screen but uses hack to make sure \C-z2 works fully ok"
    (interactive)
    (duplicate-screen)
    (rename-screen))



--- Then insert, at the end of maintain-screen-titles.el, where all the
    key bindings are, the line

(global-set-key "\C-z2" 'my-duplicate-screen)

You're done.

I suppose it would have been best to figure out *why* the original \C-z2
wasn't ok- but the above is small and works.


Carlos.
Technical Details
Message-ID: <9105011945.AA07364@a.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,7ec684234abee090,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-05-02 20:03:13 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
From: CBRODY@UNAMVM1.BITNET (Carlos Brody)
Newsgroups: gnu.epoch.misc
Subject: Slight bug in <Ctrl>z-2
Message-ID: <9105011945.AA07364@a.cs.uiuc.edu>
Date: 1 May 91 21:10:42 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 35
X-Unparsable-Date: Wed, 01 May 91 13:39:42 MEX