Illegal symbols

Forums Desktop Info Illegal symbols

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #5628
      first lastfirst last
      Participant

        My old Dell notebook has a wifi module: “Dell Wireless 1703 802.11b|g|n [2.4GHz]”
        and DesktopInfo can’t display it normally (in one row, not three).

        Need help.

      • #5629
        GlennGlenn
        Keymaster

          The pipe symbol ‘|’ is used by DTI to denote a new line in the display template. There’s an undocumented common option you can use to disable that for a single item called multirow.

          comment = text:this|is|multirow, multirow:0

        • #5637
          first lastfirst last
          Participant

            Notebook has two network interfaces: lan and wifi.
            My config line:

            NETWORKINTERFACES=interval:30,operstatus:1,iftype:6 23 71,row-text:%2,display:%3|%8/%10\, %24[1.0B]Bps

            How to use your advice?

          • #5638
            GlennGlenn
            Keymaster

              hrm…. It doesn’t work well in that case. Need to find a way to transform the raw data before it gets to the display.

              Regular expressions here we come…..

              • This reply was modified 10 months ago by GlennGlenn.
            • #5640
              first lastfirst last
              Participant

                Maybe simply perform the pre-formatting of variables? (replace “|” with “/”, for example).

                • #5641
                  GlennGlenn
                  Keymaster

                    that’s the plan… regular expressions is how we’ll do it.

              Viewing 4 reply threads
              • You must be logged in to reply to this topic.
              Glenn's Page