diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-08-29 15:06:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-08-29 15:06:52 +0000 |
commit | 2086c1e90c3edfd3a9d700b27ec2766b4581638f (patch) | |
tree | 9a694aeee508c46cb1b58649d537be7c3034b912 | |
parent | [w3m-dev 03957] Location: from local-CGI (diff) | |
download | w3m-2086c1e90c3edfd3a9d700b27ec2766b4581638f.tar.gz w3m-2086c1e90c3edfd3a9d700b27ec2766b4581638f.zip |
[w3m-dev 03958] w3mimgdisplay on jfbterm
* w3mimg/fb/fb_w3mimg.c (w3mimg_fbopen): check TERM=jfbterm
From: Fumitoshi UKAI <ukai@debian.or.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | w3mimg/fb/fb_w3mimg.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2003-08-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03958] w3mimgdisplay on jfbterm + * w3mimg/fb/fb_w3mimg.c (w3mimg_fbopen): check TERM=jfbterm + 2003-08-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> * [w3m-dev 03957] Location: from local-CGI @@ -7995,4 +8000,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.858 2003/08/29 14:49:46 ukai Exp $ +$Id: ChangeLog,v 1.859 2003/08/29 15:06:52 ukai Exp $ diff --git a/w3mimg/fb/fb_w3mimg.c b/w3mimg/fb/fb_w3mimg.c index 94674ed..b67bad1 100644 --- a/w3mimg/fb/fb_w3mimg.c +++ b/w3mimg/fb/fb_w3mimg.c @@ -1,4 +1,4 @@ -/* $Id: fb_w3mimg.c,v 1.12 2003/07/07 15:48:17 ukai Exp $ */ +/* $Id: fb_w3mimg.c,v 1.13 2003/08/29 15:06:52 ukai Exp $ */ #include <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -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; } |