Noted that xterm by default uses 24 lines per window. I have reviewed /etc/termcap looking for a specific entry for xterm that I can edit to change the ln#24 to ln#25 for our application. When I used RedHat there was an editable option to change the number of displayable lines as is done in putty. Any suggestions? --Hal. -- Hal Davison Observe Goal, Set the course, Burn the map Davison Consulting This correspondence was composed using Dragon Speaking Version 10 Peg#: 2007011701
Hal Davison wrote, On 02/04/2011 05:33 PM:> Noted that xterm by default uses 24 lines > per window. > > I have reviewed /etc/termcap looking for a > specific entry for xterm that I can edit > to change the ln#24 to ln#25 for our > application. > > When I used RedHat there was an editable > option to change the number of displayable > lines as is done in putty. > > > Any suggestions? > > --Hal. >find the info in man about size. man xterm /geometry /geometry and /geometry /geometry -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
On Fri, Feb 04, 2011, Hal Davison wrote:>Noted that xterm by default uses 24 lines >per window. > >I have reviewed /etc/termcap looking for a >specific entry for xterm that I can edit >to change the ln#24 to ln#25 for our >application. > >When I used RedHat there was an editable >option to change the number of displayable >lines as is done in putty.At the command line: 'xterm -geometry 80x25'. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 ...it does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people's minds... -- Samuel Adams
On Fri, 4 Feb 2011, Hal Davison wrote:> Noted that xterm by default uses 24 lines > per window. > > I have reviewed /etc/termcap looking for a > specific entry for xterm that I can edit > to change the ln#24 to ln#25 for our > application.Text-mode applications should get their screen size from the terminal settings, i.e. directly from the kernel, unless that information is missing. If you run 'xterm -geometry 80x25' you get a terminal that has the size you're looking for. The 'stty -a' command will show the actual dimensions, btw. Editing the geometry in termcap/terminfo will not do anything unless you use a real serial port to connect to your system, xterm et. al. will override it. Ge'
On Fri, 4 Feb 2011, Hal Davison wrote:> Noted that xterm by default uses 24 lines > per window. > > I have reviewed /etc/termcap looking for a > specific entry for xterm that I can edit > to change the ln#24 to ln#25 for our > application. > > When I used RedHat there was an editable > option to change the number of displayable > lines as is done in putty.That's usually done by setting xterm's geometry resource. (changing the termcap won't have the desired effect) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net