repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 7cb90a16b9fd8c70980b03ac5a67c75832dcb023: path_to: revision_to:
commit 7cb90a16b9fd8c70980b03ac5a67c75832dcb023 Author: Marc LehmannDate: Sun Aug 15 02:17:32 2004 +0000 *** empty log message *** diff --git a/MANIFEST b/MANIFEST
--- a/MANIFEST +++ b/MANIFEST @@ -75,13 +75,10 @@ autoconf/mkinstalldirs autoconf/xpm.m4 src/.cvsignore -src/.indent.pro src/Makefile.in src/callback.h src/command.C src/command.h -src/defaultfont.C -src/defaultfont.h src/encoding.C src/encoding.h src/feature.h @@ -93,8 +90,6 @@ src/iom_conf.h src/logging.C src/logging.h src/main.C -src/makeextprotos-awk -src/makeextprotos-sed src/makeintprotos-awk src/makeintprotos-sed src/menubar.C @@ -102,20 +97,22 @@ src/menubar.h src/misc.C src/netdisp.C src/netdisp.h -src/protos.h +src/ptytty.h src/ptytty.C +src/rxvtutil.C +src/rxvtutil.h +src/rxvttoolkit.C +src/rxvttoolkit.h +src/rxvtfont.C +src/rxvtfont.h src/rxvt.C src/rxvt.h src/rxvtc.C -src/rxvtcolor.C -src/rxvtcolor.h src/rxvtd.C src/rxvtdaemon.C src/rxvtdaemon.h src/rxvtlib.h src/rxvtlib.h.in -src/rxvtstl.C -src/rxvtstl.h src/salloc.C src/salloc.h src/screen.C diff --git a/src/init.h b/src/init.h
--- a/src/init.h
+++ b/src/init.h
@@ -148,5 +148,4 @@
#define CONSOLE "/dev/console" /* console device */
-#include "init.intpro" /* PROTOS for internal routines */
#endif /* _INIT_H_ */
diff --git a/src/ptytty.h b/src/ptytty.h
new file mode 100644
index 0000000000000000000000000000000000000000..7dc736c2596a074bbfa8ae676a50a57061428841
--- /dev/null
+++ b/src/ptytty.h
@@ -0,0 +1,28 @@
+#ifndef PTYTTY_H
+#define PTYTTY_H
+
+#include "rxvt.h"
+
+enum rxvt_privaction { IGNORE = 'i', SAVE = 's', RESTORE = 'r' };
+
+struct rxvt_ptytty {
+#ifndef RESET_TTY_TO_COMMON_DEFAULTS
+ struct stat savestat; /* original status of our tty */
+#endif
+ void privileges (rxvt_privaction action);
+public:
+ int pty; // pty file descriptor; connected to rxvt
+ int tty; // tty file descriptor; connected to child
+ char *name;
+
+ rxvt_ptytty ();
+ ~rxvt_ptytty ();
+
+ bool get ();
+ void put ();
+
+ bool make_controlling_tty ();
+};
+
+#endif
+
diff --git a/src/rxvt.C b/src/rxvt.C
--- a/src/rxvt.C
+++ b/src/rxvt.C
@@ -27,7 +27,7 @@ int
main (int argc, const char *const *argv)
try
{
- rxvt_init_signals ();
+ rxvt_init ();
rxvt_term *t = new rxvt_term;
diff --git a/src/rxvtd.C b/src/rxvtd.C
--- a/src/rxvtd.C
+++ b/src/rxvtd.C
@@ -213,7 +213,7 @@ void server::read_cb (io_watcher &w, short revents)
int
main (int argc, const char *const *argv)
{
- rxvt_init_signals ();
+ rxvt_init ();
char *sockname = rxvt_connection::unix_sockname ();
unix_listener l (sockname);
-----END OF PAGE-----