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

window.c File Reference

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

Defines

#define COMPOSE(x)   res->x = new->x != nwin_undef.x ? new->x : def->x

Functions

void nwin_compose (struct NewWindow *def, struct NewWindow *new, struct NewWindow *res)
int DoStartLog (struct win *w, char *buf, int bufsize)
int MakeWindow (struct NewWindow *newwin)
int RemakeWindow (struct win *p)
void CloseDevice (struct win *wp)
void FreeWindow (struct win *wp)
void execvpe (char *prog, char **args, char **env)
int winexec (char **av)
void FreePseudowin (struct win *w)
int ReleaseAutoWritelock (struct display *dis, struct win *w)
int ObtainAutoWritelock (struct display *d, struct win *w)
void zmodem_abort (struct win *p, struct display *d)

Variables

displaydisplays
displaydisplay
winwindows
winfore
winwtab []
winconsole_window
char * ShellArgs []
char * ShellProg
char screenterm []
char * screenlogfile
char HostName []
int TtyMode
int SilenceWait
int real_uid
int real_gid
int eff_uid
int eff_gid
char Termcap []
char ** NewEnv
int visual_bell
int maxwin
event logflushev
int log_flush
int logtstamp_after
int ZombieKey_destroy
int ZombieKey_resurrect
layerflayer
int maxusercount
int pty_preopen
int zmodem_mode
mchar mchar_blank
char * zmodem_sendcmd
char * zmodem_recvcmd
int VerboseCreate = 0
char DefaultShell [] = "/bin/sh"
NewWindow nwin_undef
NewWindow nwin_default
NewWindow nwin_options
LayFuncs WinLf

Define Documentation

#define COMPOSE  )     res->x = new->x != nwin_undef.x ? new->x : def->x
 


Function Documentation

void CloseDevice struct win wp  ) 
 

int DoStartLog struct win w,
char *  buf,
int  bufsize
 

void execvpe char *  prog,
char **  args,
char **  env
 

void FreePseudowin struct win w  ) 
 

void FreeWindow struct win wp  ) 
 

int MakeWindow struct NewWindow newwin  ) 
 

void nwin_compose struct NewWindow def,
struct NewWindow new,
struct NewWindow res
 

int ObtainAutoWritelock struct display d,
struct win w
 

int ReleaseAutoWritelock struct display dis,
struct win w
 

int RemakeWindow struct win p  ) 
 

int winexec char **  av  ) 
 

void zmodem_abort struct win p,
struct display d
 


Variable Documentation

struct win * console_window
 

char DefaultShell[] = "/bin/sh"
 

struct display * display
 

struct display* displays
 

int eff_gid
 

int eff_uid
 

struct layer* flayer
 

struct win * fore
 

char HostName[]
 

int log_flush
 

struct event logflushev
 

int logtstamp_after
 

int maxusercount
 

int maxwin
 

struct mchar mchar_blank
 

char** NewEnv
 

struct NewWindow nwin_default
 

Initial value:

 
{ 
  0,            
  0,            
  ShellArgs,    
  0,            
  screenterm,   
  0,            
  1*FLOW_NOW,   
  LOGINDEFAULT, 
  DEFAULTHISTHEIGHT,    
  MON_OFF,      
  WLOCK_OFF,    
  0,            
  1,            
  0,            
  0,            
  0,            
  1,            
  0,            
  0,            
  (char *)0,    
  (char *)0     
}

struct NewWindow nwin_options
 

struct NewWindow nwin_undef
 

Initial value:

 
{
  -1,           
  (char *)0,    
  (char **)0,   
  (char *)0,    
  (char *)0,    
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  -1,           
  (char *)0,    
  (char *)0     
}

int pty_preopen
 

int real_gid
 

int real_uid
 

char* screenlogfile
 

char screenterm[]
 

char* ShellArgs[]
 

char* ShellProg
 

int SilenceWait
 

char Termcap[]
 

int TtyMode
 

int VerboseCreate = 0
 

int visual_bell
 

struct win* windows
 

struct LayFuncs WinLf
 

Initial value:

{
  WinProcess,
  0,
  WinRedisplayLine,
  WinClearLine,
  WinRewrite,
  WinResize,
  WinRestore
}

struct win * wtab[]
 

int zmodem_mode
 

char* zmodem_recvcmd
 

char* zmodem_sendcmd
 

int ZombieKey_destroy
 

int ZombieKey_resurrect
 


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