according to key_string_set_modifiers() in key-string.c, :bind-key -n
s-enter send-key enter

On Fri, Jul 5, 2013 at 9:13 PM, patrick keshishian <[email protected]> wrote:
> On Fri, Jul 5, 2013 at 5:56 PM, patrick keshishian <[email protected]> wrote:
>> On Fri, Jul 5, 2013 at 5:52 PM, Nicholas Marriott
>> <[email protected]> wrote:
>>> Ok so Return and Shift-Return never did anything different, you are just
>>> wondering why Shift-Return no longer sends the same as Return.
>>>
>>> This is because tmux now treats it as a separate key by turning on the
>>> xterm modifyOtherKeys feature. This means you can bind Return and
>>> Shift-Return separately in tmux itself. The extended keys are also sent
>>> through to applications inside tmux if the xterm-keys option is turned
>>> on.
>
> To get the old behavior back, I should do something resembling:
>
>         :bind-key -n Shift+Enter send-key Enter
>
> If so, I'm not quit getting how to specify the Shift+Return/Enter
> combination. tmux complains about "unknown key".
>
> help? :)
>
> --patrick
>
>
>> So... is there anyway I can enable the old behavior? I scanned through
>> the tmux man page prior to my initial post, didn't see anything
>> obvious. I'll go re-read again, but if there is a quick hint you can
>> offer, that would be appreciated!
>>
>> --patrick
>>
>>
>>>
>>>
>>> On Fri, Jul 05, 2013 at 05:28:58PM -0700, patrick keshishian wrote:
>>>> Hi,
>>>>
>>>> On Fri, Jul 5, 2013 at 5:07 PM, Nicholas Marriott
>>>> <[email protected]> wrote:
>>>> > What did Shift-Return used to send? Run cat outside tmux and tell me
>>>> > what it shows when you press Shift-Return.
>>>>
>>>> Not sure what you mean by running "cat outside tmux".
>>>>
>>>> Running `hexdump -C' (within xterm) shows 0a sent with Return and 
>>>> Shift+Return:
>>>>
>>>> $ hexdump -C
>>>> RET->
>>>> 00000000  52 45 54 2d 3e 0a                                 |RET->.|
>>>> 00000006
>>>> $ hexdump -C
>>>> SHIFT+RET->
>>>> 00000000  53 48 49 46 54 2b 52 45  54 2d 3e 0a              |SHIFT+RET->.|
>>>> 0000000c
>>>>
>>>>
>>>> Is that similar to what you were asking for?
>>>>
>>>> --patrick
>>>>
>>>>
>>>> > On Fri, Jul 05, 2013 at 03:42:39PM -0700, patrick keshishian wrote:
>>>> >> Hi,
>>>> >>
>>>> >> Was running 2013-FEB-12 amd64 snapshot. Installed 2013-JUN-27 amd64
>>>> >> snapshot a couple of days ago.
>>>> >>
>>>> >> Immediately noticed that Shift+Return combination isn't being sent to
>>>> >> the shell. I can't quite tell where/when this changed. Any ideas?
>>>> >>
>>>> >> --patrick

Reply via email to