freebsd-ports/korean/han/files/patch-ak
CHOI Junho f38f930b0b - Update han to work in 4.x. Use patches from kon2-16dot.
(it still has a bug: cursor doesn't displayed)
- distfile location moved.
2000-07-16 09:01:54 +00:00

25 lines
514 B
Text

--- include/vt.h.orig Fri Jan 24 16:08:13 1997
+++ include/vt.h Sat Aug 7 05:06:49 1999
@@ -59,7 +59,12 @@
ins,
active,
wrap,
+#if defined(__FreeBSD__)
+ text_mode,
+ cursor_key_mode;
+#else
text_mode;
+#endif
};
extern struct _con_info con;
@@ -75,6 +80,9 @@
extern void VtStart(void);
extern void VtEmu(const char*, int nchars);
extern void VtCleanup(void);
+#if defined(__FreeBSD__)
+extern int cons25tovt100(u_char *buff, int len, const int max);
+#endif
#define sjistojis(ch, cl)\
{\