On 2005-12-09 at 12:28 -0500, Decklin Foster wrote: > Andrew Ferrier writes: > > > In bash, and most shells, Ctrl-C seems to kill the current line and open > > a new prompt. However, in yafc, pressing Ctrl-C also disconnects from > > the server one is connected to. > > My thought is that if something is "open" (running) in a shell, ctrl-C > kills it, so I hadn't personally found this behavior surprising. > > Would ctrl-U work for you? That's what I always use for "erase the > current line and start over". But I'm not sure if you're looking for > something more here.
I have to admit I didn't know about that. Having just tested it in bash and yafc, it does seem to do what I usually use Ctrl-C for, so I should probably get used to doing that. > ctrl-D should only be exit on a blank line, methinks, as it is > equivalent to end-of-file. Fair enough. > Yafc uses readline, so is it also possible that you can setup the > bindings you want by using .inputrc? If so maybe you can close this bug. > Thanks. Fair point - didn't know that. Sounds like my 'wrong' behaviour would be configurable anyway if I wanted, although I'll try and get used to the right keybindings! Thanks for your help. I think you can close this bug. Cheers, Andrew. -- Andrew Ferrier web: http://www.new-destiny.co.uk/andrew/ email: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]