all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs on a text console - please help me overcome the shock
@ 2011-08-22  7:55 rdiezmail-emacs
  2011-08-22 17:16 ` fork
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: rdiezmail-emacs @ 2011-08-22  7:55 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all:

I'm a "normal" GUI computer user, I've used things like Delphi, Eclipse, gedit, Notepad++ and Visual Studio all my life. I've also been using emacs for some time under Ubuntu and under Windows.
It took me a while to set it up with "standard" behaviour, like shift+arrows for text selection and so on, I found the cua mode to be helpful. Every now and then, I even click on the menus with the mouse. However, I've written some simple, copy-paste lisp too,
so I'm not just a standard mouse user. In fact, my .emacs file has grown much more than I ever thought it would.  8-)


Now I have to work on a remote server via SSH, and the connection is not fast enough to tunnel X Windows over it, so I have to switch to console mode with "emacs -nw".

The console mode has been a shock. There is no mouse at all. I cannot navigate the menus as usual, menu-bar-open is weird and unfriendly. But, worst of all, some key combinations do not work well.

I don't want to use the ESC key as a prefix for anything, and that is normally fine under X Windows. I mean, most of the time, if I press ESC, it just makes the current panel full screen, or it aborts what I'm doing. However, in the console I have to press ESC three times. How can I make ESC react at the first press?

I also use F2 to set bookmarks, and F2 alone continues to work, but Ctrl+F2 does not. There are many other key combinations that don't work properly.

The remote server is Ubuntu 11.04, and I'm root, I can configure anything I want, including terminal types. But I just don't know enough. I've googled about it, but all instructions I found are
so dreadfully complicated. I keep thinking, surely this is a normal scenario: SSH to Ubuntu, run emacs on that console. Is there a web site with simple instructions on how to fix those
keyboard issues? Or can anybody give me easy-to-follow tips here?

Please copy me on the answers, as I'm not subscribed to this list.

Many thanks in advance,
  R. Diez




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-22  7:55 emacs on a text console - please help me overcome the shock rdiezmail-emacs
@ 2011-08-22 17:16 ` fork
  2011-08-22 17:28 ` Eli Zaretskii
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 16+ messages in thread
From: fork @ 2011-08-22 17:16 UTC (permalink / raw)
  To: help-gnu-emacs

 <rdiezmail-emacs <at> yahoo.de> writes:

> so I have to switch to console mode with "emacs -nw".

Print this out and put it next to your monitor before you login to wherever:

http://www.cs.colostate.edu/helpdocs/emacs.html

Learn how to use emacs as it was designed, rather than try to make it into
something visual.  You will probably come to like it.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-22  7:55 emacs on a text console - please help me overcome the shock rdiezmail-emacs
  2011-08-22 17:16 ` fork
@ 2011-08-22 17:28 ` Eli Zaretskii
  2011-08-22 20:17   ` Drew Adams
  2011-08-22 17:56 ` suvayu ali
  2011-08-25 14:55 ` Ehud Karni
  3 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2011-08-22 17:28 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Mon, 22 Aug 2011 08:55:34 +0100 (BST)
> From: rdiezmail-emacs@yahoo.de
> 
> The console mode has been a shock.

It gets better as you get accustomed to it ;-)

> There is no mouse at all. I cannot navigate the menus as usual, menu-bar-open is weird and unfriendly.

Yes, menus don't work on a TTY, except via text emulation through the
minibuffer.  Emacs supports a GPM build, which will then let you use
the mouse on a TTY, but I don't think this works via SSH, only on a
real console.

> I don't want to use the ESC key as a prefix for anything, and that is normally fine under X Windows. I mean, most of the time, if I press ESC, it just makes the current panel full screen, or it aborts what I'm doing. However, in the console I have to press ESC three times. How can I make ESC react at the first press?

Configure your telnet client, whatever it is, to produce ESC when you
press the Alt key, and Bob's your uncle.

> I also use F2 to set bookmarks, and F2 alone continues to work, but Ctrl+F2 does not. There are many other key combinations that don't work properly.

It depends on the type of the TTY your telnet client emulates.  What
does the TERM variable say on the remote machine when you login?

Find the most sophisticated TTY type that your telnet client supports,
and set TERM to that TTY type.  See the files in lisp/term directory
for the various TTYs supported by Emacs.  In general, if your telnet
client supports xterm, try that first.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-22  7:55 emacs on a text console - please help me overcome the shock rdiezmail-emacs
  2011-08-22 17:16 ` fork
  2011-08-22 17:28 ` Eli Zaretskii
@ 2011-08-22 17:56 ` suvayu ali
  2011-08-25 14:55 ` Ehud Karni
  3 siblings, 0 replies; 16+ messages in thread
From: suvayu ali @ 2011-08-22 17:56 UTC (permalink / raw)
  To: rdiezmail-emacs; +Cc: help-gnu-emacs

On Mon, Aug 22, 2011 at 9:55 AM,  <rdiezmail-emacs@yahoo.de> wrote:
>
> The console mode has been a shock. There is no mouse at all. I cannot
> navigate the menus as usual, menu-bar-open is weird and unfriendly.
> But, worst of all, some key combinations do not work well.
>

You can try `xterm-mouse-mode'

> I don't want to use the ESC key as a prefix for anything, and that is
> normally fine under X Windows. I mean, most of the time, if I press
> ESC, it just makes the current panel full screen, or it aborts what
> I'm doing. However, in the console I have to press ESC three times.
> How can I make ESC react at the first press?
>

I believe you can use C-g to quit even on the console.

If none of these suit you, there is always tramp. It will let you edit
the remote files form your local GUI instance of emacs. URLs like the
one below should work:

/ssh::remoteuser@remotehost:/path/to/file

To edit files as root, you can use tramp twice, once to login to the
remote machine as a regular user then login as root from the remote
machine. Check out the tramp info manual for details.

>
> Many thanks in advance,
>  R. Diez

GL

-- 
Suvayu

Open source is the future. It sets us free.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* emacs on a text console - please help me overcome the shock
@ 2011-08-22 19:44 peter hodgson
  0 siblings, 0 replies; 16+ messages in thread
From: peter hodgson @ 2011-08-22 19:44 UTC (permalink / raw)
  To: rdiezmail-emacs; +Cc: help-gnu-emacs


here's part of a "mouseless" (and arrow-key-less) .emacs file whose
keymap is based on old wordstar;

instead of using mnemonic keystrokes, i start with wordstar's
geometric map;

my meta-key is Alt (on ergonomic keyboards, the left-hand space bar
can be rigged as a no-hand-displacement Alt meta-key); This frees
Ctrl for less frequent mappings, and ignores Escape altogether;
 --------------------------------

 (defun datestamp ()
  "Insert a datestamp at point." 
  (interactive "*")
  (shell-command "date +%Y%m%d | tr -d '\n'") 
  (insert-buffer "*Shell Command Output*")
  (kill-buffer "*Shell Command Output*")
  (forward-word 1))
(global-set-key "\eq" 'datestamp)

;; Changes all yes/no questions to y/n type
(fset 'yes-or-no-p 'y-or-n-p)

;; show line numbers
(autoload 'linum-mode "linum" "toggle line numbers on/off" t) 
(global-set-key (kbd "C-<f5>") 'linum-mode)

(add-hook 'python-mode-hook
  (lambda() (linum-mode 1)))

(add-hook 'python-mode-hook 
      '(lambda() 
        (setq tab-width 4)))

;; ispell must be installed 
(add-hook 'text-mode-hook 'flyspell-mode)

(global-set-key [f1] 'append-to-file)
(global-set-key [f2] 'list-buffers)
(global-set-key [f3] 'other-window)
(global-set-key [f4] 'delete-other-windows)
(global-set-key [f5] 'dired)
(global-set-key [f6] 'save-buffers-kill-emacs)

(global-set-key "\e4" 'insert-file)
(global-set-key "\e7" 'find-file)
(global-set-key "\e5" 'split-window-horizontally)
(global-set-key "\C-n" 'rename-buffer)

(global-set-key "\ed" 'forward-char)
(global-set-key "\ek" 'backward-char)
(global-set-key "\ef" 'forward-word)
(global-set-key "\ej" 'backward-word)
(global-set-key "\ei" 'previous-line)
(global-set-key "\en" 'next-line)
(global-set-key "\C-f" 'recenter)

(global-set-key "\ep" 'set-mark-command)
(global-set-key "\e0" 'exchange-point-and-mark)
(global-set-key "\e/" 'mark-whole-buffer)
(global-set-key "\e=" 'mark-paragraph)

(global-set-key "\C-d" 'kill-region)
(global-set-key "\C-w" 'append-next-kill)
(global-set-key "\C-e" 'kill-ring-save)
(global-set-key "\C-q" 'yank-pop)
(global-set-key "\C-s" 'yank)

(global-set-key "\eh" 'backward-delete-char)
(global-set-key "\eg" 'delete-char)
(global-set-key "\ev" 'kill-word)
(global-set-key "\ey" 'kill-line)

(global-set-key "\eo" 'open-line)
(global-set-key "\em" 'newline) 
(global-set-key "\e;" 'end-of-line)
(global-set-key "\eu" 'beginning-of-line)
(global-set-key "\e," 'end-of-buffer)
(global-set-key "\e." 'beginning-of-buffer)
(global-set-key "\ea" 'scroll-up)
(global-set-key "\ew" 'scroll-down)

(global-set-key "\ee" 'isearch-forward)
(global-set-key "\er" 'isearch-repeat-forward)
(global-set-key "\e'" 'isearch-exit)
(global-set-key "\e3" 'isearch-backward)
(global-set-key "\e2" 'isearch-repeat-backward)
(eval-after-load "isearch"
 '(define-key isearch-mode-map "\er" 'isearch-repeat-forward))
(global-set-key "\e6" 'query-replace)

(global-set-key "\et" 'bookmark-set)
(global-set-key "\e8" 'bookmark-jump)

(global-set-key "\eb" 'upcase-word)
(global-set-key "\ez" 'downcase-word)
(global-set-key "\ec" 'capitalize-word)

(global-set-key "\e1" 'undo)

(global-set-key "\e%" 'vc-toggle-read-only)  ;;"virtual console in buffer;

(global-set-key "\e-" 'vc-register)
(global-set-key "\e=" 'vc-next-action)
(global-set-key "\e\\" 'vc-print-log) 

(global-set-key "\C-o" 'start-kbd-macro)
(global-set-key "\C-p" 'end-kbd-macro)

(setq default-major-mode 'paragraph-indent-text-mode)
(add-hook 'mail-setup-hook 'paragraph-indent-minor-mode)
(add-hook 'html-mode-hook 'paragraph-indent-text-mode)
(global-set-key "\el" 'fill-paragraph)

(setq suggest-key-bindings t)
(setq make-backup-files t)
(setq backup-by-copying-when-linked t)

(setq version-control t) ; Make Numbered Backups of Files
(setq kept-new-versions 50) ; 3 = last three numbered backups are never deleted. 
(setq kept-old-versions 50) ; 3 = first three numbered backups are never deleted. 
(setq dired-kept-versions 100) 

(setq auto-save-interval 512) ; autosave every 512 keyboard inputs
(setq auto-save-timeout 30) ; autosave after 30 s idle

(setq Info-enable-edit t)

(menu-bar-mode nil)
;; This turns off the GUI menus in X.  You can toggle this at any point with


(set-coding-priority '(coding-category-utf-8))
(set-language-environment "UTF-8")
(setq locale-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)

(transient-mark-mode t)

 -------------------snip----------------------                 

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )

--
imputerate@puteracy.com



^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: emacs on a text console - please help me overcome the shock
  2011-08-22 17:28 ` Eli Zaretskii
@ 2011-08-22 20:17   ` Drew Adams
  2011-08-23  0:19     ` Daniel Schoepe
  0 siblings, 1 reply; 16+ messages in thread
From: Drew Adams @ 2011-08-22 20:17 UTC (permalink / raw)
  To: help-gnu-emacs

> > I cannot navigate the menus as usual, menu-bar-open is weird and unfriendly.
> 
> Yes, menus don't work on a TTY, except via text emulation through the
> minibuffer.

`f10' gives you keyboard access to the menu-bar menus, as Eli suggested.

If you use LaCarte, you will get different and better access (IMHO).
If you also use Icicles, access will improve even more (IMHO).

http://www.emacswiki.org/emacs/LaCarte
http://www.emacswiki.org/emacs/Icicles




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
       [not found] <mailman.1742.1314031478.939.help-gnu-emacs@gnu.org>
@ 2011-08-23  0:08 ` jidanni
  2011-09-09  3:46   ` Ben Pfaff
  2011-08-23  0:35 ` jidanni
  1 sibling, 1 reply; 16+ messages in thread
From: jidanni @ 2011-08-23  0:08 UTC (permalink / raw)
  To: rdiezmail-emacs, 633652, debian-emacsen; +Cc: help-gnu-emacs

>>>>> "r" == rdiezmail-emacs  <rdiezmail-emacs@yahoo.de> writes:
r> Hi all:

r> I'm a "normal" GUI computer user, I've used things like Delphi,
r> Eclipse, gedit, Notepad++ and Visual Studio all my life. I've also
r> been using emacs for some time under Ubuntu and under Windows. It
r> took me a while to set it up with "standard" behaviour, like
r> shift+arrows for text selection and so on, I found the cua mode to be
r> helpful. Every now and then, I even click on the menus with the
r> mouse. However, I've written some simple, copy-paste lisp too, so I'm
r> not just a standard mouse user. In fact, my .emacs file has grown
r> much more than I ever thought it would. 8-)


r> Now I have to work on a remote server via SSH, and the connection is
r> not fast enough to tunnel X Windows over it, so I have to switch to
r> console mode with "emacs -nw".

r> The console mode has been a shock. There is no mouse at all. I cannot
r> navigate the menus as usual, menu-bar-open is weird and unfriendly.
r> But, worst of all, some key combinations do not work well.

Same for me, but that's life here on Debian, even on ones very own
laptop, no SSH involved, and even if you are root,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633652



^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: emacs on a text console - please help me overcome the shock
  2011-08-22 20:17   ` Drew Adams
@ 2011-08-23  0:19     ` Daniel Schoepe
  0 siblings, 0 replies; 16+ messages in thread
From: Daniel Schoepe @ 2011-08-23  0:19 UTC (permalink / raw)
  To: Drew Adams, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

On Mon, 22 Aug 2011 13:17:06 -0700, "Drew Adams" <drew.adams@oracle.com> wrote:
> If you use LaCarte, you will get different and better access (IMHO).
> If you also use Icicles, access will improve even more (IMHO).
> 
> http://www.emacswiki.org/emacs/LaCarte
> http://www.emacswiki.org/emacs/Icicles

Anything is also a very handy for LaCarte (among many other things):

http://www.emacswiki.org/emacs/Anything
http://www.emacswiki.org/emacs/AnythingSources#toc38

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
       [not found] <mailman.1742.1314031478.939.help-gnu-emacs@gnu.org>
  2011-08-23  0:08 ` jidanni
@ 2011-08-23  0:35 ` jidanni
  2011-08-23  8:00   ` Toby Speight
  1 sibling, 1 reply; 16+ messages in thread
From: jidanni @ 2011-08-23  0:35 UTC (permalink / raw)
  To: debian-devel, 633652, debian-emacsen; +Cc: help-gnu-emacs

>>>>> "r" == rdiezmail-emacs  <rdiezmail-emacs@yahoo.de> writes:
r> The console mode has been a shock. There is no mouse at all. I cannot
r> navigate the menus as usual, menu-bar-open is weird and unfriendly.
r> But, worst of all, some key combinations do not work well.
But that's the way it must be here on Debian, if you are root.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633652
My question is how do all those high powered Debian Developers cope?
Don't tell me they don't use emacs.
Or not as root.
Not even
when
administering their system?



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-23  0:52 Bug#633652: " Kenyon Ralph
@ 2011-08-23  1:14 ` jidanni
  2011-08-23  8:17   ` Bug#633652: " Bastien ROUCARIES
  0 siblings, 1 reply; 16+ messages in thread
From: jidanni @ 2011-08-23  1:14 UTC (permalink / raw)
  To: debian-devel; +Cc: help-gnu-emacs, debian-emacsen, 633652

>>>>> "KR" == Kenyon Ralph <kenyon@kenyonralph.com> writes:
KR> I use emacs under X to administer my Debian systems. I don't run it as
KR> root though. I use emacs TRAMP to use sudo to edit files as root on
KR> the local machine. On remote machines I do the same but in an ssh
KR> session in xterm (I don't use mouse or menu bars in emacs in X
KR> anyway).
I'm a safe sex fan myself, however there are limits to how much I am
willing to sacrifice that raw feel.

KR> Looking at bug 633652, have you tried running X programs as root with
KR> sux or gksu instead of su? http://packages.debian.org/squeeze/sux
KR> http://packages.debian.org/squeeze/gksu

Mmmm, sounds kinky, but at my age I don't think we can teach this old
dog new tricks. But I suppose that's what the younger generation will
use and just mark this bug wontfix. Alas, no family values.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-23  0:35 ` jidanni
@ 2011-08-23  8:00   ` Toby Speight
  2011-08-23 17:43     ` PJ Weisberg
  0 siblings, 1 reply; 16+ messages in thread
From: Toby Speight @ 2011-08-23  8:00 UTC (permalink / raw)
  To: jidanni; +Cc: debian-devel, 633652, debian-emacsen, help-gnu-emacs

>>>>> "r" == rdiezmail-emacs  <rdiezmail-emacs@yahoo.de> writes:
r> The console mode has been a shock.  There is no mouse at all.  I
r> cannot navigate the menus as usual, menu-bar-open is weird and
r> unfriendly.  But, worst of all, some key combinations do not work
r> well.


0> In article <87ty99otg1.fsf@jidanni.org>,
0> jidanni <URL:mailto:jidanni@jidanni.org> ("Jidanni") wrote:

Jidanni> My question is how do all those high powered Debian Developers
Jidanni> cope?  Don't tell me they don't use emacs.  Or not as root.
Jidanni> Not even when administering their system?


I certainly avoid running programs as large and extensible as emacs when
I'm root!  And, generally, all X11 programs fall into that category.

As previously mentioned, Tramp is the ultimate saviour for editing files
as many users on many systems.

If you feel you must run as root, and you want to use a mouse with emacs
in XTerm, then xterm-mouse-mode may help:

/--------
| xterm-mouse-mode is an interactive autoloaded Lisp function in `xt-mouse'.
| (xterm-mouse-mode &optional arg)
| 
| Toggle XTerm mouse mode.
| With prefix arg, turn XTerm mouse mode on if arg is positive, otherwise
| turn it off.
| 
| Turn it on to use Emacs mouse commands, and off to use xterm mouse
| commands.  This works in terminal emulators compatible with xterm.  It
| only works for simple uses of the mouse.  Basically, only non-modified
| single clicks are supported.  When turned on, the normal xterm mouse
| functionality for such clicks is still available by holding down the
| SHIFT key while pressing the mouse button.
\--------



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-23  8:17   ` Bug#633652: " Bastien ROUCARIES
@ 2011-08-23  9:31     ` Cyril Brulebois
  2011-08-23 17:24     ` jidanni
  1 sibling, 0 replies; 16+ messages in thread
From: Cyril Brulebois @ 2011-08-23  9:31 UTC (permalink / raw)
  To: Bastien ROUCARIES
  Cc: jidanni, debian-devel, 633652, debian-emacsen, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

Bastien ROUCARIES <roucaries.bastien@gmail.com> (23/08/2011):
> And for middle ages dog (not oldtimer) they are the ssh -X root@localhost trick

or: sudo XAUTHORITY=~/.Xauthority wireshark

Mraw,
KiBi.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-23  8:17   ` Bug#633652: " Bastien ROUCARIES
  2011-08-23  9:31     ` Cyril Brulebois
@ 2011-08-23 17:24     ` jidanni
  1 sibling, 0 replies; 16+ messages in thread
From: jidanni @ 2011-08-23 17:24 UTC (permalink / raw)
  To: kenyon, roucaries.bastien
  Cc: debian-emacsen, debian-devel, help-gnu-emacs, 633652

I am now officially pleased with sux, enabling me to use X programs as
root despite http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633652 .
Thanks everybody. Have a song,
http://www.youtube.com/watch?v=gLtzQXTHiqk&list=PL38C412C876528CCB



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-23  8:00   ` Toby Speight
@ 2011-08-23 17:43     ` PJ Weisberg
  0 siblings, 0 replies; 16+ messages in thread
From: PJ Weisberg @ 2011-08-23 17:43 UTC (permalink / raw)
  To: Toby Speight
  Cc: help-gnu-emacs@gnu.org, debian-devel@lists.debian.org,
	debian-emacsen@lists.debian.org

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

On Tuesday, August 23, 2011, Toby Speight <T.M.Speight.90@cantab.net> wrote:

> If you feel you must run as root, and you want to use a mouse with emacs
> in XTerm, then xterm-mouse-mode may help:

If you feel you must run Emacs as root, you probably want "sudoedit"
instead.

-- 

-PJ

[-- Attachment #2: Type: text/html, Size: 389 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-22  7:55 emacs on a text console - please help me overcome the shock rdiezmail-emacs
                   ` (2 preceding siblings ...)
  2011-08-22 17:56 ` suvayu ali
@ 2011-08-25 14:55 ` Ehud Karni
  3 siblings, 0 replies; 16+ messages in thread
From: Ehud Karni @ 2011-08-25 14:55 UTC (permalink / raw)
  To: rdiezmail-emacs; +Cc: help-gnu-emacs

On Mon, 22 Aug 2011 08:55:34 +0100 (BST), rdiezmail-emacs@yahoo.de wrote:
>
> I'm a "normal" GUI computer user, [snip]
>
> Now I have to work on a remote server via SSH, and the connection is not fast enough to tunnel X Windows over it, so I have to switch to console mode with "emacs -nw".
>
> The console mode has been a shock. [snip]

One option not mentioned it the many answers is the use of remote
GUI desktop (VNC, NX, XRDP etc).
See http://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software

All these packages let you create virtual desktop on the remote
machine and connect to it (mostly through SSH) from the local machine.
They get much quicker rendering than X forwarding.
There are other advantages: the client can work on another OS, you can
disconnect from the remote desktop and reconnect from another machine
(like screen for text terminals).

I work with VNC+SSH over the Internet and quiet happy with it.

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: emacs on a text console - please help me overcome the shock
  2011-08-23  0:08 ` jidanni
@ 2011-09-09  3:46   ` Ben Pfaff
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Pfaff @ 2011-09-09  3:46 UTC (permalink / raw)
  To: jidanni; +Cc: rdiezmail-emacs, 633652, debian-emacsen, help-gnu-emacs

jidanni@jidanni.org writes:

>>>>>> "r" == rdiezmail-emacs  <rdiezmail-emacs@yahoo.de> writes:
> r> Now I have to work on a remote server via SSH, and the connection is
> r> not fast enough to tunnel X Windows over it, so I have to switch to
> r> console mode with "emacs -nw".
>
> r> The console mode has been a shock. There is no mouse at all. I cannot
> r> navigate the menus as usual, menu-bar-open is weird and unfriendly.
> r> But, worst of all, some key combinations do not work well.
>
> Same for me, but that's life here on Debian, even on ones very own
> laptop, no SSH involved, and even if you are root,
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633652

The mouse should work in Emacs over SSH from an xterm.  Try
(xterm-mouse-mode 1).  It works for me.

There's also a mode to make the mouse work from a Linux console,
if gpm is running.  I haven't used it in a long time.  Look
around for t-mouse.el.
-- 
Ben Pfaff 
http://benpfaff.org



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-09-09  3:46 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-22  7:55 emacs on a text console - please help me overcome the shock rdiezmail-emacs
2011-08-22 17:16 ` fork
2011-08-22 17:28 ` Eli Zaretskii
2011-08-22 20:17   ` Drew Adams
2011-08-23  0:19     ` Daniel Schoepe
2011-08-22 17:56 ` suvayu ali
2011-08-25 14:55 ` Ehud Karni
  -- strict thread matches above, loose matches on Subject: below --
2011-08-22 19:44 peter hodgson
     [not found] <mailman.1742.1314031478.939.help-gnu-emacs@gnu.org>
2011-08-23  0:08 ` jidanni
2011-09-09  3:46   ` Ben Pfaff
2011-08-23  0:35 ` jidanni
2011-08-23  8:00   ` Toby Speight
2011-08-23 17:43     ` PJ Weisberg
2011-08-23  0:52 Bug#633652: " Kenyon Ralph
2011-08-23  1:14 ` jidanni
2011-08-23  8:17   ` Bug#633652: " Bastien ROUCARIES
2011-08-23  9:31     ` Cyril Brulebois
2011-08-23 17:24     ` jidanni

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.