zsh-users
 help / color / mirror / code / Atom feed
From: Seth Kurtzberg <seth@cql.com>
To: Peter Stephenson <pws@csr.com>
Cc: Zsh users list <zsh-users@sunsite.dk>
Subject: Re: The old backspace/delete problem
Date: Mon, 24 Jan 2005 13:36:24 -0700	[thread overview]
Message-ID: <41F55C48.3030001@cql.com> (raw)
In-Reply-To: <21978.1106158257@csr.com>

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

I have ttyctl -f, not because I'm terribly clever, but because it came 
from a sample somewhere in a zsh distribution.

I do see that stty may not be the best solution in some cases, e.g., 
remote logins may need  ^?, while local logins may need ^h, or v.v.  To 
me it is better to detect the source and use stty.  The function 
solution to me is a bit too brittle.  You can make a reasonable argument 
for either solution.

Peter Stephenson wrote:

>Bart Schaefer wrote:
>  
>
>>That's a pretty cute trick, Peter.  I think it still runs into problems
>>with "ttyctl -f", though?
>>    
>>
>
>Yes, you'd need to unfreeze it before the stty to be sure.  I suspect
>most users haven't got the tty frozen.
>
>pws
>
>
>**********************************************************************
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>This footnote also confirms that this email message has been swept by
>MIMEsweeper for the presence of computer viruses.
>
>www.mimesweeper.com
>**********************************************************************
>
>
>!DSPAM:41f0a0ef160441761677783!
>
>  
>


[-- Attachment #2: Type: text/html, Size: 1773 bytes --]

  reply	other threads:[~2005-01-24 20:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 13:12 Boyd Adamson
2005-01-19 14:22 ` Peter Stephenson
2005-01-19 17:36   ` Bart Schaefer
2005-01-19 18:10     ` Peter Stephenson
2005-01-24 20:36       ` Seth Kurtzberg [this message]
2005-01-20  3:33   ` Boyd Adamson

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=41F55C48.3030001@cql.com \
    --to=seth@cql.com \
    --cc=pws@csr.com \
    --cc=zsh-users@sunsite.dk \
    /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).