BTW this might be useful: http://superuser.com/questions/160388/change-bash-shortcut-keys-such-as-ctrl-c
On Fri, Mar 13, 2015 at 10:53 AM, Sean Owen <so...@cloudera.com> wrote: > This is more of a function of your shell, since ctrl-C will send > SIGINT. I'm sure you can change that, depending on your shell or > terminal, but it's not a Spark-specific answer. > > On Fri, Mar 13, 2015 at 5:44 PM, Adamantios Corais > <adamantios.cor...@gmail.com> wrote: >> this doesn't solve my problem... apparently, my problem is that from time to >> time I accidentally press CTRL + C (instead of CTRL + ALT + V for copying >> commands in the shell) and that results in closing my shell. In order to >> solve this I was wondering if I just deactivating the CTRL + C combination >> at all! Any ideas? >> >> // Adamantios >> >> >> >> On Fri, Mar 13, 2015 at 7:37 PM, Marcelo Vanzin <van...@cloudera.com> wrote: >>> >>> You can type ":quit". >>> >>> On Fri, Mar 13, 2015 at 10:29 AM, Adamantios Corais >>> <adamantios.cor...@gmail.com> wrote: >>> > Hi, >>> > >>> > I want change the default combination of keys that exit the Spark shell >>> > (i.e. CTRL + C) to something else, such as CTRL + H? >>> > >>> > Thank you in advance. >>> > >>> > // Adamantios >>> > >>> > >>> > >>> >>> >>> >>> -- >>> Marcelo >> >> -- Marcelo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org