[elinks-users] Elinks - title resets to $TERM not what it originally was
I am using gnome-terminal whose default title is Terminal. However after use of Elinks, the title becomes the value of $TERM rather than Terminal. Is this expected behaviour? If so, is there a way to make Elinks reset to the original title rather than $TERM? Else should I enter this as a bug? (I know about ui.window_title, not looking to turn off title handling completely). Thank you. saurabh _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969 ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
[elinks-users] Elinks mouse handling and GPM
Hi, When vt220 terminal is used for Elinks (0.12pre5) on Linux (redhat el5), it hangs at startup in Gpm_open. This seems to be a bug in GPM, so I recompiled Elinks with --without-gpm, but was surprised to find the mouse handling still works. Out of curiosity, what does Elinks use in the absence of GPM for mouse handling? And what do I lose by using this fallback instead of GPM? Thank you. saurabh _ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] elinks-users Digest, Vol 698, Issue 1
2nd question was: how do I search for keywords in the archives? I would use Google. For example, search site:mail-archive.com inurl:elinks-users customize elinks: http://www.google.com/search?q=site%3Amail-archive.com%20inurl%3Aelinks-users%20customize%20elinks or site:gmane.org inurl:elinks customize elinks: http://www.google.com/search?q=site%3Agmane.org%20inurl%3Aelinks%20customize%20elinks snip While I'm sending this reply, I'll reply to your first question, as well. I'm surprised nobody has mentioned (unless I missed it) that one can run ELinks in programs such as GNU Screen, Good stuff, those Google-tips, thanks! Also a good excuse to start spending time finally with screen, which I had planned but almost forgotten about. Ludo ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Elinks - title resets to $TERM not what it originally was
On Tue, Jul 06, 2010 at 04:43:02PM +, Saurabh T wrote: I am using gnome-terminal whose default title is Terminal. However after use of Elinks, the title becomes the value of $TERM rather than Terminal. Is this expected behaviour? If so, is there a way to make Elinks reset to the original title rather than $TERM? Else should I enter this as a bug? (I know about ui.window_title, not looking to turn off title handling completely). Thank you. If ELinks is compiled with X support, then on X, it can grab the terminal title when it starts and restore that title when it exits. Otherwise, ELinks is hardcoded to set the value of $TERM. ELinks needs to be compiled with the X libraries in order to be able to grab the terminal title. Did you have the libx11-devel package installed when you compiled ELinks? -- Miciah Dashiel Butler Masters miciah.mast...@gmail.com ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] why use elinks? and how to search archives?
Ludo Beckers wrote: 1337 desktop That's script-kiddie language for elite desktop, they substitute 1 for l, 3 for E, 7 for T and so on. I have no idea what a 1337 desktop would look like, maybe either no graphics at all or laden with icons, shortcuts and whatever fancy, useless stuff there is. to dump a page That's something most GUI browsers let you do only with addons: take a page from the internet and store a text-only version of it, without any HTML mumble. elinks -force-html -dump-charset UTF-8 -dump is the command I use to convert much hated HTML emails to readable text. access ip via ssh People use ssh some-remote-site to login elsewhere. The remote site issues a command prompt on their local terminal. They can enter any command, including elinks as long as their local terminal understands the escape sequences sent by elinks. clemens ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Elinks - title resets to $TERM not what it originally was
If ELinks is compiled with X support, then on X, it can grab the terminal title when it starts and restore that title when it exits. Otherwise, ELinks is hardcoded to set the value of $TERM. ELinks needs to be compiled with the X libraries in order to be able to grab the terminal title. Did you have the libx11-devel package installed when you compiled ELinks? --- I tried rebuilding Elinks with --with-x. This didnt actually do anything, so I manually defined HAVE_X11 in config.h and had to add #define _X_SENTINEL(x) __attribute__ ((__sentinel__(x))) #define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y))) above the #include X11/Xlib.h line in src/osdep/osdep.c. Still the behaviour did not change. I ran elinks under the debugger and as it turns out, get_window_title() returns an empty string which it gets from XGetWMName. On exit from Elinks, free_itrm() is called and due to itrm-orig_title being empty, it defaults to using $TERM. So essentially, the behaviour is unchanged after compiling with X. Running xprop on the terminal shows the window name is indeed Terminal, so the next thing I tried was to change the next line in get_window_title(): - while (!x_error (!status || !text_prop.value)) { + while (!x_error (!status || !text_prop.value || !*text_prop.value)) { and this actually works. I hope someone will verify this is correct and patch the codebase. Thanks for the help. saurabh _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users