Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Terminal support #5

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

OSX Terminal support #5

ciembor opened this issue Aug 23, 2012 · 2 comments

Comments

@ciembor
Copy link
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/

@ciembor
Copy link
Owner Author

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:|).

@ciembor
Copy link
Owner Author

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
Projects
None yet
Development

No branches or pull requests

1 participant