Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why can I select tabs in xterm?

select tabs xterm
0
Posted

Why can I select tabs in xterm?

0

This issue was noted early on, here in 1997. Xterm is copying from the screen, which stores only printable characters. That includes spaces and line-drawing characters. But tabs are special; they are used for more than one purpose. If the screen is cleared in some part, that stores nulls. Cursor addressing does not fill in nulls as it jumps around, though xterm does supply blanks for the most useful cases, especially when getting data for a selection. Full-screen programs such as text-editors tend to write in random fashion, and generally do not print nulls to the screen. Curses on the other hand, may supply tabs where you thought there were none. Also, the terminal driver can expand tabs (and often is set to do this by default). So the whole thing is unreliable: unless you make special arrangements for each of the programs running inside xterm, you would often get a tab when you expect, and vice versa. For the special case where your expectations would match the available data, it is

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123