🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Carlos Brody Wed, 01 May 1991 21:10
Slight bug in <Ctrl>z-2
#2024
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads