aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 03559] Re: use select instead of signal for loading imagesFumitoshi UKAI2002-12-111-4/+6
| | | | | | | | | | | | | | | | * fm.h (Buffer): add image_loaded * image.c (W3M_SIGIMG): deleted (image_lock): deleted (need_load_image): deleted (load_image_handler): deleted (load_image_next): deleted (getAllImage): check image_loaded (loadImage): delete image_lock delete IMG_FLAG_NEXT * main.c (main): check image_loaded * proto.h (sleep_till_anykey): return int * terms.c (sleep_till_anykey): return int From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writableFumitoshi UKAI2002-12-041-2/+3
| | | | | * terms.c (reset_tty): don't close stderr From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03450] Re: cygwin console on Win9XFumitoshi UKAI2002-11-191-1/+5
| | | | | | * terms.c (mouse_init): ifdef __CYGWIN__ (mouse_end): ditto From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
* fix indentFumitoshi UKAI2002-11-151-2/+2
|
* [w3m-dev 03434] Re: cygwin console on Win9XFumitoshi UKAI2002-11-151-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | * terms.c (cygwin_mouse_btn_swapped): ifdef USE_MOUSE (lastConMouse): deleted (check_win9x): static (read_win32_console): static (GetConsoleHwnd): static (cygwin_version): ifdef USE_MOUSE, static (check_cygwin_console): static (NEED_XTERM_ON): added (NEED_XTERM_OFF): added (NEED_CYGWIN_ON): added (NEED_CYGWIN_OFF): added (XTERM_TITLE): static char[] (SCREEN_TITLE): static char[] (CYGWIN_TITLE): static char[] (term_title): check title_str * terms.h (LASTLINE): added (is_xterm): deleted (enable_win9x_console_input): extern (disable_win9x_console_input): extern (NEED_XTERM_ON): deleted (NEED_XTERM_OFF): deleted From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2002-11-151-13/+13
|
* [w3m-dev 03433] cygwin console on Win9XFumitoshi UKAI2002-11-151-155/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure (config.h): SUPPORT_WIN9X_CONSOLE_MBCS * linein.c (inputLineHistSearch): enable_win9x_console_input() disable_win9x_console_input() * main.c (mouse): cygin_mouse_btn_swapped * terms.c (is_xterm): static (isLocalConsole): added (cygwin_mouse_btn_swapped): added (check_win32_console): deleted (check_win9x): added (init_win32_console_handle): check ttyslot() (enable_win9x_console_input): added (disable_win9x_console_input): added (read_win32_console_input): delete ifdef MOUSE (cmp_tv): deleted (subtract_tv): deleted (GetConsoleHwnd): added (cygwin_version): added (select_or_poll_win32_console): deleted (check_cygwin_console): added (select_win32_console): deleted (set_tty): check_cygin_console() (term_title): SetConsoleTitle() (CYGWIN_ON): added (CYGIN_OFF): added (mouse_init): NEED_CYGWIN_ON (mouse_end): NEED_CYGWIN_OFF * terms.h (cygwin_mouse_btn_swapped): added (enable_win9x_console_input): added (disable_win9x_console_input): added (NEED_CYGWIN_ON): added (NEED_CYGWIN_OFF): added From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
* [w3m-dev 03379] setuid w3mimgdisplay and check console ttyFumitoshi UKAI2002-11-061-1/+7
| | | | | | | | | | | | | | | | | | | | | | | * XMakefile: w3mimgdisplay install by INSTALL_W3MIMGDISPLAY * configure: ask setuid w3mimgdisplay (w3mimgdisplay_setuid): added (INSTALL_W3MIMGDISPLAY): added * etc.c (mySystem): close until FOPEN_MAX * image.c (openImgdisplay): setenv W3M_TTY stderr to /dev/null close until FOPEN_MAX * install-sh: -o, -g for owner, group * proto.h (ttyname_tty): added * search.c (open_migemo): stderr to /dev/null close until FOPEN_MAX * terms.c (ttyname_tty): added * w3mimgdisplay.c: include <sys/types.h>, <unistd.h> W3MIMGDISPLAY_SETUID stderr to /dev/null * w3mimg/w3mimg.c: include <sys/types.h>, <unistd.h> W3MIMGDISPLAY_SETUID * w3mimg/fb/fb_w3mimg.c (check_tty_console): added From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03297] TERM=mltermFumitoshi UKAI2002-09-091-1/+2
| | | | | * terms.c (w3m_term_info_list): add mlterm From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
* terms.c (set_tty): s/term_info/w3m_term_info/g;Fumitoshi UKAI2002-03-271-17/+17
| | | | | | struct term_info is defined in FreeBSD's sys/consio.h reported by KOIE Hidetaka <hide@koie.org> From: Fumitoshi UKAI <ukai@debian.or.jp>
* terms.c (term_title): use ttyf instead of stderrFumitoshi UKAI2002-03-201-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* indent fixFumitoshi UKAI2002-03-151-3/+3
|
* -title supportFumitoshi UKAI2002-03-151-16/+48
| | | | | | | | | | | | | | | | | | | | modified [w3m-dev-en 00710] contrib: unofficial "xterm title" patch, updated for w3m-0.3 by Moritz Barsnick <barsnick@gmx.net> * NEWS: -title * fm.h (displayTitleTerm): added * proto.h (term_title): added * main.c (fusage): add -title (MAIN): add -title (quitfm): term_title("") * display.c (displayBuffer): term_title() * terms.c (title_str): added (TERM_INFO): added (term_info): modified from mouse_term_info (term_info_list): modified from xterm_mouse_term add "screen" (set_tty): check displayTitleTerm (term_title): added From: Fumitoshi UKAI <ukai@debian.or.jp>
* w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz)Fumitoshi UKAI2002-01-311-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: w3m-img merge * .cvsignore: add w3mimgdisplay, w3mimgsize * XMakefile: add image.c to SRCS add image.o to OBJS add IMGDISPLAY, IMGSIZE * config.h.dist: USE_IMAGE, IMGSIZE, IMGDISPLAY * configure: add find_imlib ask use_image (config.h) add $imgtarget to EXT_TARGETS $def_use_image IMGSIZE, IMGDISPLAY * fm.h (MAX_IMAGE): added * fm.h (DEFAULT_PIXEL_PER_CHAR): fix for USE_IMAGE * fm.h (DEFAULT_PIXEL_PER_LINE): added * fm.h (B_REDRAW_IMAGE): added * fm.h (IMG_FLAG_SKIP): added * fm.h (IMG_FLAG_AUTO): added * fm.h (IMG_FLAG_START): added * fm.h (IMG_FLAG_STOP): added * fm.h (IMG_FLAG_NEXT): added * fm.h (IMG_FLAG_UNLOADED): added * fm.h (IMG_FLAG_LOADED): added * fm.h (IMG_FLAG_ERROR): added * fm.h (MapArea): added * fm.h (MapList): s/urls/alts/, add area * fm.h (ImageCache): added * fm.h (Image): added * fm.h (Anchor): add image * fm.h (Buffer): add imarklist, image_flag, need_reshape * fm.h (RG_FRAME_SRC): added * fm.h (ALIGN_MIDDLE): added * fm.h (ALIGN_TOP): added * fm.h (ALIGN_BOTTOM): added * fm.h (QuietMessage): added * fm.h (Imgdisplay): added * fm.h (Imgsize): added * fm.h (activeImage): added * fm.h (displayImage): added * fm.h (autoImage): added * fm.h (useExtImageViewer): added * fm.h (image_source): added * fm.h (view_unseenobject): change default if USE_IMAGE * fm.h (set_pixel_per_char): added * fm.h (pixel_per_line): added * fm.h (set_pixel_per_line): added * fm.h (image_scale): added * proto.h (dispI): added * proto.h (stopI): added * proto.h (deleteImage): added * proto.h (getAllImage): added * proto.h (loadImage): added * proto.h (getImage): added * proto.h (getImageSize): added * proto.h (process_img): add width arg * proto.h (loadImageBuffer): added * proto.h (follow_map_menu): add a_img arg * proto.h (getMapXY): added * proto.h (newMapArea): added * proto.h (touch_cursor): added * proto.h (cURLcode): added * proto.h (initImage): added * proto.h (termImage): added * proto.h (addImage): added * proto.h (drawImage): added * proto.h (clearImage): added * anchor.c (addMultirowsImg): added * buffer.c (discardBuffer): deleteImage if USE_IMAGE * buffer.c (reshapeBuffer): buf->need_reshape check * display.c (fmTerm): if activeImage, stop load image * display.c (fmInit): if displayImage, initImage * display.c (image_touch): added * display.c (draw_image_flag): added * display.c (redrawLineImage): added * display.c (displayBuffer): buf->need_reshape = TRUE mode == B_REDRAW_IMAGE image flag checks force redraw image in mode == B_REDRAW_IMAGE displayBuffer if need reshape drawImage * display.c (redrawNLine): redrawLineImage * display.c (redrawLineImage): added * display.c (disp_message_nsec): return immediately if QuietMessage * etc.c (reset_signals): ignore SIGUSR1 * file.c (frame_source): added * file.c (_MoveFile): added * file.c (cur_baseURL): added * file.c (cur_document_code): added * file.c (cur_iseq): added * file.c (loadGeneralFile): fix fmInitialized and prevtrap checks save cur_baseURL image_source load loadImageBuffer for "image/*" frame_source flag fix b->type when proc is loadImageBuffer * file.c (process_img): add width arg parse height and width attr, align fix for inline-image * file.c (process_input): fix for form <input type="image"> * file.c (HTMLtagproc1): pass h_env->limit to process_img() fix <img_alt> for inline-image save cur_baseURL * file.c (HTMLlineproc2body): fix <img_alt> for inline-image * file.c (loadHTMLstream): fix for inline-image fix fmInitialized and prevtrap checks save cur_document_code save image_flag * file.c (loadGopherDir): save cur_document_code fix fmInitialized and prevtrap checks * file.c (loadImageBuffer): added for inline-image * file.c (save2tmp): fix fmInitialized and prevtrap checks * frame.c (frame_download_source): set RG_FRAME_SRC flag image check * funcname.tab (DISPLAY_IMAGE): added * funcname.tab (STOP_IMAGE): added * html.c (ALST_IMG): add align, ismap * html.c (ALST_AREA): add shape, coords * html.c (ALST_IMG_ALT): add width, height, usemap, ismap, hseq, xoffset, yoffset, top_margin, bottom_margin * html.c (AttrMap): add shape, coords, ismap, xoffset, yoffset * html.h (ATTR_SHAPE): added * html.h (ATTR_COORDS): added * html.h (ATTR_ISMAP): added * html.h (ATTR_XOFFSET): added * html.h (ATTR_YOFFSET): added * html.h (ATTR_TOP_MARGIN): added * html.h (ATTR_BOTTOM_MARGIN): added * html.h (SHAPE_UNKNOWN): added * html.h (SHAPE_DEFAULT): added * html.h (SHAPE_RECT): added * html.h (SHAPE_CIRCLE): added * html.h (SHAPE_POLY): added * image.c: added * main.c (fversion): add USE_IMAGE * main.c (fusage): -ppl option * main.c (MAIN): set_pixel_per_char if ppc specified -ppl option loadImage * main.c (pushBuffer): deleteImage * main.c (quitfm): termImage * main.c (selBuf): deleteImage * main.c (followA): fix for inline-image and map area * main.c (query_from_followform): getMapXY() * main.c (setOpt): displayBuffer B_REDRAW_IMAGE * main.c (follow_map): fix calculate x, y * main.c (dispI): added * main.c (stopI): added * map.c: include <math.h> * map.c (inMapArea): added * map.c (follow_map_menu): add a_img arg to handle inline-image * map.c (follow_map_panel): use MapArea * map.c (getMapXY): added * map.c (newMapArea): added * menu.c (smChBuf): deleteImage * parsetagx.c (toAlign): align top, bottom, middle * rc.c (P_SCALE): added * rc.c (CMT_PIXEL_PER_LINE): added * rc.c (CMT_DISP_IMAGE): added * rc.c (CMT_AUTO_IMAGE): added * rc.c (CMT_EXT_IMAGE_VIEWER): added * rc.c (CMT_IMAGE_SCALE): added * rc.c (CMT_IMGDISPLAY): added * rc.c (CMT_IMGSIZE): added * rc.c (show_param): P_PIXELS * rc.c (set_param): P_PIXELS * rc.c (sync_with_option): initImage * rc.c (to_str): P_PIXELS * table.c (feed_table_tag): fix <img> for inline-image * tagtable.tab (image): added * terms.c (wgetch): retry read when EINTR or EAGAIN * terms.c (touch_cursor): added * w3mimgdisplay.c: added * w3mimgsize.c: added * doc/README.func (DISPLAY_IMAGE): added * doc/README.func (STOP_IMAGE): added * doc/README.img: added * doc-jp/README.func (DISPLAY_IMAGE): added * doc-jp/README.func (STOP_IMAGE): added * doc-jp/README.img: added * scripts/w3mhelp.cgi.in: show dispI, stopI * scripts/multipart/multipart.cgi.in: inline image support From: Fumitoshi UKAI <ukai@debian.or.jp>
* [#496613] LASTLINE in terms.cFumitoshi UKAI2001-12-251-5/+5
|
* [w3m-dev 02723] cleanup resizingFumitoshi UKAI2001-12-251-4/+1
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02667]Fumitoshi UKAI2001-12-171-3/+5
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02666] resizing on xterm with gpm supportFumitoshi UKAI2001-12-151-4/+9
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-12-141-116/+127
|
* [w3m-dev 02541] mouse support on cygwinFumitoshi UKAI2001-12-121-98/+176
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02646]Fumitoshi UKAI2001-12-091-9/+4
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02605]Fumitoshi UKAI2001-12-021-2/+2
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02593]Fumitoshi UKAI2001-11-301-3/+2
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02586] code cleanup againFumitoshi UKAI2001-11-291-2/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02584] code cleanup againFumitoshi UKAI2001-11-291-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-11-241-125/+136
|
* [w3m-dev 02511]Fumitoshi UKAI2001-11-221-1/+2
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02509]Fumitoshi UKAI2001-11-221-4/+197
| | | | cygwin mouse support
* [w3m-dev 02481] Re: #ifdef cleanupFumitoshi UKAI2001-11-211-41/+38
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02480] new configureFumitoshi UKAI2001-11-211-6/+4
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02479] #ifdef cleanupsFumitoshi UKAI2001-11-211-11/+8
| | | | make -> $(MAKE)
* [w3m-dev 02472] cleanup CYGWIN macroFumitoshi UKAI2001-11-211-5/+5
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02447] XTerm's mouse sequence should be skipped?Fumitoshi UKAI2001-11-191-1/+9
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* Gpm_Close() is required.Fumitoshi UKAI2001-11-191-1/+5
| | | | closes: Debian Bug#120221: w3m-ssl: trashes terminal on exit
* add cygwin as xterm-style mouse terminalFumitoshi UKAI2001-11-191-4/+16
|
* follow autoconf conventions, #include cleanupsFumitoshi UKAI2001-11-161-41/+39
|
* tgetstr("Km", &pt) cannot be used to detect is_xterminu-0-2-2-baseFumitoshi UKAI2001-11-161-13/+10
|
* fix mouse handling on TERM=linuxFumitoshi UKAI2001-11-161-8/+12
|
* Update to w3m-0.2.1-inu-1.6.Akinori Ito2001-11-151-5/+13
|
* Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5Akinori Ito2001-11-091-45/+51
|
* Initial revisionAkinori Ito2001-11-081-0/+1839