AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page
   Networked Database  Computer Support/Help/Discussion...   [1437 / 2005] RSS
 From   To   Subject   Date/Time 
Message   Gamgee    digimaus   Re: Weird   January 24, 2026
 10:23 AM *  

-=> digimaus wrote to Gamgee <=-

 Ga> FWIW, nano does a nice job of syntax highlighting these days, too.

 di> It dooesn't support Pascal directly and the file that I found for
 di> syntax coloring supports Delphi, not Turbo Pascal.

I found this file:  https://github.com/sith-ikjetil/pascal.nanorc

Put it in /usr/share/nano  (there are likely other .nanorc files there 
already).

Then, create/edit .nanorc in your home directory, and put this line in 
it:

include /usr/share/nano/*.nanorc

After that, I found that syntax highlighting worked very nicely on some 
*OLD* Turbo Pascal source files of mine from the early 90's...  :-)

Here's the catch:  That syntax file expects the extension of the file 
you're editing to be ".pas".  in LOWERCASE.  It doesn't work if the file 
extension is in CAPS.  If you look at the first line of the .nanorc file 
you can see that specified.  I didn't bother, but that could likely be 
edited to include ".PAS" if desired, as old TP versions (or maybe it was 
just DOS) seemed to save filenames in CAPS.

Anyway, hope that helps.



... Computer Hacker wanted. Must have own axe.
=== MultiMail/Linux v0.52
--- SBBSecho 3.34-Linux
 * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (618:250/24)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.013 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2026 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.250224