mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Update with new UTF-8 environment variable information for 0.9.
This commit is contained in:
		
							
								
								
									
										9
									
								
								FAQ
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								FAQ
									
									
									
									
									
								
							| @@ -87,9 +87,10 @@ for each tmux window or globally by setting the "utf8" flag: | ||||
|  | ||||
| 	setw -g utf8 on | ||||
|  | ||||
| And, as it is not possible to automatically detect that a terminal is UTF-8 | ||||
| capable, tmux must be told by passing the -u flag when creating or | ||||
| attaching a client to a tmux session: | ||||
| As of release 0.9, tmux attempts to autodetect a UTF-8-capable terminal by | ||||
| checking the LC_ALL, LC_CTYPE and LANG environment variables. list-clients may | ||||
| be used to check if this is detected correctly; if not, the -u command-line | ||||
| flag may be specified when creating or attaching a client to a tmux session: | ||||
|  | ||||
| 	  $ tmux -u new | ||||
|  | ||||
| @@ -193,4 +194,4 @@ terminal in use (set through TERM) request it. PuTTY can be told to ignore such | ||||
| requests: in the configuration window under Terminal -> Features, check the | ||||
| "Disable remote-controlled terminal resizing" box. | ||||
|  | ||||
| $Id: FAQ,v 1.22 2009-05-14 18:43:02 nicm Exp $ | ||||
| $Id: FAQ,v 1.23 2009-07-01 19:49:56 nicm Exp $ | ||||
|   | ||||
							
								
								
									
										8
									
								
								NOTES
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								NOTES
									
									
									
									
									
								
							| @@ -55,8 +55,10 @@ xterm-color or rxvt for colour. | ||||
|  | ||||
| tmux supports UTF-8. To use it, the utf8 option must be set on each window; | ||||
| this may be turned on for all windows by setting it as a global option, see | ||||
| tmux(1) and the FAQ file. In addition, when starting tmux or attaching to an | ||||
| existing session from a UTF-8-capable terminal, the -u flag must be specified. | ||||
| tmux(1) and the FAQ file. As of 0.9, tmux attempts to autodetect a | ||||
| UTF-8-capable terminal by checking the LC_ALL, LC_CTYPE and LANG environment | ||||
| variables. list-clients may be used to check if this is detected correctly; if | ||||
| not, the -u command-line flag may be specified. | ||||
|  | ||||
| A Vim syntax file is available in the examples directory. To install it: | ||||
|  | ||||
| @@ -85,4 +87,4 @@ welcome. Please send by email to: | ||||
|  | ||||
| -- Nicholas Marriott <nicm@users.sf.net> | ||||
|  | ||||
| $Id: NOTES,v 1.47 2009-07-01 19:33:11 nicm Exp $ | ||||
| $Id: NOTES,v 1.48 2009-07-01 19:49:56 nicm Exp $ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nicholas Marriott
					Nicholas Marriott