From: Danek Duvall <duvall@dhduvall.student.princeton.edu>
To: zsh-users@math.gatech.edu (Zsh Users)
Subject: Re: bindkey -s question
Date: Sat, 18 Apr 1998 11:42:12 -0400 [thread overview]
Message-ID: <19980418114212.A26415@lorien.princeton.edu> (raw)
In-Reply-To: <199804181011.KAA08845@dal-tsa19-60.cyberramp.net>; from TGAPE! on Sat, Apr 18, 1998 at 10:11:54AM +0000
On Sat, Apr 18, 1998 at 10:11:54AM +0000, TGAPE! wrote:
> Right here's your key - -s puts the keys on the line as if you typed
> them. Try typing 'echo -n ^[c' on the command line and see what
> happens.
D'Oh! It completely slipped my mind that I would have to include the ^V in
the bindkey out-string, too. That completely solves the problem; my saved
lines are reset, the screen is cleared, and I get a prompt printed (which
was what I wanted ... not to reset to a G0 charset and sane tty, though it
probably wouldn't hurt to throw that in anyway :).
I'm still not sure I see what's going on WRT the widget solution. It,
after all, should do the echo exactly like I want. I tried putting the
echo in a function and binding ^L to call that function, and that worked
fine, so I don't see why it doesn't work in a widget, unless I explicitly
have to tell zsh to print a prompt afterwards.
Anyway, thanks much. That should teach me not to try to learn new things
on so little sleep. ;-)
Danek
next prev parent reply other threads:[~1998-04-18 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-18 5:51 Danek Duvall
1998-04-18 10:11 ` TGAPE!
1998-04-18 15:42 ` Danek Duvall [this message]
1998-04-25 13:55 Mirar
1998-04-27 8:47 ` Andrew Main
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=19980418114212.A26415@lorien.princeton.edu \
--to=duvall@dhduvall.student.princeton.edu \
--cc=zsh-users@math.gatech.edu \
/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).