getcomm.c File Reference

#include <ctype.h>
#include "in_all.h"
#include "term.h"
#include "process.h"
#include "getcomm.h"
#include "commands.h"
#include "prompt.h"
#include "main.h"
#include "output.h"
#include "getline.h"
#include "machine.h"
#include "keys.h"
#include "display.h"
#include "assert.h"

Include dependency graph for getcomm.c:

Go to the source code of this file.

Defines

#define _GETCOMM_

Functions

char * strcpy ()
char ** getenv ()
STATIC int killchar ()
char * readline (char *s)
STATIC int killchar (c)
VOID shellescape (char *p, esc_char)
int getcomm (long *plong)

Variables

static char rcsid [] = "$Header: /opt/proj/minix/cvsroot/src/commands/yap/getcomm.c,v 1.1.1.1 2005/04/21 14:55:39 beng Exp $"


Define Documentation

#define _GETCOMM_
 

Definition at line 11 of file getcomm.c.


Function Documentation

int getcomm long *  plong  ) 
 

Definition at line 266 of file getcomm.c.

References c, count, getch, give_prompt(), i, interrupt, isdigit, j, and p.

Referenced by processfiles().

char* * getenv  ) 
 

STATIC int killchar c   ) 
 

Definition at line 117 of file getcomm.c.

References backspace, killchar(), putch, and VOID.

STATIC int killchar  ) 
 

Definition at line 40 of file termmisc.c.

References _DLCHAR.

Referenced by killchar(), and readline().

char* readline char *  s  ) 
 

Definition at line 47 of file getcomm.c.

References clrbline(), COLS, erasech, flush, fputch(), getch, interrupt, killch, killchar(), p, pos, putline(), and strlen().

VOID shellescape char *  p,
esc_char 
 

Definition at line 134 of file getcomm.c.

References catchdel(), close, clrbline(), cls_files(), cnt, comm(), cputline(), currentfile, dup2, error, esc_char, execl, exit(), F_DUPFD, fcntl, flush, fork, inittty(), nopipe, pipe, previous, putline(), quit, resettty(), SIG_DFL, SIG_IGN, SIGINT, signal(), SIGPIPE, SIGQUIT, SIGTSTP, strcpy(), strlen(), stupid, VOID, wait, and wrt_fd().

Referenced by shell().

char* strcpy  ) 
 


Variable Documentation

char rcsid[] = "$Header: /opt/proj/minix/cvsroot/src/commands/yap/getcomm.c,v 1.1.1.1 2005/04/21 14:55:39 beng Exp $" [static]
 

Definition at line 8 of file getcomm.c.


Generated on Fri Apr 14 23:08:22 2006 for minix by  doxygen 1.4.6