NAME

view_file -- create unit to view text file

PROTOTYPE

unitptr view_file( FILE *fp, int iMaxLines, int iWidth, int iHeight, char *pcWinDesc, char *pcPre, char *pcPost, unitptr uHost)

ARGUMENTS

FILE *fp
file pos to start
int iMaxLines
max nr of lines to view (0=all)
int iWidth
width of textwdw in chars (0=auto)
int iHeight
height of textwdw in chars
char *pcWinDesc
window descriptor
char *pcPre
pre fmt (may be NULL)
char *pcPost
post fmt (may be NULL, but at least "%^" for scrollbar is recommended)
unitptr uHost
host unit

FILE

/local/homes/rhaschke/nst7/man/../o.linx86//../nstsrc/nst_scrn.c