Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm
Đã lưu trữ

When i go to a text file with unix line endings, I get one long line on my display.

cor-el đã trả lời
lkreinitz

When i load some text files. I get one long line I'm pretty sure that whatever firefox is using to display text does not handle unix line endings. I suspect that if I change the viewer it is using the problem will go away. How might I do that?

When i load some text files. I get one long line I'm pretty sure that whatever firefox is using to display text does not handle unix line endings. I suspect that if I change the viewer it is using the problem will go away. How might I do that?

Tất cả các câu trả lời (2)

You can use Notepad++ it is a tabbed editor though so be sure to save or close when finished or you might downgrade your actual files later on.

That file is send as text/html and not as text/plain, so white-space including line breaks gets rendered as in html and you would need <br> to get a new line.

Use View Page Source in such cases or prefix the link with the view-source: protocol.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • Right-click on a web page to open the right-click context menu and select Page Source

Được chỉnh sửa bởi cor-el vào