Tako rzecze brad clawsie (w e-mailu datowanym 2007-01-08, 20:37): > hi there > > i am altering my dwm config file such that i provide a xterm command > with the option > > -e "screen -a" > > when i do this i will often see the resulting xterm only take up a > portion of the space allocated to it. for example, the prompt will > appear half way down the screen and the space above will be > inaccessible. is this is known issue?
My understanding of what happens is such that an xterm gets started with some default geometry, say 80x25; then screen is spawned inside it; *then* it gets resized to the tile size in dwm which make the prompt scroll half-way (or so) down the xterm window. This is how screen behaves upon resizing and there's nothing wrong with that. You can press ^l to have the prompt move up or just start using the terminal in its new size. (Try launching xterm in float mode and resize it manually. To see a similar behaviour.) To overcome this problem you can start xterm with -geometry of the same number of rows and colums as it has after resizing to your master tile size. This way the prompt will be where it's supposed so. If the top half of the screen is truly unusable may I suggest that you use another terminal emulator. I use rxvt-unicode and apart from the moving prompt in screen there are no problems with it. [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl -------------------. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `----------------------------------------------------------------'
