OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: I'm embarassed. (Re: shell not reading login script)

From: Joel Rees (joel_reessannet.ne.jp)
Date: Sat Aug 23 2008 - 07:14:20 CDT


On $BJ?.(B 20/08/22, at 19:21, Philip Guenther wrote:

> 2008/8/21 Joel Rees <joel_reessannet.ne.jp>:
>> On $BJ?.(B 20/08/21, at 12:12, Philip Guenther wrote:
>>
>>> 2008/8/20 Joel Rees <joel_reessannet.ne.jp>:
>>>>
>>>> export PROFMARKER=".profile"
>>
>> would you believe I put that in .profile, like the marker said?
> ...etc
>
> Now that you've said it, yes, I do. If you think it unreasonable to
> not assume that from your first message, then you haven't followed
> enough Q&A exchanges on mailing lists.

> People do things that are
> completely insane to others and then don't believe it when people say
> "that was non-obvious".

Yeah, it's been a while since I've been on tech lists, and then I was
just feeling prickly this last week. Too distracted by the things I'm
not getting done to post anything but brain-dumps for questions.

Thanks for the discussion.

> [...]
>
>
>> If you're wondering why the shotgun approach, I couldn't figure
>> out, with my
>> login shell set to sh, why the shell was behaving like csh. Still
>> don't get
>> it.
>
> <sigh> What do you mean by "behaving like csh"? The only prominent
> reference to csh behavior I see in your previous note is this:
>
>>>> Except, csh picks up one marker, sh and ksh pick up none. So I'm
>>>> still puzzled

Meh. Definitely not clear writing on my part.

When I start csh at the command line in xterm, csh sources .cshrc
like I expect. (That is, the flag shows up in the environment.)

But neither sh nor ksh source .profile when I run them from the
command line.

> [...]
> For the the second ("parameters to X11"), that depends on how you run
> X. xinit, xdm, or something else? Remote sessions?

xdm. That is, I cleared the flag that prevents xdm running in /etc/
rc.conf.local. (Not booted up in openbsd right now, but I think maybe
you'll recognize that?) Not because I intended it that way, just that
I haven't loaded anything besides all the X11 sets in the install
image from the web. (Yeah, I know, I should buy the CDs, but, well,
my budget for this project is really too tight in the first place.

I'd ask more questions, but I'm out of time for now. Spun my wheels
too long, couldn't seem to generate useful search phrases or even
questions. I've forgotten too much stuff. I'll have to pick this back
up in a month or three. Maybe I'll try this project again with Fedora
if I can figure out how to do it without yaboot (Don't ask. I don't
know all the reasons why parted killed my Mac OS 9 drivers when I
told it to partition a 1MB partition for yaboot.) and over Christmas
try putting openbsd on the AMD box in the other room so I can
practice a bit in the environment that has the most support.

Thanks again.

Joel Rees
(waiting for a 3+GHz ARM processor to come out,
to test Steve's willingness to switch again.)