GETFN

Section: CSLib Utilities (1)
Updated: September 17, 2002
Index Return to Main Contents
 

NAME

getfn - Get a user's full name from their email address in ECS  

SYNOPSIS

getfn username [ ... ]  

DESCRIPTION

getfn will get the full name of a username from the system passwd file. This is designed as an external query program for the mutt mail client.

getfn runs two queries. First, it looks to see if the username exists. If it does, it outputs the full name and email address, then exits. This is useful for 'tab' (actually, it's Ctrl+t) email address completion in mutt. If the username does not exist, it then traverses the passwd file looking for any entries that contain the query string in the username or the full name, then prints out a list of these users' names and email addresses. You can execute a query like this at any time in mutt using 'Q'.  

USAGE

Run getfn followed by a username or part of a username or user's full name (or multiple instances of such a value), and it will return a list of usernames and full names matching that value.  

LIMITATIONS

This program is designed specifically for use in University of Southampton Department of Electronics and Computer Science only, since for speed it queries NIS databases rather than using getpwent(3), and it automatically appends @ecs.soton.ac.uk as the domain name.  

AUTHOR

getfn was written by Alan Ford for use with the CSLib (http://www.cslib.ecs.soton.ac.uk) installation of mutt on the ECS systems.  

SEE ALSO

mutt(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
USAGE
LIMITATIONS
AUTHOR
SEE ALSO