texmacs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void settexmacs (void)
int C2F() intexmacs (void)
void next_input (void)
void C2F() texmacsin (char buffer[], int *buf_size, int *len_line, int *eof, long int dummy1)


Function Documentation

int C2F() intexmacs ( void   ) 

Definition at line 29 of file texmacs.c.

References texmacs_mode.

00029                       {
00030   return texmacs_mode;
00031 }

void next_input ( void   ) 

Definition at line 33 of file texmacs.c.

References DATA_BEGIN, DATA_END, Pause, SCIPROMPT, and SCIPROMPT_INTERRUPT.

Referenced by texmacsin().

00033                    {
00034   fprintf(stdout,"%cchannel:prompt%c",DATA_BEGIN,DATA_END);
00035   if (Pause==0)
00036     fprintf(stdout,SCIPROMPT);
00037   else
00038     fprintf(stdout,SCIPROMPT_INTERRUPT,Pause);
00039   
00040   fprintf(stdout,"%c",DATA_END);fflush (stdout);
00041 }

Here is the caller graph for this function:

void settexmacs ( void   ) 

Definition at line 24 of file texmacs.c.

00024                   {
00025   texmacs_mode=1;
00026 }

void C2F() texmacsin ( char  buffer[],
int buf_size,
int len_line,
int eof,
long int  dummy1 
)

Definition at line 44 of file texmacs.c.

References buf_size, buffer, DATA_BEGIN, eof, first, info, len_line, LineRead(), next_input(), and nr.

00045 {
00046 
00047   int nr,info;
00048   if (first==1) {
00049     fprintf(stdout,"%cverbatim:",DATA_BEGIN);
00050   }
00051   next_input ();
00052   
00053   first=0;
00054   
00055   *eof=0;
00056 
00057   info=LineRead(stdin,buffer,*buf_size,len_line,&nr);
00058   fprintf(stdout,"%cverbatim:",DATA_BEGIN);
00059   *len_line=*len_line-1;
00060 }

Here is the call graph for this function:


Generated on Sun Mar 4 15:17:28 2007 for Scilab [trunk] by  doxygen 1.5.1