Main Page | Class List | File List | Class Members | File Members

display.c File Reference

#include <sys/types.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include "config.h"
#include "screen.h"
#include "extern.h"
#include "braille.h"

Functions

void DefProcess (char **bufp, int *lenp)
void DefRedisplayLine (int y, int xs, int xe, int isblank)
void DefClearLine (int y, int xs, int xe, int bce)
int DefRewrite (int y, int xs, int xe, struct mchar *rend, int doit)
int DefResize (int wi, int he)
void DefRestore ()
displayMakeDisplay (char *uname, char *utty, char *term, int fd, int pid, struct mode *Mode)
void FreeDisplay ()
int MakeDefaultCanvas ()
int AddCanvas ()
void RemCanvas ()
void OneCanvas ()
int RethinkDisplayViewports ()
void RethinkViewportOffsets (struct canvas *cv)
void InitTerm (int adapt)
void FinitTerm ()
int CalcCost (char *s)
void GotoPos (int x2, int y2)
void ClearAll ()
void ClearArea (int x1, int y1, int xs, int xe, int x2, int y2, int bce, int uselayfn)
void Redisplay (int cur_only)
void RedisplayDisplays (int cur_only)
void ScrollH (int y, int xs, int xe, int n, int bce, struct mline *oml)
void ScrollV (int xs, int ys, int xe, int ye, int n, int bce)
void SetAttr (int new)
void SetFont (int new)
int color256to16 (int jj)
void SetColor (int f, int b)
void SetRendition (struct mchar *mc)
void SetRenditionMline (struct mline *ml, int x)
void MakeStatus (char *msg)
void RemoveStatus ()
void ShowHStatus (char *str)
void RefreshHStatus ()
void RefreshAll (int isblank)
void RefreshArea (int xs, int ys, int xe, int ye, int isblank)
void RefreshLine (int y, int from, int to, int isblank)
void ClearLine (struct mline *oml, int y, int from, int to, int bce)
void DisplayLine (struct mline *oml, struct mline *ml, int y, int from, int to)
void PutChar (struct mchar *c, int x, int y)
void InsChar (struct mchar *c, int x, int xe, int y, struct mline *oml)
void WrapChar (struct mchar *c, int x, int y, int xs, int ys, int xe, int ye, int ins)
int ResizeDisplay (int wi, int he)
void ChangeScrollRegion (int newtop, int newbot)
void AddStr (char *str)
void AddStrn (char *str, int n)
void Flush ()
void freetty ()
void Resize_obuf ()
void DisplaySleep1000 (int n, int eat)
void NukePending ()
void ResetIdle ()
void KillBlanker ()
void RunBlanker (char **cmdv)

Variables

layerflayer
winwindows
winfore
LayFuncs WinLf
int use_hardstatus
int MsgWait
int MsgMinWait
int Z0width
int Z1width
unsigned char * blank
unsigned char * null
mline mline_blank mline_null mline_old
mchar mchar_null mchar_blank mchar_so
NewWindow nwin_default
action idleaction
char * hstatusstring
char * captionstring
int pastefont
int idletimo
int pty_preopen
char ** NewEnv
int real_uid
int real_gid
short ospeed
displaydisplay
displaydisplays
int attr2color [8][4]
int nattr2color
int defobuflimit = OBUF_MAX
int defnonblock = -1
int defautonuke = 0
int captionalways
int hardstatusemu = HSTATUS_IGNORE
LayFuncs BlankLf

Function Documentation

int AddCanvas  ) 
 

void AddStr char *  str  ) 
 

void AddStrn char *  str,
int  n
 

int CalcCost char *  s  ) 
 

void ChangeScrollRegion int  newtop,
int  newbot
 

void ClearAll  ) 
 

void ClearArea int  x1,
int  y1,
int  xs,
int  xe,
int  x2,
int  y2,
int  bce,
int  uselayfn
 

void ClearLine struct mline oml,
int  y,
int  from,
int  to,
int  bce
 

int color256to16 int  jj  ) 
 

void DefClearLine int  y,
int  xs,
int  xe,
int  bce
 

void DefProcess char **  bufp,
int *  lenp
 

void DefRedisplayLine int  y,
int  xs,
int  xe,
int  isblank
 

int DefResize int  wi,
int  he
 

void DefRestore  ) 
 

int DefRewrite int  y,
int  xs,
int  xe,
struct mchar rend,
int  doit
 

void DisplayLine struct mline oml,
struct mline ml,
int  y,
int  from,
int  to
 

void DisplaySleep1000 int  n,
int  eat
 

void FinitTerm  ) 
 

void Flush  ) 
 

void FreeDisplay  ) 
 

void freetty  ) 
 

void GotoPos int  x2,
int  y2
 

void InitTerm int  adapt  ) 
 

void InsChar struct mchar c,
int  x,
int  xe,
int  y,
struct mline oml
 

void KillBlanker  ) 
 

int MakeDefaultCanvas  ) 
 

struct display* MakeDisplay char *  uname,
char *  utty,
char *  term,
int  fd,
int  pid,
struct mode Mode
 

void MakeStatus char *  msg  ) 
 

void NukePending  ) 
 

void OneCanvas  ) 
 

void PutChar struct mchar c,
int  x,
int  y
 

void Redisplay int  cur_only  ) 
 

void RedisplayDisplays int  cur_only  ) 
 

void RefreshAll int  isblank  ) 
 

void RefreshArea int  xs,
int  ys,
int  xe,
int  ye,
int  isblank
 

void RefreshHStatus  ) 
 

void RefreshLine int  y,
int  from,
int  to,
int  isblank
 

void RemCanvas  ) 
 

void RemoveStatus  ) 
 

void ResetIdle  ) 
 

void Resize_obuf  ) 
 

int ResizeDisplay int  wi,
int  he
 

int RethinkDisplayViewports  ) 
 

void RethinkViewportOffsets struct canvas cv  ) 
 

void RunBlanker char **  cmdv  ) 
 

void ScrollH int  y,
int  xs,
int  xe,
int  n,
int  bce,
struct mline oml
 

void ScrollV int  xs,
int  ys,
int  xe,
int  ye,
int  n,
int  bce
 

void SetAttr int  new  ) 
 

void SetColor int  f,
int  b
 

void SetFont int  new  ) 
 

void SetRendition struct mchar mc  ) 
 

void SetRenditionMline struct mline ml,
int  x
 

void ShowHStatus char *  str  ) 
 

void WrapChar struct mchar c,
int  x,
int  y,
int  xs,
int  ys,
int  xe,
int  ye,
int  ins
 


Variable Documentation

int attr2color[8][4]
 

unsigned char* blank
 

struct LayFuncs BlankLf
 

Initial value:

int captionalways
 

char* captionstring
 

int defautonuke = 0
 

int defnonblock = -1
 

int defobuflimit = OBUF_MAX
 

struct display* display
 

struct display * displays
 

struct layer* flayer
 

struct win * fore
 

int hardstatusemu = HSTATUS_IGNORE
 

char* hstatusstring
 

struct action idleaction
 

int idletimo
 

struct mchar mchar_null mchar_blank mchar_so
 

struct mline mline_blank mline_null mline_old
 

int MsgMinWait
 

int MsgWait
 

int nattr2color
 

char** NewEnv
 

unsigned char * null
 

struct NewWindow nwin_default
 

short ospeed
 

int pastefont
 

int pty_preopen
 

int real_gid
 

int real_uid
 

int use_hardstatus
 

struct win* windows
 

struct LayFuncs WinLf
 

int Z0width
 

int Z1width
 


Generated on Sat Jul 2 20:56:16 2005 for GNU Screen by  doxygen 1.4.3