Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
Quoth David Niklas: 'I had a similar problem when I was using the propriety AMD drivers several years ago. I never solved it. I just changed drivers. My memory is hazy on the matter, but your description sounds word for word identical to my problem. 'You might tell us what GPU driver the differing kernels are using. 'The output of 1: lsmod 2: Reboot to old kernel 3: lsmod would do nicely.' The graphics modules are the same in both cases, and non-proprietary Intel (i915 & its buddies). lsmod for 4.19: Module Size Used by nls_iso8859_1 16384 0 nls_cp437 20480 0 ipv6 339968 16 fan16384 0 pcspkr 16384 0 hid_generic16384 0 snd_usb_audio 172032 2 snd_hwdep 16384 1 snd_usb_audio snd_usbmidi_lib24576 1 snd_usb_audio usb_storage53248 0 usbhid 32768 0 snd_rawmidi24576 1 snd_usbmidi_lib cdc_ether 16384 0 usbnet 28672 1 cdc_ether hid 106496 2 usbhid,hid_generic snd_seq_device 16384 1 snd_rawmidi mii16384 1 usbnet mousedev 20480 1 arc4 16384 2 ath9k 126976 0 sr_mod 24576 0 ath9k_common 16384 1 ath9k ath9k_hw 450560 2 ath9k_common,ath9k mac80211 368640 2 ath9k,ath9k_hw ath32768 3 ath9k_common,ath9k,ath9k_hw snd_hda_codec_realtek81920 1 snd_hda_codec_generic61440 1 snd_hda_codec_realtek cdrom 32768 1 sr_mod i2c_dev16384 0 cfg80211 253952 4 ath9k_common,ath9k,ath,mac80211 rfkill 20480 2 cfg80211 snd_hda_intel 28672 3 snd_hda_codec 81920 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek input_leds 16384 0 psmouse90112 0 evdev 20480 12 i915 1310720 2 i2c_algo_bit 16384 1 i915 iosf_mbi 16384 1 i915 uhci_hcd 32768 0 drm_kms_helper126976 1 i915 syscopyarea16384 1 drm_kms_helper sysfillrect16384 1 drm_kms_helper i2c_i801 24576 0 snd_hda_core 53248 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_pcm73728 5 snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core atl1c 40960 0 snd_timer 28672 1 snd_pcm intel_agp 20480 0 ehci_pci 16384 0 sysimgblt 16384 1 drm_kms_helper fb_sys_fops16384 1 drm_kms_helper drm 315392 4 drm_kms_helper,i915 ehci_hcd 49152 1 ehci_pci drm_panel_orientation_quirks16384 1 drm intel_gtt 20480 2 intel_agp,i915 snd61440 20 snd_hda_codec_generic,snd_seq_device,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi agpgart32768 3 intel_agp,intel_gtt,drm thermal20480 0 i2c_core 36864 7 drm_kms_helper,i2c_algo_bit,i2c_i801,i915,psmouse,i2c_dev,drm soundcore 16384 1 snd battery20480 0 rtc_cmos 20480 1 ac 16384 0 video 36864 1 i915 backlight 16384 2 video,i915 button 16384 0 acpi_cpufreq 16384 0 processor 45056 3 acpi_cpufreq isofs 40960 0 vfat 20480 0 fat61440 1 vfat binfmt_script 16384 0 fuse 94208 1 for 4.18.16: Module Size Used by ipv6 339968 12 fan16384 0 pcspkr 16384 0 usb_storage53248 0 hid_generic16384 0 snd_usb_audio 172032 0 snd_hwdep 16384 1 snd_usb_audio snd_usbmidi_lib24576 1 snd_usb_audio snd_rawmidi24576 1 snd_usbmidi_lib usbhid 32768 0 snd_seq_device 16384 1 snd_rawmidi hid 106496 2 usbhid,hid_generic mousedev 20480 1 arc4 16384 2 ath9k 126976 0 ath9k_common 16384 1 ath9k ath9k_hw 450560 2 ath9k_common,ath9k mac80211 364544 2 ath9k,ath9k_hw ath32768 3 ath9k_common,ath9k,ath9k_hw snd_hda_codec_realtek77824 1 snd_hda_codec_generic61440 1 snd_hda_codec_realtek i2c_dev16384 0 snd_hda_intel 28672 0 snd_hda_codec 81920 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 53248 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_pcm73728
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
On Date: Sat, 27 Oct 2018 19:06:29 -0600 russellb...@gmail.com wrote: > Quoth Paul Gilmartin, 'Context? Example? Is this in HTML? > Is it between ... tags?' > The beginning of a line before the display of characters, the > indentation of paragraphs (or whatever) , the left side of centered > lines, pretty much any reason to leave the beginning characters of a > line blank. In HTML. Beginning with kernel 4.19 (but the same lynx!) > when the screen changes blank space at the beginning of a line > inherits what was previously on the screen. > It doesn't happen in X. Oddly it *does* happen in blank > characters in the middle of a line *when* that space on the screen was > previously occupied by a colored character (such as I use lynx.lss to > make bold, italics, links...) > > russell bell Dear Russell Bell, I had a similar problem when I was using the propriety AMD drivers several years ago. I never solved it. I just changed drivers. My memory is hazy on the matter, but your description sounds word for word identical to my problem. You might tell us what GPU driver the differing kernels are using. The output of 1: lsmod 2: Reboot to old kernel 3: lsmod would do nicely. Sincerely, David ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
2018/10/28 06:41 ... Thomas Dickey: Lynx puts blanks at the beginning of each line (except headers, etc) as part of its built-in style. And I was glad when you implemented "NO_MARGINS"-"-nomargins". To me it always seemed backwards that the bulk of the text was indented and the headers were not--no indenting at all seems better than that. ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
>> Your symptoms sound potentially like what happens when one output >> layer believes that the TAB character overwrites the columns it >> passes over with spaces, while the actual output hardware just moves >> the cursor' > [...] I think lynx doesn't use TABs, does it? Not in its own right, perhaps. But the underlying cursor-update code (libcurses or whatever it's built with) may well use tabs in order to reduce characters sent to the terminal. (This is a historical relic in many respects, but it still does matter in some cases.) > HTML treats TABs as single SPACEs, right? If so, a browser asserting > one would be un-HTML. You're confusing tabs on _input_ to lynx, from HTML, with tabs on _output_ from lynx, generated by the screen update code. What the outlined problem actually sounds like to me is screen update code that doesn't realize that spaces can have visible attributes. This is a reasonable assumption when attributes are things like "bold" or "italic"; it is not for attributes like "reverse video" or "yellow on blue". This sounds to me like some code thinking that a character cell doesn't need to be updated because it has a space in it and the new character is a space, without noticing that they have visibly different attributes. Unfortunately, if this is what's going on, the relevant code is probably not in lynx, instead being in the underlying screen-update library, and thus not under lynx's control. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
On Sat, Oct 27, 2018 at 07:06:29PM -0600, russellb...@gmail.com wrote: > > Quoth Paul Gilmartin, 'Context? Example? Is this in HTML? > Is it between ... tags?' > The beginning of a line before the display of characters, the > indentation of paragraphs (or whatever) , the left side of centered > lines, pretty much any reason to leave the beginning characters of a > line blank. In HTML. Beginning with kernel 4.19 (but the same lynx!) > when the screen changes blank space at the beginning of a line > inherits what was previously on the screen. > It doesn't happen in X. Oddly it *does* happen in blank > characters in the middle of a line *when* that space on the screen was > previously occupied by a colored character (such as I use lynx.lss to > make bold, italics, links...) Lynx puts blanks at the beginning of each line (except headers, etc) as part of its built-in style. curses (or whatever) renders that, but if your terminal description is inconsistent with the terminal, curses will be confused and not repaint parts of the screen. ...if the problem appears in some distribution (versus a self-built kernel), others can comment on the issue -- Thomas E. Dickey https://invisible-island.net ftp://ftp.invisible-island.net signature.asc Description: Digital signature ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
I'd still like to know where the relevant code is. I looked up 'blank'; the routine in LYCurses.c made no difference. I see likely stuff in GridText.c, but I'm unsure. Retained artifacts are only from the same virtual terminal. If I switch to another VT then back the display is proper. lynx thinks that artifacts are part of the screen: the 'end' key retains artifacts that are below the stuff that's supposed to be displayed. Control-r doesn't fix the display. russell bell ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
On 2018-10-27, at 19:06:29, russellbell wrote: > > Quoth Paul Gilmartin, 'Context? Example? Is this in HTML? > Is it between ... tags?' > The beginning of a line before the display of characters, the > indentation of paragraphs (or whatever) , the left side of centered > lines, pretty much any reason to leave the beginning characters of a > line blank. In HTML. Beginning with kernel 4.19 (but the same lynx!) > when the screen changes blank space at the beginning of a line > inherits what was previously on the screen. > It doesn't happen in X. Oddly it *does* happen in blank > characters in the middle of a line *when* that space on the screen was > previously occupied by a colored character (such as I use lynx.lss to > make bold, italics, links...) > Clearly, there are bugs there, particularly the hangover. But, otherwise: This is the first line of text. This is the second. can be, and properly is, rendered as This is the first line of text. This is the second. (depending on display width). And even: This is the first line of text. This is the second. as: This is the first line of text. This is the second. ... markup changes those rules. -- gil ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
Quoth Paul Gilmartin, 'Context? Example? Is this in HTML? Is it between ... tags?' The beginning of a line before the display of characters, the indentation of paragraphs (or whatever) , the left side of centered lines, pretty much any reason to leave the beginning characters of a line blank. In HTML. Beginning with kernel 4.19 (but the same lynx!) when the screen changes blank space at the beginning of a line inherits what was previously on the screen. It doesn't happen in X. Oddly it *does* happen in blank characters in the middle of a line *when* that space on the screen was previously occupied by a colored character (such as I use lynx.lss to make bold, italics, links...) russell bell ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
On 2018-10-27, at 10:58:25, russellbell wrote: > > Yeah, what? > Context? Example? Is this in HTML? Is it between ... tags? -- gil ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev