Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: idea for new feature (was: Re: sticky-note and zle bindings)
- X-seq: zsh-workers 24412
- From: Steven Lumos <steven@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: idea for new feature (was: Re: sticky-note and zle bindings)
- Date: Fri, 18 Jan 2008 12:02:59 -0800
- Cancel-lock: sha1:AaSqiqOfqSo0MQ4AZGORFnRFO7M=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080104105900.37a87f7e@news01> <237967ef0801040304h494987bv939bf6ff9541123f@xxxxxxxxxxxxxx> <477E177A.3060303@xxxxxxxxxxxxx> <Xns9A20C0F173D23zzappergmailcom@xxxxxxxxxxxx> <080113000048.ZM15017@xxxxxxxxxxxxxxxxxxxxxx> <20080116131048.GC16058@xxxxxxxxx> <080116075915.ZM12209@xxxxxxxxxxxxxxxxxxxxxx> <20080116171253.GF16058@xxxxxxxxx> <080116191103.ZM12889@xxxxxxxxxxxxxxxxxxxxxx> <20080117172603.GA664@xxxxxxxxx> <691a5d910801180119p32d48643wa55fd2aefaa3bf6a__27696.5395118625$1200648096$gmane$org@xxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> writes:
> On 1/17/08, Andy Spiegl <zsh.Andy@xxxxxxxxx> wrote:
>> > The upshot is that this isn't a zsh feature -- it's a cooperative
>> > feature that requires effort from both the shell and whatever other
>> > user interface environment it's running inside.
>> Right, so let's start. :-)
>
> Here's something that may be of use. Recent xterm has adopted window
> control sequences from dtterm, according to
> http://www.xfree86.org/current/ctlseqs.html, so zsh might have a
> chance at saving/restoring some window state. I haven't tried Konsole
> but Gnome-terminal pays attention to a subset of this. Other
> terminals I don't know.
I guess "recent" may be relative (Sun 1 you say?), but I've been using
the following for at least 7 years. I do something like
% xtctl size 100 60 move 0 0
all the time on XTerm, rxvt (cygwin no less), OSX Terminal.app, and
PuTTY. That ctlseqs.ms certainly does get around....
(If it looks naive, it's because I was limiting it to Bourne shell,
mostly for fun. At some point while implementing 'get' I gave up and
switched to bash, but it's been so long now that I don't remember why.)
Err, Gnus helpfully informed me that there was a literal ^[ and ^G in
there (Bourne shell...), so here's a link instead:
http://www.isri.unlv.edu/~slumos/hacks/xtctl. It's mostly a curiosity
at this point anyway...
Steve
Messages sorted by:
Reverse Date,
Date,
Thread,
Author