[w3m-dev 03958] w3mimgdisplay on jfbterm

Fumitoshi UKAI <[email protected]>
Newsgroups gmane.comp.web.w3m.devel
Organization Debian JP Project
Message-ID <[email protected]>
jfbterm  inline image 
ad-hoc 

# 

Index: w3mimg/fb/fb_w3mimg.c
===================================================================
RCS file: /cvsroot/w3m/w3m/w3mimg/fb/fb_w3mimg.c,v
retrieving revision 1.12
diff -u -u -p -r1.12 fb_w3mimg.c
--- w3mimg/fb/fb_w3mimg.c	7 Jul 2003 15:48:17 -0000	1.12
+++ w3mimg/fb/fb_w3mimg.c	29 Aug 2003 14:52:03 -0000
@@ -171,7 +171,7 @@ w3mimg_fbopen()
 	return NULL;
     memset(wop, 0, sizeof(w3mimg_op));
 
-    if (!check_tty_console(getenv("W3M_TTY"))) {
+    if (!check_tty_console(getenv("W3M_TTY")) && strcmp("jfbterm", getenv("TERM")) != 0) {
 	fprintf(stderr, "w3mimgdisplay/fb: tty is not console\n");
 	goto error;
     }

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.