| Line 1... |
Line 1... |
| 1 |
/*
|
1 |
/*
|
| 2 |
* R : A Computer Language for Statistical Data Analysis
|
2 |
* R : A Computer Language for Statistical Data Analysis
|
| 3 |
* file console.h
|
3 |
* file console.h
|
| 4 |
* Copyright (C) 1998--2003 Guido Masarotto and Brian Ripley
|
4 |
* Copyright (C) 1998--2003 Guido Masarotto and Brian Ripley
|
| 5 |
* Copyright (C) 2004-7 The R Foundation
|
5 |
* Copyright (C) 2004-8 The R Foundation
|
| 6 |
*
|
6 |
*
|
| 7 |
* This program is free software; you can redistribute it and/or modify
|
7 |
* This program is free software; you can redistribute it and/or modify
|
| 8 |
* it under the terms of the GNU General Public License as published by
|
8 |
* it under the terms of the GNU General Public License as published by
|
| 9 |
* the Free Software Foundation; either version 2 of the License, or
|
9 |
* the Free Software Foundation; either version 2 of the License, or
|
| 10 |
* (at your option) any later version.
|
10 |
* (at your option) any later version.
|
| Line 30... |
Line 30... |
| 30 |
setconsoleoptions(const char *fnname,int fnsty, int fnpoints,
|
30 |
setconsoleoptions(const char *fnname,int fnsty, int fnpoints,
|
| 31 |
int rows, int cols, int consx, int consy,
|
31 |
int rows, int cols, int consx, int consy,
|
| 32 |
rgb nfg, rgb nufg, rgb nbg, rgb high,
|
32 |
rgb nfg, rgb nufg, rgb nbg, rgb high,
|
| 33 |
int pgr, int pgc, int multiplewindows, int widthonresize,
|
33 |
int pgr, int pgc, int multiplewindows, int widthonresize,
|
| 34 |
int bufbytes, int buflines, int buffered);
|
34 |
int bufbytes, int buflines, int buffered);
|
| 35 |
pager newpager(const char *title, const char *filename, const char *header,
|
35 |
pager newpager(const char *title, const char *filename, int enc,
|
| 36 |
int unlinkonexit);
|
36 |
const char *header, int unlinkonexit);
|
| 37 |
console newconsole(char *name, int flags);
|
37 |
console newconsole(char *name, int flags);
|
| 38 |
int consolereads(console c, const char *prompt, char *buf, int len,
|
38 |
int consolereads(console c, const char *prompt, char *buf, int len,
|
| 39 |
int addtohistory);
|
39 |
int addtohistory);
|
| 40 |
int consolewrites(console c, const char *s);
|
40 |
int consolewrites(console c, const char *s);
|
| 41 |
int consolecancopy(console c);
|
41 |
int consolecancopy(console c);
|