Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IPS - ligher-weight emacs?

35 views
Skip to first unread message

Philip Brown

unread,
May 22, 2012, 11:12:44 AM5/22/12
to
Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
I just want text-mode emacs.

Rainer Orth

unread,
May 22, 2012, 11:22:03 AM5/22/12
to
Philip Brown <ph...@bolthole.com> writes:

> Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
> I just want text-mode emacs.

What's wrong with the choice between emacs-gtk, emacs-nox and emacs-x,
with the corresponding packages editor/gnu-emacs/gnu-emacs-{gtk, no-x11,
x11}?

Rainer

--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Philip Brown

unread,
May 22, 2012, 12:56:34 PM5/22/12
to
On Tuesday, May 22, 2012 8:22:03 AM UTC-7, Rainer Orth wrote:
> Philip Brown
> writes:
>
> > Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
> > I just want text-mode emacs.
>
> What's wrong with the choice between emacs-gtk, emacs-nox and emacs-x,
> with the corresponding packages editor/gnu-emacs/gnu-emacs-{gtk, no-x11,
> x11}?
>


That sounds very promising. I just didnt see it when I did a pkg search, for some reason.

Probably because "pkg search emacs" gives too many results, and
pkg search basename:emacs
only shows up
pkg:/editor/gnu-...@23.1-0.175.0.0.0.2.537
as something that looks useful

But now that I go back and recheck a different way, with,

pkg list -a '*emacs*'

does indeed show
editor/gnu-emacs/gnu-emacs-no-x11

Thanks a bunch!

Side note to the IPS guys who may or may probably be not be reading this:


pkg search basename:emacs yields
pkg:/editor/gnu-emacs -> usr/bin/emacs

It should really belong to something named similar to
"editor/gnu-emacs/common"

or something like that.
It's confusing to have separate "nested" packages,
pkg:/editor/gnu-emacs which seems to delivers binaries, AND
pkg:/editor/gnu-emacs/gnu-emacs-no-x11, which also delivers binaries.
They should be at the same level

Philip Brown

unread,
May 22, 2012, 1:51:12 PM5/22/12
to
followup question:

Now that I have the knowledge of this "no-x11" version of gnu-emacs... anyone know how can I get rid of the 60+ packages that got pulled in for the x version?
Sadly, removing the culprit that triggered their installation, does not seem to have triggered their UNinstallation :(

Basically, I'd like a way to cleanly and efficiently remove all the X related packages.

sadly, neither
pkg uninstall consolidation/desktop/desktop-incorporation
nor
pkg uninstall consolidation/desktop/gnome-incorporation

works. I think those things are "install only" type objects :(


Side comment:
pkg uninstall desktop-incorporation
[cannot remove due to following pkgs that depend on it]

pkg://solaris/library/ncurses@5.7,5.11-0.175.0.0.0.0.0:20110927T105727Z


WTH??? !?? What moron decided to make ncurses, depend on "desktop-incorporation" ?
or "groff-core", for that matter?
How do those things break, if a "desktop", aka GUI, is not present???


Casper H.S. Dik

unread,
May 22, 2012, 2:07:13 PM5/22/12
to
Philip Brown <ph...@bolthole.com> writes:

>followup question:

>Now that I have the knowledge of this "no-x11" version of gnu-emacs... anyone know how can I get rid of the 60+ packages that got pulled in for the x version?
>Sadly, removing the culprit that triggered their installation, does not seem to have triggered their UNinstallation :(

>Basically, I'd like a way to cleanly and efficiently remove all the X related packages.

Use pkg history with the proper option; this will give you all the newly installed
packages. Then you should be able to remove them.

But really you should have made a new be or a backupbe and revert to that :-)

Casper

Philip Brown

unread,
May 22, 2012, 3:57:04 PM5/22/12
to
On Tuesday, May 22, 2012 11:07:13 AM UTC-7, Casper H. S. Dik wrote:
> Philip Brown
> writes:
>
> >Basically, I'd like a way to cleanly and efficiently remove all the X related packages. [that were pulled in by installing emacs]
>
> Use pkg history with the proper option; this will give you all the newly installed
> packages. Then you should be able to remove them.


Ooo, interesting. I had forgotten about "pkg history". but even if I remmebered, I did not realize it kept an operations history, not just a "what you typed" history. Nice! Thanks, Casper

And for the benefit of other folks, the option is "-l"
ALthough it is advisable to use "pkg history" first, to pick a timestamp, an then use
pkg history -l -t timestamp
to avoid getting flooded TOO bady.

Cydrome Leader

unread,
May 23, 2012, 10:25:10 PM5/23/12
to
Philip Brown <ph...@bolthole.com> wrote:
> Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
> I just want text-mode emacs.

jed?

Fritz Wuehler

unread,
May 24, 2012, 2:53:19 PM5/24/12
to
Well there is Micro Emacs and it's nice but I found myself wanting regular
dude-gag-me-with-a-spoon gnu Emacs after a day or so using Micro Emacs so I
built gnu Emacs from source. You can disable gtk and build it for console
fairly easily.

Cydrome Leader

unread,
May 24, 2012, 10:42:43 PM5/24/12
to
for whatever reason, I still use jed to log phone calls. anything else is
vi these days.


Philip Brown

unread,
May 29, 2012, 3:02:10 PM5/29/12
to
On Thursday, May 24, 2012 11:53:19 AM UTC-7, Fritz Wuehler wrote:
> Cydrome Leader
> wrote:
>
> > Philip Brown
> wrote:
> > > I just want text-mode emacs.
> >
> > jed?
>
> Well there is Micro Emacs and it's nice but I found myself wanting regular
> dude-gag-me-with-a-spoon gnu Emacs after a day or so using Micro Emacs so I
> built gnu Emacs from source. You can disable gtk and build it for console
> fairly easily.

I would very much like an Oracle-packaged jed, or micro-emacs, or jove.
Something, simple, static, and basic, that's never going to need updating, but is more pleasant to use than vi or vim.

The "pkg install gnu-emacs-no-x11" choice is certainly better than full emacs.
Only a comparatively small number of packages get pulled in.
Really, it should be 1 fewer: It's creepy that it uses libdbus.

Oddly, "pkg install -nv" claims it pulls in 130MB of files.

pkg install -nv gnu-emacs-no-x11|less
Packages to install: 3
Estimated space available: 420.49 GB
Estimated space to be consumed: 160.40 MB

Although at "real" pkg install time,it claims only 25MGB.
Even so, it's still 25 megs, just for trivial text editor use.
I really dont need 5 megabytes of local input extentions, and 20 megabytes of elisp, including a mail reader, a news reader, and other-editor-emulator modules, amoung other things.

I mean, the thing takes up 20 megabytes just to do "emacs /etc/hosts".
And that's WITHOUT X11 support!! :-/
Arg.

(side comment: Fritz, I dont see why you'd bother compiling it from source?)

Cydrome Leader

unread,
May 31, 2012, 1:55:10 AM5/31/12
to
Philip Brown <ph...@bolthole.com> wrote:
> On Thursday, May 24, 2012 11:53:19 AM UTC-7, Fritz Wuehler wrote:
>> Cydrome Leader
>> wrote:
>>
>> > Philip Brown
>> wrote:
>> > > I just want text-mode emacs.
>> >
>> > jed?
>>
>> Well there is Micro Emacs and it's nice but I found myself wanting regular
>> dude-gag-me-with-a-spoon gnu Emacs after a day or so using Micro Emacs so I
>> built gnu Emacs from source. You can disable gtk and build it for console
>> fairly easily.
>
> I would very much like an Oracle-packaged jed, or micro-emacs, or jove.
> Something, simple, static, and basic, that's never going to need updating, but is more pleasant to use than vi or vim.

That would only cost $12500 per year per CPU from oracle, plus you'd have
to download it from some 15% uptime flash based website that seems to be
running on a 16MHz 386SX and requires you to re-login every 7 page loads.
At least 50% of all pages are just error pages that lists junk software
that just gets renamed and reversioned every 4 months, since the page you
really want was deleted.

Oracle wins for slowest, shittiest most hackjob website.

I'd rather click "no i don't need this crap" over and over again on
thegodaddy website than try to search for stuff look at cases on the
oracle site. At least on the godaddy site, after a couple minutes you have
a new or renewed domain name. You get nothing on the oracle site other
than dizzy from frames and tables sliding around on the screen to distract
you from the fact that you're not going to find what you're looking for.

Remember OSCAR, that 1998 looking website where you could actually open,
view and update cases in about 30 seconds?

Let's go ahead and shut that site off and instead obsess over demanding
CSIs for every solder joint in your server.














Nomen Nescio

unread,
May 31, 2012, 6:26:55 AM5/31/12
to
Cydrome Leader <pres...@MUNGEpanix.com> wrote:

> Philip Brown <ph...@bolthole.com> wrote:
> > On Thursday, May 24, 2012 11:53:19 AM UTC-7, Fritz Wuehler wrote:
> >> Cydrome Leader
> >> wrote:
> >>
> >> > Philip Brown
> >> wrote:
> >> > > I just want text-mode emacs.
> >> >
> >> > jed?
> >>
> >> Well there is Micro Emacs and it's nice but I found myself wanting regular
> >> dude-gag-me-with-a-spoon gnu Emacs after a day or so using Micro Emacs so I
> >> built gnu Emacs from source. You can disable gtk and build it for console
> >> fairly easily.
> >
> > I would very much like an Oracle-packaged jed, or micro-emacs, or jove.
> > Something, simple, static, and basic, that's never going to need updating, but is more pleasant to use than vi or vim.
>
> That would only cost $12500 per year per CPU from oracle, plus you'd have
> to download it from some 15% uptime flash based website that seems to be
> running on a 16MHz 386SX and requires you to re-login every 7 page loads.
> At least 50% of all pages are just error pages that lists junk software
> that just gets renamed and reversioned every 4 months, since the page you
> really want was deleted.

That is correct. You forgot to mention the package will "phone home" to
Oracle to check your license twice a minute.

However, I will package even a full Emacs for this guy for $10,999 plus
shipping and handling, and provide free 24 hour telephone support for the
first 30 seconds after installation. Can you say that is a bad deal? Jed,
Micro Emacs, and Jove, also available for a small additional free. Note: not
offers may be available in your area. Click this button [] to have a
salesman contact you within 24 working months and please have your Whoracle
contract number ready along with your SSN, passport number, mother's
bloodtype and the names of the last 5 men she slept with available. Please
do not hang up, you are next to be assisted. Thank you.

> Oracle wins for slowest, shittiest most hackjob website.

Correct, again!

> Let's go ahead and shut that site off and instead obsess over demanding
> CSIs for every solder joint in your server.

L O L!



>
>
>
>
>
>
>
>
>
>
>
>
>
>


















Philip Brown

unread,
May 31, 2012, 12:14:41 PM5/31/12
to
On Wednesday, May 30, 2012 10:55:10 PM UTC-7, Cydrome Leader wrote:
> Philip Brown
> >
> > I would very much like an Oracle-packaged jed, or micro-emacs, or jove.
> > Something, simple, static, and basic, that's never going to need updating, but is more pleasant to use than vi or vim.
>
> That would only cost $12500 per year per CPU from oracle,


your satire is weak, considering they already give you regular emacs without that.

> Remember OSCAR, that 1998 looking website where you could actually open,
> view and update cases in about 30 seconds?

Oracle has finally fixed .. or at least vastly improved.. their standing in that area.

Approximately 60 seconds, from "not logged in at all", to

- go to http://supporthtml.oracle.com
- log in
- click on Service Request tab
- click on an existing open case to see details

It's still slower than it should be, in my opinion. but no flash if you go in that way.

John D Groenveld

unread,
May 31, 2012, 1:32:42 PM5/31/12
to
In article <ff1f121f-db98-4419...@googlegroups.com>,
Philip Brown <ph...@bolthole.com> wrote:
>Approximately 60 seconds, from "not logged in at all", to
>
>- go to http://supporthtml.oracle.com
>- log in
>- click on Service Request tab
>- click on an existing open case to see details

Let us know if you a RFE/CR for jed, jove or non-libdbus emacs.

Thanks,
John
groe...@acm.org

Cydrome Leader

unread,
May 31, 2012, 5:58:33 PM5/31/12
to
Philip Brown <ph...@bolthole.com> wrote:
> On Wednesday, May 30, 2012 10:55:10 PM UTC-7, Cydrome Leader wrote:
>> Philip Brown
>> >
>> > I would very much like an Oracle-packaged jed, or micro-emacs, or jove.
>> > Something, simple, static, and basic, that's never going to need updating, but is more pleasant to use than vi or vim.
>>
>> That would only cost $12500 per year per CPU from oracle,
>
>
> your satire is weak, considering they already give you regular emacs without that.
>
>> Remember OSCAR, that 1998 looking website where you could actually open,
>> view and update cases in about 30 seconds?
>
> Oracle has finally fixed .. or at least vastly improved.. their standing in that area.

It's only faster as everybody left them already.

> Approximately 60 seconds, from "not logged in at all", to
>
> - go to http://supporthtml.oracle.com
> - log in
> - click on Service Request tab
> - click on an existing open case to see details
>
> It's still slower than it should be, in my opinion. but no flash if you go in that way.

I've never seen the "validations" ever work for opening something like a
hardware case. That piece of shit always fumbles over something, yet lets
you set windows 2003 as your OS on a M5000.

So to date, I don't recall ever being able to actually OPEN a case with
the oracle site for a hardware issue. I just have to phone it in, read off
a list of a dozen CSIs until something matches and call center person
stops moaning about no support. Then provide updates through the site.
Their internal systems are just as slow and shitty as the customer facing
ones so there's always time to chat with the other person about random
stuff. It's sad as none of the workers there created the situation they're
stuck in.

larry is obviously a mouth breather.


Philip Brown

unread,
May 31, 2012, 8:30:52 PM5/31/12
to
On Thursday, May 31, 2012 10:32:42 AM UTC-7, John D Groenveld wrote:
>
> Let us know if you a RFE/CR for jed, jove or non-libdbus emacs.
>

nope, sorry, not holding my breath about that one :)

John D Groenveld

unread,
Jun 1, 2012, 8:26:29 AM6/1/12
to
In article <8aa15884-d9b5-472f...@googlegroups.com>,
Philip Brown <ph...@bolthole.com> wrote:
>nope, sorry, not holding my breath about that one :)

Not important enough to me either to bother opening an SR
about it.

John
groe...@acm.org
0 new messages