Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

OSX Terminal support #5

Open
ciembor opened this Issue Aug 23, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Owner

ciembor commented Aug 23, 2012

Some people were asking for OSX terminal support. It looks to be very tricky: http://www.reddit.com/r/osx/comments/yp6ea/how_is_terminalapp_data_coded/

Owner

ciembor commented Aug 24, 2012

Values are indeed coded with base64. Here are some decoded values from https://github.com/tomislav/osx-lion-terminal.app-colors-solarized/blob/master/Solarized%20Dark.terminal.

  • black:��streamtyped�è�„�@„„„�NSColor�„„�NSObject�…„�c�„�ffffƒ²M!=ƒ’õ#>ƒ¾�K>�†
  • blue: ��streamtyped�è�„�@„„„�NSColor�„„�NSObject�…„�c�„�ffffƒ*œ�>ƒ´áì>ƒ¾EH?�†
  • bright black: ��streamtyped�è�„�@„„„�NSColor�„„�NSObject�…„�c�„�ffffƒæs‚<ƒ³Ž�>ƒZ‡#>�†
  • bright blue: ��streamtyped�è�„�@„„„�NSColor�„„�NSObject�…„�c�„�ffffƒ¼“á>ƒ�w�?ƒÎP�?�†
  • white: ��streamtyped�è�„�@„„„�NSColor�„„�NSObject�…„�c�„�ffffƒ:†j?ƒÚ×c?ƒX=L?�†

It really looks like binary data (dumb developers:|).

Owner

ciembor commented Aug 24, 2012

Some of colors look to have different format:

bplist00Ô��������X$versionX$objectsY$archiverT$top���† £���U$nullÓ  

V$class\NSColorSpaceUNSRGB€���F1 0 0�Ò����Z$classnameX$classesWNSColor¢��XNSObject_��NSKeyedArchiverÑ��Troot€����#-27;AHO\bdfmr}†Ž‘š¬¯´�������������������������������¶
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment