Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: TERM



Hi TjL,

2011/8/30 TJ Luoma <luomat@xxxxxxxxx>:
> How do I know which TERM I should use?
>
> Is it determined by the terminal application that I am using (i.e.
> Terminal.app or iTerm on Mac OS X, or "Screens" on iPad), or is there a
> decent "baseline" I ought to be able to use safely?

If you mean $TERM, you shouldn't have to set it by hand (ie. it
depends on the terminal you are using).

> I'm not entirely sure what TERM really does, other than control whether or
> not 'ls' will output color, or whether color can be used in zsh's $PROMPT.

It can be used to know which control codes are supported, for example
(to set the window / tab title, for colors, cursor movements…)

> I've used "vt100" for ages, but it appears that pretty limited w/r/t colors,
> etc.

Try xterm, rxvt, rxvt-256color…

Best regards,

-- 
Jérémie



Messages sorted by: Reverse Date, Date, Thread, Author