Operating Systems > Linux and UNIX

emacs

(1/4) > >>

choasforages:
im thinking about going off and draging emacs off of the gnu site and compiling it myself. i am wondering if there any "adversities" that i should know about

Calum:
it will steeeeeal your souuuuuuul!!!! mwah-hah-hah-hah-haaaaaa!!!!!

(that's a joke, it won't really!  :rolleyes:  )

choasforages:
hahahahaa it already has, no longer to i have to put up with the differences between FreeBSD's vim ,redhat' vim, and debians vim/*debians vim pisses me off*/. it all works about the same

Calum:
can anybody tell me if i can run emacs *within* an xterm?

when i use my computer without X running (so it's a normal tty command line), i can run emacs as usual, ie. it fills the whole screen et c, and does what i want however when i do run X, i use, as my terminal, rxvt. i run it with the following parameters: "rxvt -sr -geometry 110x45", which is just the size and so on that i like. The trouble is that when i type "emacs" at the prompt, it spawns a new X window containing X/Emacs. This is not what i want. what i want is for the actual terminal window to contain the emacs just as if there was no X server running at all. I looked through the emacs manual but to no avail. it just told me emacs would autodetect whether i had X running and behave accordingly. As a temporary workaround i can issue "emacs-21.1 -r -i geometry 109x42" which approximates (taking window boarder and so on into account) the same parameters that rxvt has, making them look similar. It's not ideal though, so does anybody know how to do this?

thanks.

voidmain:
Well, "emacs --help" tells me I should be able to use the "-nw" switch to ignore the DISPLAY variable and not start the X version. However, this does not appear to work on my machine. What *does* work is to open a new rxvt/xterm/kterm/etc that you want to run emacs in and type "unset DISPLAY", then type "emacs" and it will start the terminal version within that xterm. Hope this helps..

Navigation

[0] Message Index

[#] Next page

Go to full version