flat assembler
Message board for the users of flat assembler.

Index > Linux > Midnight Commander Fasm syntax highlighting

Author
Thread Post new topic Reply to topic
polygon7



Joined: 14 Aug 2003
Posts: 62
Location: Poznan, Poland
polygon7 23 Jun 2004, 15:25
Hi,
this is my Fasm syntax highlighting template for Midnight Commander
Feel free to change if you want.

Instalation notes:

Put file fasm.syntax into /usr/share/mc/syntax directory;

Edit Syntax file, if following lines exist
Code:
file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
include pascal.syntax
    

then modify it to:
Code:
file ..\*\\.(pp|PP|pas|PAS|dpr|DPR)$ Pascal\sProgram
include pascal.syntax
    

and add:
Code:
file ..\*\\.(asm|ASM|inc|INC)$ FASM\sSource
include fasm.syntax
    

or simply copy the Syntax.new to (on ?) /usr/share/mc/syntax/Syntax file.

Remember to backup Syntax file first!


Description:
Download
Filename: mc_fasm_syntax_1.0.zip
Filesize: 2.44 KB
Downloaded: 946 Time(s)


_________________
best regards
p7
Post 23 Jun 2004, 15:25
View user's profile Send private message Visit poster's website Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9 23 Jun 2004, 23:09
Do you use MC?
Check the security hole in MC!
i heard some exploit is enabled by default.

i don't use MC, love BASH shell.
after some time, going to learn emacs.

--
vim is a good editor, emacs is i don't know, curious me.
Post 23 Jun 2004, 23:09
View user's profile Send private message Reply with quote
polygon7



Joined: 14 Aug 2003
Posts: 62
Location: Poznan, Poland
polygon7 24 Jun 2004, 08:33
fasm9 wrote:
Do you use MC?
Check the security hole in MC!
i heard some exploit is enabled by default.

i don't use MC, love BASH shell.
after some time, going to learn emacs.

--
vim is a good editor, emacs is i don't know, curious me.


Yes, I use MC (from FC1) and sometimes Vim, but I doesn't know
about security hole in MC. Thanks.

_________________
best regards
p7
Post 24 Jun 2004, 08:33
View user's profile Send private message Visit poster's website Reply with quote
Jaques



Joined: 07 Jun 2004
Posts: 79
Location: Everywhere
Jaques 24 Jun 2004, 15:06
emacs is really nice from what ive done with it
Post 24 Jun 2004, 15:06
View user's profile Send private message Reply with quote
h4ng4m3



Joined: 25 Jun 2003
Posts: 21
h4ng4m3 26 Jun 2004, 09:43
Thanks for sharing and I use nc and mc too..
Post 26 Jun 2004, 09:43
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 26 Jun 2004, 16:36
fasm9 wrote:
Do you use MC?
Check the security hole in MC!
i heard some exploit is enabled by default.

i don't use MC, love BASH shell.
after some time, going to learn emacs.

--
vim is a good editor, emacs is i don't know, curious me.


what security hole? its just a shell, not a daemon

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 26 Jun 2004, 16:36
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9 26 Jun 2004, 21:53
debian:~#sr google securityfocus mc vulnerability

at least May 2004, there is a security hole in MC.

there are always 'weak' softwares, once it known as weak, it keep weak though sometimes they were fixed.
for example, like ISC DHCP 3, gnu wget(dependency: pciutil, hotplug, libusb..)

PS: use libsafe
debian:~#sr freshmeat libsafe

PPS: secure linux distro
debian:~#sr freshmeat devillinux
debian:~#sr freshmeat knoppix
debian:~#sr freshmeat astaro security linux

knoppix is all running in CD.
Post 26 Jun 2004, 21:53
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 28 Jun 2004, 15:19
MC rules for text mode Cool (emacs/xemcas for GUI)
I use it when I need some "GUI-ness" in runlevel3, I'll be trying this addition asap Smile

[offtopic]polygon7, "...Syntax.new to (on ?) /usr/share/mc/synta...", "to" is correct Smile[offtopic]
Post 28 Jun 2004, 15:19
View user's profile Send private message Visit poster's website Reply with quote
ASM-Man



Joined: 11 Jan 2013
Posts: 64
ASM-Man 15 Jan 2013, 05:38
I use emacs(I just love it ) and vi(sometimes) on UNIX and Windows. Razz
Post 15 Jan 2013, 05:38
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1178
Location: Unknown
HaHaAnonymous 15 Jan 2013, 16:00
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:59; edited 1 time in total
Post 15 Jan 2013, 16:00
View user's profile Send private message Reply with quote
ASM-Man



Joined: 11 Jan 2013
Posts: 64
ASM-Man 26 Jan 2013, 05:03
@HaHaAnonymous:
It may be good to see what editors/IDE the people are using currently.
BTW,when I answered it I noticed not how old it is. :O I was reading a lot of questions here and just reply some. Without even see the date. haha. Excuse me if "up" old topic isn't a good pratice.

BTW, Who like the idea to have a program for show a notification when I someone cite your name? if an external tool(i.e., not part of phpBB itself or getting access to flatassembler.net database) it can just look at the page "post from last 24hours" read non-old posts parsning the string looking for a @username and when found the program send(as an user) a private message or something like more advanced with an external page and Grasemonkey. It will be veeery slow if compared to an internal implementation,but works.
Post 26 Jan 2013, 05:03
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1178
Location: Unknown
HaHaAnonymous 26 Jan 2013, 13:39
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:54; edited 1 time in total
Post 26 Jan 2013, 13:39
View user's profile Send private message Reply with quote
Spool



Joined: 08 Jan 2013
Posts: 151
Spool 29 Jan 2013, 07:06
[ Post removed by author. ]


Last edited by Spool on 17 Mar 2013, 04:51; edited 1 time in total
Post 29 Jan 2013, 07:06
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 29 Jan 2013, 19:06
The only problem here is the nostalgic twist Sad

... scientica, comrade, i miss you so much!!
Post 29 Jan 2013, 19:06
View user's profile Send private message Yahoo Messenger Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 06 Feb 2013, 10:45
I miss you too bro. Man Utd/Real Madrid in less than a fortnight, is your angus peppered?
Post 06 Feb 2013, 10:45
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.