← Back to team overview

sapidlib-dev team mailing list archive

Fwd: Added new functions to TERMINAL_D

 

>
> revno: 72
> committer: Richard Harrison <harrison.rt@xxxxxxxxx>
> branch nick: dev
> timestamp: Wed 2008-07-02 09:04:23 +0100
> message:
>  Added new functions to TERMINAL_D
>   * Return user's terminal type if set.
>     query_user_term(object user);
>   * Return user's terminal width if set.
>     query_user_width(object user);
>   * Return user's indent level if set in environment.
>     query_user_indent(object user);
>
>  Cleaned up all the whitespace and indent level in 'ls'
>  Fixed width arrangement of output bug in 'ls'
> modified:
>  lib/adm/daemons/terminal_d.c
>  lib/cmds/file/ls.c
>

Are those functions really best kept in TERMINAL_D? It seems to me that
maybe they'd be better off (nah, belong) in the user object, no? The
functions just call the user object anyhow. :S

-- 
Cody A.W. Somerville
Software Engineer
Red Cow Marketing & Technologies, Inc.
Office: 506-458-1290
Toll Free: 1-877-733-2699
Fax: 506-453-9112
Cell: 506-449-5899
Email: cody@xxxxxxxxx
http://www.redcow.ca

Follow ups