🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cu.slug
Article #111

Re: Just about set.

#111
From: Mike McDonald
Date: Thu, 03 Jun 1999 00:00
52 lines
3158 bytes
>To: SLUG@ai.sri.com
>Subject: Just about set.
>From: cbarry@2xtreme.net (Christopher R. Barry)
>Date: 03 Jun 1999 21:12:51 -0700
>
>I used the old IP addresses per mikemac's advice and disabled route(8)
>commands and ran Start X Screen and lo and behold, a centered
>1440x1080 Genera window pops up on this 1600x1200 screen. It's cool to
>see Zmacs and all the other Activities run at a different resolution.
>
>The final thing to do, to play it safe, is to get Start X Screen to
>run when the machine boots. Do any of you know of a way to run Lisp
>code when the machine boots so that powering the console and
>keyboarding in a Login to run your lispm-init isn't necessary? I can
>have net:enable-remote-login always T and some code that prevents
>going into the cold load stream during an x-error loaded by doing an
>Incremental World, but I can't figure out a way to automatically
>evaluate a form or try to start the X screen without first logging in.

  The way I do it is to telnet into my lispm and do the start x
screen. Then when it gets an error, I can do a kill x screen and start
a new one, telling start x screen NOT to reuse any existing ones. (You
don't want to restart one that's hung!)

>Intuitively, I think there _has_ to be a way to do this... every other
>OS out there gives you /etc/init.d/ or autoexec.bat or whatever.

  There's a list of functions that get called upon booting. I can't
remember the name unfortnately. You might do a who-calls on si:herald.
si:herald is the function that prints the initial screen with the
Genera logo and all. Once you find the list, add a function that loads
a file out of you home directory. Save that as the incremental world.
(load a file so you can easily change it!)

>If there isn't a way to do this, it's not the end of the world I
>guess, since the keyboard has been behaving itself lately, but it
>would at the very least save the aging monitor extra wear by allowing
>me to flip the switch on the XL when things crash or drop to the FEP
>and have the window pop back up a minute later.
>
>Christopher

  If you set the machine up to autoboot, there's no reason to leave
the monitor on. Just use telnet to start x. Actually, you can also use
rsh to start x. I have my WM set up so I can ssh thru the firewall at
work to my gateway at home and forward X connections. Then I rsh to
the lispm and start x on the port ssh just set up. That way I can
display my lispm thru two firewalls to my desktop machine at work!

  Mike McDonald
  mikemac@mikemac.com
Technical Details
Message-ID: <928472729.3197@news.Colorado.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <87r9nsvc1o.fsf@2xtreme.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10077e,e4ddee7f88f541df
X-Google-Attributes: gid10077e,public
From: Mike McDonald <mikemac@mikemac.com>
Subject: Re: Just about set.
Date: 1999/06/03
Message-ID: <928472729.3197@news.Colorado.EDU>
X-Deja-AN: 485546731
Distribution: cu
Sender: daemon@peabody.colorado.edu
References: <87r9nsvc1o.fsf@2xtreme.net>
X-Note1: message-id generated by recnews
X-Note2: mail msgid was   <199906040455.VAA31803@mikemac.com>
Organization: University of Colorado at Boulder
Newsgroups: cu.slug
NNTP-Posting-User: daemon