aboutsummaryrefslogtreecommitdiff
path: root/contrib/libreadline/rltty.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
commit152b41126121f69480691bc73bf0e6ea3ae404c7 (patch)
treed9fcdd0a5e7480e4ba8c47003951584dda5caa6a /contrib/libreadline/rltty.h
parentd48ce863c5079e07dca9f711d7023f7007e670a7 (diff)
downloadsrc-152b41126121f69480691bc73bf0e6ea3ae404c7.tar.gz
src-152b41126121f69480691bc73bf0e6ea3ae404c7.zip
Initial import of v4.1
Notes
Notes: svn path=/vendor/libreadline/dist/; revision=58310
Diffstat (limited to 'contrib/libreadline/rltty.h')
-rw-r--r--contrib/libreadline/rltty.h25
1 files changed, 22 insertions, 3 deletions
diff --git a/contrib/libreadline/rltty.h b/contrib/libreadline/rltty.h
index fe783463f6a2..029a3fbc0e1f 100644
--- a/contrib/libreadline/rltty.h
+++ b/contrib/libreadline/rltty.h
@@ -8,7 +8,7 @@
The Library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
+ the Free Software Foundation; either version 2, or (at your option)
any later version.
The Library is distributed in the hope that it will be useful, but
@@ -19,10 +19,10 @@
The GNU General Public License is often shipped with GNU software, and
is generally kept in a file called COPYING or LICENSE. If you do not
have a copy of the license, write to the Free Software Foundation,
- 675 Mass Ave, Cambridge, MA 02139, USA. */
+ 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#if !defined (_RLTTY_H_)
-#define _RLTTY_H
+#define _RLTTY_H_
/* Posix systems use termios and the Posix signal functions. */
#if defined (TERMIOS_TTY_DRIVER)
@@ -60,4 +60,23 @@
# endif /* !_SVR4_DISABLE */
#endif /* !NEW_TTY_DRIVER && !_POSIX_VDISABLE */
+typedef struct _rl_tty_chars {
+ char t_eof;
+ char t_eol;
+ char t_eol2;
+ char t_erase;
+ char t_werase;
+ char t_kill;
+ char t_reprint;
+ char t_intr;
+ char t_quit;
+ char t_susp;
+ char t_dsusp;
+ char t_start;
+ char t_stop;
+ char t_lnext;
+ char t_flush;
+ char t_status;
+} _RL_TTY_CHARS;
+
#endif /* _RLTTY_H_ */