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

Patch to query by alias in 3.1B7

0 views
Skip to first unread message

Gordon M. Charrick

unread,
Feb 7, 1996, 3:00:00 AM2/7/96
to
Does anyone have a patch to get this to work? We patched 2.2 and it works
fine, but the same patch does not work with the new version. I know I can
just type "ph alias=xxxx", but our users want to be able to just type
"ph xxxx". Hints greatly appreciated.


Gordon Charrick [n4ytx] 301-496-4823
g...@helix.nih.gov
Nat'l Inst. of Health, Bethesda, MD

=========================================================================

To un-subscribe from this list, send email to LIST...@POSTOFFICE.CSO.UIUC.EDU with the command

UNSUB INFO-PH

in the *body* of the message.

Otis Gospodnetic

unread,
Feb 7, 1996, 3:00:00 AM2/7/96
to
>
> Does anyone have a patch to get this to work? We patched 2.2 and it works
> fine, but the same patch does not work with the new version. I know I can
> just type "ph alias=xxxx", but our users want to be able to just type
> "ph xxxx". Hints greatly appreciated.
>

I don't think you need to patch anything, you just need to modify the defaults
config file before compiling qi and specify that if a user doesn't specify a
Qi field to be queried Qi assumes it's the field "alias" and not "name" which
I think is in defaults config file by default.

I think that's all you gotta do, unless I misunderstood something, which
wouldn't be unusual...

Otis

Gordon M. Charrick

unread,
Feb 7, 1996, 3:00:00 AM2/7/96
to
On Wed, 7 Feb 1996, Otis Gospodnetic wrote:

> > Does anyone have a patch to get this to work? We patched 2.2 and it works
> > fine, but the same patch does not work with the new version. I know I can
> > just type "ph alias=xxxx", but our users want to be able to just type
> > "ph xxxx". Hints greatly appreciated.
>
> I don't think you need to patch anything, you just need to modify the defaults
> config file before compiling qi and specify that if a user doesn't specify a
> Qi field to be queried Qi assumes it's the field "alias" and not "name" which
> I think is in defaults config file by default.
>
> I think that's all you gotta do, unless I misunderstood something, which
> wouldn't be unusual...
>

I'm greedy and want BOTH! The old patch allows it to fall through and
look for an alias match if it doesn't find a name/nickname match.

Remember that most users can't quite grasp the concept of having to add
arguments to a query, and besides, most people at NIH use an email
interface to ph so they just mail a name or an alias to an address and
the answer comes back!


Gordon Charrick [n4ytx] 301-496-4823
g...@helix.nih.gov
Nat'l Inst. of Health, Bethesda, MD

=========================================================================

0 new messages