I'm sshing to a server using -Y and I'm trying to get the default terminal foreground colour that xterm is using, which is stored in .Xresources. I
have put this in my .zshrc:
[ -n "$DISPLAY" ] && xrdb load .Xresources
If I launch an xterm and printf the code to print bold text it works
fine. If I try to print bold text without launching an xterm it prints
bold white instead. Is there any way of getting bold my foreground colour
in just a ssh session without actually launching an X Windows app?
Thanks for any info.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 292 |
Nodes: | 16 (2 / 14) |
Uptime: | 207:51:39 |
Calls: | 6,618 |
Files: | 12,168 |
Messages: | 5,317,011 |