Date: Sun, 17 Aug 2003 11:05:06 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: fallenbr <fallenbr@uol.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: xterm: colors and keys Message-ID: <20030817100506.GB21327@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <HJQPQ3$IFTALNO03iLMZQ0hT4iO1tW8FM6pglWsD@uol.com.br> References: <HJQPQ3$IFTALNO03iLMZQ0hT4iO1tW8FM6pglWsD@uol.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
--oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 16, 2003 at 10:34:51PM -0300, fallenbr wrote: > Hello, >=20 > 1 - How can I set color on xterm? I've tried creating a .Xdefaults with "= XTerm*termName: xterm-color" on it, but nothing really changed. Make that: xterm*termName: xterm-color and make sure that your .Xdefaults is actually being read: you need to run: xrdb -merge ${HOME}/.Xdefaults somewhere in your .xsession or .xinitrc. You can tell if your setting are being picked up by running: xrdb -query xterm Most commands won't give you coloured output by default. Try 'ls -G' to see if you have succeeded in making the colourization work. =20 > 2 - I'm not being able to use the "Page down" and "Page up" keys when bro= wsing the man pages. All I get is a beep and "ESC[" output. This is strange= , because I don't recall having this problem before. What could be wrong? >=20 Sounds like you've either completely mucked up your terminal settings or been playing incautiously with lesskey(1) or you've maybe set the environment variable $LESS (or some other less-related part of the environment as detailed in less(1), lesskey(1), man(1)) with some options that make less(1) less capable. In the first case, typing 'reset' or logging out and logging back in again should restore things to normality. In the second case, check for files ${HOME}/.lesskey and ${HOME}/.less -- if you move these to other names or delete them, less should go back to the default behaviour. In the third case, well don't meddle with the environment unless you understand what you're doing with it. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/P1NSdtESqEQa7a0RAsrRAJsFZf3cTTROYmW27907cWVvO0lHoQCdGaTV e4HpbS7MdFw83/X6nLDYdiw= =YqS0 -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030817100506.GB21327>