LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2010, 11:55 AM   #1
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Xterm & Fluxbox sizing and text wrap-around issue


Hello,

I just thought I'd post my findings on an issue I have had with Xterm and Fluxbox, and to help with anyone that might experience the problem in the future. It took me a while to work out )

Opening an Xterm window with fluxbox WM *ocassionally* causes text wrap-around to next line to fail. It seems that theres a bug (if it can be called a bug), where xterm sets its geometry on startup, then fluxbox resizes the xterm window if there is an xterm entry in the FB apps file, however xterm is still subject to its initial geometry settings which causes the problem.

to resolve, use the -wf option to xterm:

Code:
xterm -wf
from the man page:

Quote:
(This option indicates that xterm should wait for the window to be mapped the first time before starting the subprocess so that the initial terminal size settings and environment variables are correct. It is the application's responsibility to catch subsequent terminal size changes.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg Fluxbox xterm fonts issue kushalkoolwal Debian 4 01-27-2009 03:31 PM
"enscript --word-wrap" does not wrap line of text file powah Linux - General 3 05-16-2006 10:12 PM
vim text wrap problem darknails Linux - Software 1 12-06-2005 07:54 AM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 04:51 AM
Line wrap errors with ssh / xterm / bash and up-arrow to edit brycen Linux - Software 0 09-22-2004 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration