As rxvt-unicode users know, since version 9.31, the log in prompt can turn up in odd positions. In my case, it happens with dwm, where a terminal is the full height of the screen. The login prompt shows up in the middle, rather than the top.
I had, in past, posted that a linux patch that I'd found on the Arch Wiki helped and would compile on FreeBSD, but l recently, I found a lazier solution. Also on the Arch Wiki page, https://wiki.archlinux.org/title/Rxvt-unicode, in the trouble shooting section, under wrong shell prompt placement after upgrading to 9.31, they mention fixing it by adding
a line in $HOME/.Xdefaults (or $HOME/.Xresources. The line is
As the wiki article says, every environment is different so this may not work for some. I also use openbox and if I have this entry in there, it messes up, not only the placement but the terminal size. Actually, in openbox, where the terminal is a standard 80x24, I don't have this problem, so on a machine where I just use openbox, I don't bother with the .Xdefaults entry.
These days, I find that I use alacritty as my main terminal, but every once awhile I like to go back to urxvt. In this case, I saw that there had been an update, from 9.31, to 9.32 and wondered if the issue had been fixed. When I found it hadn't, I once again, went back to the Arch wiki article as I'd forgotten how I fixed it last time.
TLDR; If using dwm or another window manager that has the terminal full height, urxvt shows the prompt in the middle of the screen. This can be fixed by adding URxvt*geometry: 80x -1. If using openbox, fluxbox, or anything else with an 80x24 terminal, this probably won't affect you.
I had, in past, posted that a linux patch that I'd found on the Arch Wiki helped and would compile on FreeBSD, but l recently, I found a lazier solution. Also on the Arch Wiki page, https://wiki.archlinux.org/title/Rxvt-unicode, in the trouble shooting section, under wrong shell prompt placement after upgrading to 9.31, they mention fixing it by adding
a line in $HOME/.Xdefaults (or $HOME/.Xresources. The line is
Code:
URxvt*geometry: 80x-1
As the wiki article says, every environment is different so this may not work for some. I also use openbox and if I have this entry in there, it messes up, not only the placement but the terminal size. Actually, in openbox, where the terminal is a standard 80x24, I don't have this problem, so on a machine where I just use openbox, I don't bother with the .Xdefaults entry.
These days, I find that I use alacritty as my main terminal, but every once awhile I like to go back to urxvt. In this case, I saw that there had been an update, from 9.31, to 9.32 and wondered if the issue had been fixed. When I found it hadn't, I once again, went back to the Arch wiki article as I'd forgotten how I fixed it last time.
TLDR; If using dwm or another window manager that has the terminal full height, urxvt shows the prompt in the middle of the screen. This can be fixed by adding URxvt*geometry: 80x -1. If using openbox, fluxbox, or anything else with an 80x24 terminal, this probably won't affect you.