Ctrl-N or Shift-Ctrl N opens a new window (not what I want)!

1,100 views
Skip to first unread message

Willy Nolan

unread,
Sep 22, 2015, 6:17:25 PM9/22/15
to chromium-hterm
When using Secure Shell on Windows I use the Emacs editor.  The default keybinding, one which I would like to keep, is for Ctrl-N to go to a new line. Unfortunately in the Secure Shell extension this opens a new window. Is there a way to prevent this from happening and make the Ctrl-N go straight to the extensions?

Robert Ginda

unread,
Sep 22, 2015, 6:36:09 PM9/22/15
to Willy Nolan, chromium-hterm
On any platform exception mac-os, you can right click on the secure shell launcher icon, select "Open as Window", and relaunch.  Secure Shell will open in its own dedicated window and Ctrl-N/T/W will be sent to the host as expected.  Unfortunately there's no way for a page in a tab to capture Ctrl-N/T/W, they're always consumed by Chrome.

On Tue, Sep 22, 2015 at 3:17 PM, Willy Nolan <wi...@willynolan.com> wrote:
When using Secure Shell on Windows I use the Emacs editor.  The default keybinding, one which I would like to keep, is for Ctrl-N to go to a new line. Unfortunately in the Secure Shell extension this opens a new window. Is there a way to prevent this from happening and make the Ctrl-N go straight to the extensions?

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/4d269865-cf29-4787-91a9-3f6a867ca32a%40chromium.org.

Message has been deleted

Willy Nolan

unread,
Sep 22, 2015, 6:42:44 PM9/22/15
to chromium-hterm, wi...@willynolan.com
This is nice, however, one issue is that I can not make Secure Shell full screen when it is run as a separate window like this.  In other words the title bar is still there at the top.  My hope was that I would be able to get a completely full screen terminal set up by using "presentation mode" and this extension in a new tab.

Also - is there a way to run as its own window in Chrome on Mac OS?

Mike Frysinger

unread,
Sep 22, 2015, 6:58:03 PM9/22/15
to Willy Nolan, chromium-hterm
does F11 not work to make it fullscreen ?
-mike

On Tue, Sep 22, 2015 at 6:42 PM, Willy Nolan <wi...@willynolan.com> wrote:
This is nice, however, one issue is that I can not make Secure Shell full screen when it is run as a separate window like this.  In other words the title bar is still there at the top.  My hope was that I would be able to get a completely full screen terminal set up by using "presentation mode" and this extension in a new tab.

Also - is there a way to run as its own window in Chrome?



On Tuesday, September 22, 2015 at 3:36:09 PM UTC-7, Robert Ginda wrote:

Willy Nolan

unread,
Sep 22, 2015, 7:01:40 PM9/22/15
to Mike Frysinger, chromium-hterm
Unfortunately no, F11 works for normal tabs for windows, but (at least for me) not on extensions in Chrome. (It just prints out the tilde character)


// Willy Nolan

Robert Ginda

unread,
Sep 22, 2015, 7:09:03 PM9/22/15
to Willy Nolan, chromium-hterm
On Tue, Sep 22, 2015 at 3:42 PM, Willy Nolan <wi...@willynolan.com> wrote:
This is nice, however, one issue is that I can not make Secure Shell full screen when it is run as a separate window like this.  In other words the title bar is still there at the top.  My hope was that I would be able to get a completely full screen terminal set up by using "presentation mode" and this extension in a new tab.

Also - is there a way to run as its own window in Chrome on Mac OS?

No, unfortunately "Open as Window" isn't implemented on Mac OS .  However, on the keys don't clash on Mac OS.  New window is Cmd-N, and emacs newline is Ctrl-N.  If you want to use Cmd as Ctrl on a Mac, you'll have another problem.


On Tuesday, September 22, 2015 at 3:36:09 PM UTC-7, Robert Ginda wrote:
On any platform exception mac-os, you can right click on the secure shell launcher icon, select "Open as Window", and relaunch.  Secure Shell will open in its own dedicated window and Ctrl-N/T/W will be sent to the host as expected.  Unfortunately there's no way for a page in a tab to capture Ctrl-N/T/W, they're always consumed by Chrome.

On Tue, Sep 22, 2015 at 3:17 PM, Willy Nolan <wi...@willynolan.com> wrote:
When using Secure Shell on Windows I use the Emacs editor.  The default keybinding, one which I would like to keep, is for Ctrl-N to go to a new line. Unfortunately in the Secure Shell extension this opens a new window. Is there a way to prevent this from happening and make the Ctrl-N go straight to the extensions?

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/4d269865-cf29-4787-91a9-3f6a867ca32a%40chromium.org.

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.

Willy Nolan

unread,
Sep 22, 2015, 7:11:47 PM9/22/15
to Robert Ginda, chromium-hterm
This is actually great as Mac is my preferred method. I will definitely keep Ctl-N on Mac.
So, is the takeaway, there is no way to use Ctrl-N as newline on Windows except as its own window (in which case it can not be made into presentation mode)?

// Willy Nolan

Mike Frysinger

unread,
Sep 22, 2015, 7:12:33 PM9/22/15
to Willy Nolan, chromium-hterm

SecureShell is an app ;). how about shift+F11? I only have Linux/CrOS, so can't test other OS's.

I vaguely recall you could also set apps to auto open in a full screen window and not just a window.
-mike

Robert Ginda

unread,
Sep 22, 2015, 7:21:59 PM9/22/15
to Willy Nolan, chromium-hterm
Basically, except that Secure Shell (dev) has the ability to modify the key bindings.  (That link only works if you're signed into an account that is a member of this mailing list.)


You'd want to map F11 to PASS by setting the keybindings preference to { "F11": "PASS" }.  Now you won't be able to send an F11 to the host program, but you may be able to enable full-screen.  I haven't tried this, so it's possible Chrome doesn't map F11 to full-screen for apps by default.


Rob.





Willy Nolan

unread,
Sep 22, 2015, 9:35:21 PM9/22/15
to Robert Ginda, chromium-hterm
And how do I update the keybindings (thanks for your help)

// Willy Nolan

Willy Nolan

unread,
Sep 22, 2015, 9:36:07 PM9/22/15
to Robert Ginda, chromium-hterm
Sorry, I just saw the instructions. Thank you for this. Will let you know how it tests!

// Willy Nolan

Adam Lee

unread,
Jul 26, 2021, 2:46:08 PM7/26/21
to chromium-hterm, Willy Nolan
Sorry to re-open this old group, but in case anyone else comes across this:
In my case, Secure Shell (even as a tab) is able to consume Ctrl-N when the browser is in fullscreen (I also have the appropriate option set in Secure Shell's settings).
Reply all
Reply to author
Forward
0 new messages