Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Oct 09, 2008 11:43 am 
Offline

Joined: Wed Oct 08, 2008 11:22 am
Posts: 1
I'm connecting to my Linode using Lish. In emacs I use ctrl-s for search. I also tend to inadvertently hit ctrl-s when i'm saving (ctrl-x s), which poses no problem except I noticed that emacs on my Linode is behaving differently. Ctrl-s suspends the terminal.

How can I fix this in emacs or is there a way to simply disable 'ctrl-s' in the terminal?


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2008 11:51 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com
Why not just install SSH and do it that way? Lish is supposed to be for the remote save-my-ass-I-fscked-up console.


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2008 12:19 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
freedom_is_chaos wrote:
Why not just install SSH and do it that way? Lish is supposed to be for the remote save-my-ass-I-fscked-up console.


Seconded. It's really much easier.


Top
   
 Post subject: GNU screen
PostPosted: Thu Oct 09, 2008 12:57 pm 
Offline
Junior Member

Joined: Wed Jan 23, 2008 9:49 pm
Posts: 34
Nate,

The problem is that Lish is a GNU screen instance into your linode's console from the host computer. I am not a screen user but I bet that is the problem. You can probably search in the screen man pages to see what your particular problem might be. But I agree with the previous posters that a better idea would be to ssh directly into your linode. Less headaches that way, and your emacs instance will probably behave as you intend without any workarounds.

Cheers,
Antonio


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2008 4:26 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
(Ctrl-a f) should toggle between the flow control modes of screen. You probably want it off ("-flow") when you are using emacs.

Normally you could set the default for this with the screen command line or .screenrc, but since this screen instance is running on the host I don't think there is any way to set the default.


Top
   
 Post subject:
PostPosted: Sat Oct 18, 2008 9:27 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
For the record...

Ctrl-S is the XOFF command. Crl-Q is XON - if you've halted flow control with Ctrl-S, just type Ctrl-Q to put it back on.

(and personally, I see nothing wrong with using lish, if you're the only one using the box. SSH makes some things easier, but on the other hand it's also another potential attack vector. But you do need to be aware of the reasons why you're using lish specifically.)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group