Home Download Buy Blog Forum Support

C syntax highlighting & PCBSD/FreeBSD

C syntax highlighting & PCBSD/FreeBSD

Postby johnrdavisjr on Tue Apr 05, 2011 3:01 pm

Hello all,
I just bought this editor, WOW what a great product! I just wish it had a few things to make it complete.
1. C syntax highlighting
2. PCBSD/FreeBSD port. I don't believe that porting it would be that hard, and am willing to tackle it if someone would like and with permission.

Thanks again for such a great product! Loving 2.0!
johnrdavisjr
 
Posts: 5
Joined: Tue Apr 05, 2011 2:42 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby adzenith on Tue Apr 05, 2011 4:24 pm

It should have C syntax highlighting... If you open a .c file it should highlight by default, and if it doesn't you can go to View>Syntax>C.
adzenith
 
Posts: 1213
Joined: Mon Oct 19, 2009 9:12 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby johnrdavisjr on Wed Apr 06, 2011 7:28 pm

Thanks! I didn't realize that.
Would it be possible to port or would you be opposed for me to port this to PC-BSD?
johnrdavisjr
 
Posts: 5
Joined: Tue Apr 05, 2011 2:42 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby johnrdavisjr on Mon Apr 11, 2011 1:01 pm

Would it be alright if I were able to make this editor work with PCBSD?
johnrdavisjr
 
Posts: 5
Joined: Tue Apr 05, 2011 2:42 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby jbrooksuk on Tue Apr 12, 2011 9:59 am

johnrdavisjr wrote:Would it be alright if I were able to make this editor work with PCBSD?

It would be brilliant!

All the better :)
jbrooksuk
 
Posts: 753
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: C syntax highlighting & PCBSD/FreeBSD

Postby johnrdavisjr on Tue Apr 12, 2011 8:40 pm

How possible do you think it would be for Sublime Text editor to have a FreeBSD port?
johnrdavisjr
 
Posts: 5
Joined: Tue Apr 05, 2011 2:42 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby outZider on Fri Jul 08, 2011 3:04 pm

Unless he gets access to the source code, it'll probably have to use the Linux emulator in FreeBSD.
outZider
 
Posts: 2
Joined: Thu Apr 28, 2011 5:23 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby benjidw on Thu Sep 06, 2012 1:22 pm

I'm going to have a stab at making ST2 work in PC-BSD as well John. Won't be a matter or urgency for me but the sooner the better as far as I'm concerned :)
benjidw
 
Posts: 1
Joined: Thu Sep 06, 2012 1:20 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby mooselix on Wed Feb 27, 2013 9:13 pm

There appear to be two paths to running SublimeText2 on FreeBSD.

1. A binary package could be created. Create a local port on a build box. After some rounds of compiling, installing, and testing, one could 'make package' and distribute the tarball.

2. The Linux emulator for FreeBSD (linux-base-f10) is out of date, but only one version (see below) behind what ST2 needs. The author could build with an older version of libc/libstdc++, or the linux-base-f10 maintainers could update the libraries.

Code: Select all
$ ldd sublime_text
sublime_text:
sublime_text: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by sublime_text)
sublime_text: /lib/libc.so.6: version `GLIBC_2.11' not found (required by sublime_text)
sublime_text: exit status 1

$ strings /compat/linux/usr/lib/libstdc++.so.6.0.10 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH


Either solution shouldn't be too ambitious, though in my opinion, former would be the best solution since it follows the current idiom.

Either way, it'd make this licensed user a bit happier.
mooselix
 
Posts: 1
Joined: Wed Feb 27, 2013 8:53 pm

Re: C syntax highlighting & PCBSD/FreeBSD

Postby ltmerlin on Tue Jul 23, 2013 10:12 am

Any progress on the quest to have ST2 or ST3 running on a FreeBSD machine?
ltmerlin
 
Posts: 2
Joined: Tue Jul 23, 2013 10:09 am

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 6 guests