public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* ZSH: The first letter of a command gets repeated
@  Hermann
   ` Zachary Kline
   ` Michael Whapples
  0 siblings, 2 replies; 5+ messages in thread
From: Hermann @  UTC (permalink / raw)
  To: speakup

Hi,
from the beginning of my use of Speakup on GRML, I observe a strange
thing:
When I type any command at the prompt, the first letter is spoken twice,
so taht, if you have a two-letter-command, you hear three letters - the
first one twice.
It only happens when using ZSH and in no other app. When I call bash
Speakup speaks correctly.
Can someone confirm this? Are there any work arounds?
Hermann

-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ZSH: The first letter of a command gets repeated
   ZSH: The first letter of a command gets repeated Hermann
@  ` Zachary Kline
   ` Michael Whapples
  1 sibling, 0 replies; 5+ messages in thread
From: Zachary Kline @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi,
On Fri, Jun 19, 2009 at 02:47:21PM +0200, Hermann wrote:
> Hi,
> from the beginning of my use of Speakup on GRML, I observe a strange
> thing:
> When I type any command at the prompt, the first letter is spoken twice,
> so taht, if you have a two-letter-command, you hear three letters - the
> first one twice.
> It only happens when using ZSH and in no other app. When I call bash
> Speakup speaks correctly.
> Can someone confirm this? Are there any work arounds?
> 
I can at least confirm this.  I don't know of any workarouns, and have
just learned to ignore the extra speech.  I believe the problem is with
the way zsh uses the terminal: it would seem to redraw something so that
speakup thinks the screen has been updated.
I don't know this for certain, but it seems logical to me.
Incidentally, could this be the problem with vim as well?
Best,
Zack.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ZSH: The first letter of a command gets repeated
   ZSH: The first letter of a command gets repeated Hermann
   ` Zachary Kline
@  ` Michael Whapples
     ` Tyler Spivey
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Whapples @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I notice the same with zsh. I don't have a fix for zsh, instead I 
decided to switch to bash as the default shell by using the chsh command.

Michael Whapples
On -10/01/37 20:59, Hermann wrote:
> Hi,
> from the beginning of my use of Speakup on GRML, I observe a strange
> thing:
> When I type any command at the prompt, the first letter is spoken twice,
> so taht, if you have a two-letter-command, you hear three letters - the
> first one twice.
> It only happens when using ZSH and in no other app. When I call bash
> Speakup speaks correctly.
> Can someone confirm this? Are there any work arounds?
> Hermann
>
>    


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ZSH: The first letter of a command gets repeated
   ` Michael Whapples
@    ` Tyler Spivey
       ` Hermann
  0 siblings, 1 reply; 5+ messages in thread
From: Tyler Spivey @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Jun 19, 2009 at 09:50:06PM +0100, Michael Whapples wrote:
> I notice the same with zsh. I don't have a fix for zsh, instead I  
> decided to switch to bash as the default shell by using the chsh command.
>
I've been using zsh daily for years.
You might not need to change your prompt, but if things break, try it.
try adding this to your .zshrc:
unsetopt prompt_cr
setopt singlelinezle
#Change the prompt to machinename%, for example
export PS1='%m%# '
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAko8QDwACgkQTsjaYASMWKQtEgCfct/6kA66ukxstFUs1K9+krsw
yToAoI8IYxaeafisXuv3Hpr13FpfNai+
=7Lmf
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ZSH: The first letter of a command gets repeated
     ` Tyler Spivey
@      ` Hermann
  0 siblings, 0 replies; 5+ messages in thread
From: Hermann @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

On 20.06.2009 at 03:49:48 Tyler Spivey <tspivey@pcdesk.net> wrote:

> On Fri, Jun 19, 2009 at 09:50:06PM +0100, Michael Whapples wrote:
>> I notice the same with zsh. I don't have a fix for zsh, instead I  
>> decided to switch to bash as the default shell by using the chsh command.
>>
> I've been using zsh daily for years.
> You might not need to change your prompt, but if things break, try it.
> try adding this to your .zshrc:

Thanks, that worked, but I don't understand the last line, so I omitted
it; there seem to be no consequences.
If "m" stands for machine, I should insert "grml" here, but thsi
destroyed my prompt (rml#).
Hermann

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 ZSH: The first letter of a command gets repeated Hermann
 ` Zachary Kline
 ` Michael Whapples
   ` Tyler Spivey
     ` Hermann

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 read-only IMAP folder(s) and NNTP newsgroup(s).