/usr/include/yacas/stdcommandline.h is in yacas 1.3.6-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #ifndef YACAS_STDCOMMANDLINE_H
#define YACAS_STDCOMMANDLINE_H
#include "commandline.h"
/** Simple no-frills implementation of CCommandLine, using stdlibc-functions
* only, and no ansi characters. No history is supported either.
*/
class CStdCommandLine : public CCommandLine
{
public:
void ReadLine(const std::string& prompt);
public:
LispInt GetKey();
void NewLine();
void ShowLine(const std::string& prompt, unsigned cursor);
void Pause();
};
#endif
|