Issue #2274 has been updated by Alex Hornung. Priority changed from Normal to Low
I've added some very simple "instrumentation", printing a dot "." when it calls tcsetattr to disable local echo, and a dash "-" when it restores the local echo. The outcome is: Encrypt public-key (y/n) ? .-.-.-.-.-y.- Choose password: /root/caesarion/public-key: .-.-y.-.-.-y.-.-y.-.-y.-.-y.-.-y.-.-y.-.-y.-.-y.-.-y.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-n.-.-.-m.-.-o.-.-o.-.-.-o.-.-o.-.-o.-.-.-.-.-.-.-.-.-.-.-. As you can see, this looks more like a problem with the code. It keeps toggling between one and the other, and every time you press a button, it restores the old settings first, before taking the input, it seems. Disabling local echo itself definitely works just fine, because it's used in e.g. tcplay. In any case I'll look a bit further into this. Cheers, Alex ---------------------------------------- Bug #2274: C12 problem on leaf.dragonflybsd.org http://bugs.dragonflybsd.org/issues/2274 Author: Robin Carey Status: New Priority: Low Assignee: Category: Target version: Dear DragonFlyBSD bugs, I reported this problem just recently, and then mistakenly believed an O/S upgrade on leaf.dragonflybsd.org had solved the problem. Unfortunately, that was not the case (I had changed the code during testing/debugging and had forgot that I had changed the code, which led to me believing the problem had been solved). The problem is with C12 (C12G22r2) operation on leaf.dragonflybsd.org; the source code can be downloaded from: http://www.leopard.uk.com/C12 The problem manifests as a termios(4)/Terminal problem, e.g. Local echo is not switched off (there are probably other problems aswell). Since C12G22r2 works fine on OpenBSD-4.7/i386 and FreeBSD-9.0/i386, I conclude the problem is with DragonFlyBSD. -- Sincerely, Robin Carey BSc -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
