diff -r b75b4fdd62f8 Lib/idlelib/config-keys.def --- a/Lib/idlelib/config-keys.def Wed Jun 01 00:01:21 2016 -0500 +++ b/Lib/idlelib/config-keys.def Wed Jun 01 10:29:26 2016 +0300 @@ -109,6 +109,57 @@ change-indentwidth= del-word-left= del-word-right= +[IDLE Modern Unix] +copy = +cut = +paste = +beginning-of-line = +center-insert = +close-all-windows = +close-window = +do-nothing = +end-of-file = +history-next = +history-previous = +interrupt-execution = +view-restart = +restart-shell = +open-class-browser = +open-module = +open-new-window = +open-window-from-file = +plain-newline-and-indent = +print-window = +python-context-help = +python-docs = +redo = +remove-selection = +save-copy-of-window-as-file = +save-window-as-file = +save-window = +select-all = +toggle-auto-coloring = +undo = +find = +find-again = +find-in-files = +find-selection = +replace = +goto-line = +smart-backspace = +newline-and-indent = +smart-indent = +indent-region = +dedent-region = +comment-region = +uncomment-region = +tabify-region = +untabify-region = +toggle-tabs = +change-indentwidth = +del-word-left = +del-word-right = + [IDLE Classic Mac] copy= cut= diff -r b75b4fdd62f8 Lib/idlelib/config-main.def --- a/Lib/idlelib/config-main.def Wed Jun 01 00:01:21 2016 -0500 +++ b/Lib/idlelib/config-main.def Wed Jun 01 10:29:26 2016 +0300 @@ -70,7 +70,7 @@ name2= [Keys] default= 1 -name= IDLE Classic Windows +name= [History] cyclic=1 diff -r b75b4fdd62f8 Lib/idlelib/config.py --- a/Lib/idlelib/config.py Wed Jun 01 00:01:21 2016 -0500 +++ b/Lib/idlelib/config.py Wed Jun 01 10:29:26 2016 +0300 @@ -400,8 +400,16 @@ class IdleConf: return "IDLE Classic" def CurrentKeys(self): - "Return the name of the currently active key set." - return self.GetOption('main', 'Keys', 'name', default='') + """Return the name of the currently active key set.""" + name = self.GetOption('main', 'Keys', 'name', default='') + if not name: + if sys.platform[:3] == 'win': + name = 'IDLE Classic Windows' + elif sys.platform == 'darwin': + name = 'IDLE Classic OSX' + else: + name = 'IDLE Modern Unix' + return name def GetExtensions(self, active_only=True, editor_only=False, shell_only=False): """Return extensions in default and user config-extensions files.