[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .bash_profile not sourced on login



On Sun, May 08, 2005 at 10:17:40PM -0400, Luis R Finotti wrote:
> 
> Sorry for not mentioning it.  It was under X...  I guess in that case I 
> don't have a "login shell".  So what would be the proper place to set 
> variables for terminals running in X?

If you are running from *DM, use .xsession; if you are using startx,
then .xinitrc is the place for you. Personally, I source my profile from
.xsession under XDM, which works just fine.

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g

>From tjacobs@penguin.codegnome.org  Mon May 09 16:20:27 2005
Date: Mon, 9 May 2005 15:20:27 -0700
X-OfflineIMAP-x2147234381-52656d6f7465-4f5554424f58: 1115685435-084931312167-v4.0.8
From: tjacobs <tjacobs@codegnome.org>
To: Piepa Regbu <chicklet14@yahoo.com>
Subject: Wasted time
Message-ID: <20050509222027.GC8864@codegnome.org>
Mail-Followup-To: tjacobs <tjacobs@codegnome.org>,
	Piepa Regbu <chicklet14@yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Content-Length: 1199
Status: O
X-UID: 16
X-Keywords:                                                                                                    

So, I had a long, boring meeting upstairs. I'm back in my cube, though,
and already wishing it were 5pm. Even though I got here late today, I'll
probably leave at the usual time since I don't really have a lot to do.

I'm thinking about taking a few product manuals over to Applebees, and
perusing them over something alcoholic. That should help the afternoon
pass faster, don't you think?

I was giving some thought to Friday. I know you're planning to head down
this way Friday morning. I don't know what your schedule really looks
like, but I was thinking that if you're going to be taking 680, maybe
you could come by my office for lunch on Friday on your way southbound.
That way, we wouldn't miss seeing each other altogether this coming
weekend. What do you think of the idea?

If I don't see you for lunch on Friday, I'll probably miss seeing your
on Sunday, too, unless I get a very late start, or you get an
exceptionally early one. At least for lunch, neither one of us will feel
particularly rushed. :)

Anyway, you're probably on your way to pilates as I type. Hope you have
a good time, and I'll talk to you later.

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g

>From tjacobs@penguin.codegnome.org  Mon May 09 16:14:11 2005
Date: Mon, 9 May 2005 15:14:11 -0700
X-OfflineIMAP-x274971693-52656d6f7465-4f5554424f58: 1115685436-0789954053006-v4.0.8
From: "Todd A. Jacobs, CISSP" <contracts@codegnome.org>
To: Bhanu Vanapalli <bkvanapalli@hotmail.com>
Subject: Touching base
Message-ID: <20050509221411.GB8864@codegnome.org>
Mail-Followup-To: "Todd A. Jacobs, CISSP" <contracts@codegnome.org>,
	Bhanu Vanapalli <bkvanapalli@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Content-Length: 799
Status: O
X-UID: 17
X-Keywords:                                                                                                    

I wanted to drop you a line and say hello. I imagine you're back from
your trip to India by now; how was it? What did you do while you were
there?

I've been busy since I saw you last. I'm working on a new identity
management project in northern California at the moment, and am enjoying
being just a tad closer to civilization than Waco. :) What about you,
are you back on the Allergan project, or have you already moved on to
something new?

I'll keep this email short, on the offchance that you aren't back yet.
I'd definitely like to catch up, though, and I look forward to hearing
back from you soon.

-- 
Todd A. Jacobs, CISSP CISM CCNA LPIC | Tel: (775) 355-9206
President and Senior Consultant      | Fax: (501) 640-6677
CodeGnome Consulting, LTD            | Web: http://www.codegnome.org/

>From tjacobs@penguin.codegnome.org  Mon May 09 16:03:49 2005
Date: Mon, 9 May 2005 15:03:49 -0700
X-OfflineIMAP-731965731-52656d6f7465-4f5554424f58: 1115685436-00251277304175-v4.0.8
From: "Todd A. Jacobs" <nospam@codegnome.org>
To: shell.scripting@moongroup.com
Subject: Re: script with config files to parse
Message-ID: <20050509220349.GA8864@codegnome.org>
Mail-Followup-To: shell.scripting@moongroup.com
References: <be7468bb050506005046482fe3@mail.gmail.com> <20050507005406.GQ8563@penguin.codegnome.org> <be7468bb050506234969acc515@mail.gmail.com> <20050507233839.GA7102@penguin.codegnome.org> <be7468bb0505090112b7c5977@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <be7468bb0505090112b7c5977@mail.gmail.com>
User-Agent: Mutt/1.5.9i
Content-Length: 775
Status: O
X-UID: 18
X-Keywords:                                                                                                    

On Mon, May 09, 2005 at 04:12:16PM +0800, roderick tapang wrote:
> formail / procmail adds additional headers when doing a resend. the

Formail won't resend it; it just reformats it. Check out the -I flag for
formail, which replaces the existing headers, and -f which keeps it from
(re)generating from lines.

I use formail all the time when sending resumes out, so that the emails
appear to come from a completely different account; see tkresume for
some examples of the magic of formail.

> it says: The requested URL /geeklog was not found on this server.

I know...I had a server die on me a month or so back, and haven't
managed to recovery all the necessary files yet. I'm working on it,
though. :)

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g

>From tjacobs@penguin.codegnome.org  Mon May 09 14:20:36 2005
Date: Mon, 9 May 2005 13:20:36 -0700
X-OfflineIMAP-1915828068-52656d6f7465-4f5554424f58: 1115685437-0478660644406-v4.0.8
From: "Todd A. Jacobs" <nospam@codegnome.org>
To: Piepa Regbu <chicklet14@yahoo.com>
Subject: Morning
Message-ID: <20050509202036.GD7232@codegnome.org>
Mail-Followup-To: Piepa Regbu <chicklet14@yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Content-Length: 834
Status: O
X-UID: 19
X-Keywords:                                                                                                    

Well, even though you won't get this until much later, I wanted to say
good morning. Hope your morning was better than mine!

I woke up late today--probably because I didn't manage to fall asleep
until about 5am. It was my own fault, really; I started reading a book
last night, and I just couldn't force myself to put it down. I told
myself several times that I'd be sorry in the morning, but you know how
ineffective I find that sort of thing to be.

I have a boring meeting this afternoon about something I know nothing
about, so pity poor me. On the other hand, no one else seems to be in
the office today from my group, so it's been a fairly painless day
despite my state of sleep deprivation.

Anyway, I should head on up to that meeting. Type at you later!

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g

>From tjacobs@penguin.codegnome.org  Mon May 09 14:15:54 2005
Date: Mon, 9 May 2005 13:15:54 -0700
X-OfflineIMAP-x1835276586-52656d6f7465-4f5554424f58: 1115685437-0905245301015-v4.0.8
From: "Todd A. Jacobs" <nospam@codegnome.org>
To: debian-user@lists.debian.org
Subject: Re: Bind keypress to shell command?
Message-ID: <20050509201554.GC7232@codegnome.org>
Mail-Followup-To: debian-user@lists.debian.org
References: <[🔎] 3950.132.183.173.251.1115645465.squirrel@tonka.egeland.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 3950.132.183.173.251.1115645465.squirrel@tonka.egeland.net>
User-Agent: Mutt/1.5.9i
Content-Length: 382
Status: O
X-UID: 20
X-Keywords:                                                                                                    

On Mon, May 09, 2005 at 09:31:05AM -0400, Bob Freemer wrote:
> to simply bind shell commands to a keypress on a numeric kepad.  One of
> the functions is to control mpd for MP3 playing, amongst others.

Um, 'help bind' seems to give some clear pointers. The bash manual
should cover key bindings in more detail.

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g

>From tjacobs@penguin.codegnome.org  Mon May 09 14:11:42 2005
Date: Mon, 9 May 2005 13:11:42 -0700
X-OfflineIMAP-178633348-52656d6f7465-4f5554424f58: 1115685438-0372857966138-v4.0.8
From: "Todd A. Jacobs" <nospam@codegnome.org>
To: debian user <debian-user@lists.debian.org>
Subject: Re: journalling options [WAS: optimizing ext3...]
Message-ID: <[🔎] 20050509201142.GB7232@codegnome.org>
Mail-Followup-To: debian user <debian-user@lists.debian.org>
References: <[🔎] 1115376338.26158.21.camel@localhost.localdomain> <[🔎] 1115643589.25819.27.camel@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 1115643589.25819.27.camel@localhost.localdomain>
User-Agent: Mutt/1.5.9i
Content-Length: 1204
Status: O
X-UID: 21
X-Keywords:                                                                                                    

On Mon, May 09, 2005 at 01:59:42PM +0100, michael wrote:
> I've been trying to get somewhere with the below (seems easier to top
> post this time - apols!) and have come across the "data=journal" mode
> for ext3.

Journaling data instead of just metadata will cause higher disk I/O, not
less.

> Is it possible to change this on a live system

Sure: mount -o remount,data=journal <device>

> Any other thoughts on why my system seems to creep to a crawl whenever
> there's IO (eg compressing a file, creating a tar, running progs with
> big (a couple Gb) files)?

Swap usage (too much/too little), memory usage, slow spindles, memory
leaks, bus contention, atime updates, NFS mounts...the list goes on.

You need to look at something a little more granular, such as sar or
iostat, to see what all the disk I/O is all about. But if you've got a
single IDE spindle at 5400 RPM, for example, what are your realistic
expectations of performance of multi-GB file manipulations?

You might also want to look at profiling your Fortran code. Sometimes,
bad I/O performance can be traced to inefficient read/write handling in
a program. YMMV.

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g



Reply to: