From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: scratchpad text
Date: Tue, 26 Oct 2010 08:16:42 -0700 [thread overview]
Message-ID: <101026081643.ZM28648@torch.brasslantern.com> (raw)
In-Reply-To: <mailbox-4978-1288093030-725915@pepper>
On Oct 26, 1:37pm, Eric Smith wrote:
}
} Mikael Magnusson said:
} > On 26 October 2010 09:40, Eric Smith <es@fruitcom.com> wrote:
} > >
} > > Looking for just some light RAM space to supplement my own consciousness.
} > > Ideally would like to write to some buffer space in physical top
} > > corner of screen. Even if editing is not possible. These points
} > > would just supplement my current task or daily todo stuff or whatever.
} >
} > What about putting it in your RPS1 or something?
}
} Cool idea, nicer if I could have aright justify, trid using ^M for a
} newline and it puts the newline on the left.
How about:
zle-line-init() {
print -nR $terminfo[sc]$terminfo[home]"$REMINDER"$terminfo[rc]
}
zle -N zle-line-init
Then anything stored in the shell parameter REMINDER will be shown at
the top left of the screen. Of course it'll begin to scroll off if you
have a multi-line command.
Replace sc/rc with tsl/fsl to use the status line if your terminal has
one (which you can test for by examining $terminfo[hs]).
next prev parent reply other threads:[~2010-10-26 15:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-26 0:48 Eric Smith
2010-10-26 6:29 ` Bart Schaefer
2010-10-26 7:40 ` Eric Smith
2010-10-26 7:45 ` Mikael Magnusson
2010-10-26 11:37 ` Eric Smith
2010-10-26 15:16 ` Bart Schaefer [this message]
2010-10-26 17:43 ` Eric Smith
2010-10-26 17:50 ` Eric Smith
2010-10-27 4:47 ` Bart Schaefer
2010-10-26 17:54 ` Mikael Magnusson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=101026081643.ZM28648@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).