Author Topic: emacs  (Read 947 times)

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
emacs
« on: 20 June 2002, 13:42 »
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
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
emacs
« Reply #1 on: 20 June 2002, 13:53 »
it will steeeeeal your souuuuuuul!!!! mwah-hah-hah-hah-haaaaaa!!!!!

(that's a joke, it won't really!  :rolleyes:  )
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
emacs
« Reply #2 on: 20 June 2002, 15:02 »
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
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
emacs
« Reply #3 on: 28 September 2002, 17:18 »
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.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
emacs
« Reply #4 on: 28 September 2002, 20:38 »
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..
Someone please remove this account. Thanks...

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
emacs
« Reply #5 on: 28 September 2002, 23:04 »
it does. thank you very much.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Centurian

  • Member
  • **
  • Posts: 235
  • Kudos: 0
    • http://www.darkmares.2ya.com
emacs
« Reply #6 on: 30 September 2002, 01:08 »
I don't have any trouble at all running emacs. It runs from the terminal, the KDE shell or in KDE. It works fine too fully resizable windows and everything.
Later
Centurian

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
emacs
« Reply #7 on: 30 September 2002, 01:44 »
hey Centurian, is the "Dark Mares" site of your creation??
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Centurian

  • Member
  • **
  • Posts: 235
  • Kudos: 0
    • http://www.darkmares.2ya.com
emacs
« Reply #8 on: 1 October 2002, 21:31 »
quote:
Originally posted by The Master of Reality / Bob:
hey Centurian, is the "Dark Mares" site of your creation??


Yep sure is.
Later
Centurian

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
emacs
« Reply #9 on: 12 October 2002, 22:32 »
quote:
Originally posted by void main:
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..


just to let people know (in case anybody should ever want to do this in the same way), i wanted emacs to start up within an Xterm, and what i did was this:
i put a shortcut button on my kde toolbar at the bottom of the screen, and it is set to execute this: "konsole -e emacs -nw". this works. i found out i have three versions of emacs installed on my machine. all work with X, and two of them have seperate text only interfaces. the one called 'emacs-nox' is the one i prefer. in my example, i have already got the fonts, colours, windows geometry and partial transparency that i want set up using the konsole toolbar menus. Presumably this is saved in some .kde-config type file in my home directory, so i do not need to add these options in the shortcut.

Boring to most i know, but i just thought i share that i finally figured something out in linux!   :D

[ November 18, 2002: Message edited by: Calum: Linux Commando ]

visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
emacs
« Reply #10 on: 18 November 2002, 22:10 »
hello again, all. Just wondering if anybody knows where i can get a totally NOT xwindows version of emacs for my new pentium 75Mhz (BasicLinux Slackware) computer that i haven't got yet. The aim is to get a really small version of emacs that does not have any bloated code for it to run in XWindows. Sorry, that was a bit vague. What i mean is that i want a 'command line' only version of emacs, without all the other gumph hanging on and wasting disk space. any ideas?
I went to the download list but there just seem to be newer 'compatible with X' versions, which isn't actually what i want... i wonder if anybody knows where a slimmer, probably older, version could be obtained. This is of course the perfect opportunity for somebody to tell me that i can get a tiny version of vi or vim, and if that's the case, then bring it on, i am happy to learn it if i have to! can any of these be got somewhere please?

[edited because i was a bit vague]

[ November 18, 2002: Message edited by: Calum: Linux Commando ]

visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
emacs
« Reply #11 on: 18 November 2002, 22:57 »
Hmmm, I don't know if this will be helpful, I know it's not exactly what you are looking for in an answer but I don't know if you will find the answer you really want without going to a really old version of emacs.

If you want a non-X version of emacs because of the physical size in disk space it uses you might look at other editors such as jed, joe (I used to like joe), pico (the editor used for pine), etc.

If you want a non-X version because of the amount of RAM then I think you can use your existing emacs with no problem. If you are at a console, it should detect that there is no X available and not load all of the extra X stuff. In other words you should not have a problem using the existing emacs.

But who knows, maybe there is a trimmed down version with no X code in it, I haven't been able to find it in a quick search.
Someone please remove this account. Thanks...

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
emacs
« Reply #12 on: 19 November 2002, 01:22 »
quote:
Originally posted by Calum: Linux Commando:
i wonder if anybody knows where a slimmer, probably older, version could be obtained.


A slim version of Emacs? Isn't that a *bit* of an oxymoron?
GS/CS d- s-: a--- C++ UL+ P+ L++>+++ E W++ N>+ o K- w-- O- M V? PS+>++ PE- Y+ PGP t+ 5+ X R tv+ b+++ DI+ D+ G++ e>++++ h! r- y
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
We take a measurement, the wavefunction will collapse, and one of the bottles of beer will fall

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
emacs
« Reply #13 on: 19 November 2002, 01:35 »
thanks for the thoughts, void main, i have no problems with using pico instead, but tell me, will vi or vim be able to do the slim install i am after?

thanks. Basically i want to be able to install the editor on a system which [idoes[/i] run X, but with no X stuff in it, so it can only be run at a prompt. thanks again......
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
emacs
« Reply #14 on: 19 November 2002, 01:46 »
Yes, VIM has no X code in it (unless you install vim-X11 or gvim etc). It is my first choice for all ocassions as you know, which is why I didn't list it in my last message. VIM installs in about 10MB. It is very fast on even the most limited of resources.

Pine is about 6.5MB and includes the "pico" editor. "jed" is ~2.5MB, and "joe" is less than 0.5MB.

Actually "jed" might just be exactly what you are looking for. You probably have a copy on your installation CD. It uses the emacs commands (among other command sets), and it has color syntax hilighting. Here is a clip from the man page:

Code: [Select]

[ November 18, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...