File: linux.dpatch

package info (click to toggle)
xvt 2.1-14
  • links: PTS
  • area: main
  • in suites: woody
  • size: 348 kB
  • ctags: 430
  • sloc: ansic: 5,107; perl: 1,329; makefile: 31; sh: 29
file content (23 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#PATCHOPTIONS: -p1 -F3

--- xvt-2.1.orig/ttyinit.c
+++ xvt-2.1/ttyinit.c
@@ -154,6 +154,7 @@
 #endif /* HPUX */
 
 #ifdef LINUX
+#include <sys/ioctl.h>
 #define BSD_PTY
 #define SVR4_UTMP
 #endif
--- xvt-2.1.orig/xvt.h
+++ xvt-2.1/xvt.h
@@ -35,7 +35,7 @@
 #define FIXED_FONT "fixed"	/* last resort font */
 #define DEF_SAVED_LINES 64	/* number of saved lines that have scrolled of the top */
 #define TERM_ENV "TERM=xterm"
-#define COMMAND "/bin/csh"	/* default command to run */
+#define COMMAND "/bin/sh"	/* default command to run */
 
 /* arguments to set and reset functions.
  */