profile
viewpoint

martanne/vis 3446

A vi-like editor based on Plan 9's structural regular expressions

martanne/dvtm 491

dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs.

martanne/abduco 437

abduco provides session management i.e. it allows programs to be run independently from its controlling terminal. That is programs can be detached - run in the background - and then later reattached. Together with dvtm it provides a simpler and cleaner alternative to tmux or screen.

martanne/dwm-win32 45

dynamic window manager ported to Microsoft Windows

martanne/ciopfs 11

ciopfs is a fuse file system that mounts a directory on a regular file system in case insensitive fashion.

martanne/libuntar 1

C library for reading tarfiles, stripped down version of libtar

martanne/hugo-coder 0

A minimalist blog theme for hugo.

martanne/pandoc 0

Universal markup converter

PR opened martanne/vis

Heredocs with "-" can have spaces before closing

If a here-doc start delimiter begins with "-", then spaces are allowed to come before the closing delimiter.

This patch fixes what would otherwise be parsed incorrectly:

<<-EOF
....
	EOF
+11 -3

0 comment

1 changed file

pr created time in 15 hours

startedmartanne/dvtm

started time in a day

issue openedmartanne/vis

Memory limit for large file

Can I limit memory usage when open large file? Vis is very fast so I want to use it in prod env for open large log file but with limited memory, such as docker container.

created time in a day

pull request commentmartanne/vis

lua: get lua to recognize bashrc file

The ^ is needed, as .bashrc is the whole name, hence the pattern needs to be anchored on both ends.

The code is a bit misleading, using ext as key. It is up to each pattern whether to match the extension or the whole name. There are a few other filetypes that match the whole name as well - Dockerfile, crontab, PKGBUILD, etc.

ccao001

comment created time in 2 days

startedmartanne/vis

started time in 2 days

pull request commentmartanne/vis

lua: get lua to recognize bashrc file

Oh, excuse me, seems I mixed up all those grammars again.

ccao001

comment created time in 2 days

pull request commentmartanne/vis

lua: get lua to recognize bashrc file

Need the escape char "%", but not the "start-of-line" char "^" i think, as you'd only want the end of the line.

ccao001

comment created time in 2 days

pull request commentmartanne/vis

lua: get lua to recognize bashrc file

@ccao001 The correct Lua pattern for that is "^%.bashrc$". The percent sign is an escape character in Lua patterns - https://www.lua.org/manual/5.3/manual.html#6.4.1

ccao001

comment created time in 2 days

pull request commentmartanne/vis

lua: get lua to recognize bashrc file

@ninewise

Thank you for catching that! I edited the last commit and pushed to this branch in order to update. It should reflect what you suggested.

Let me know if there are any other issues with this PR.

all the best.

ccao001

comment created time in 2 days

startedmartanne/vis

started time in 3 days

startedmartanne/vis

started time in 3 days

startedmartanne/vis

started time in 3 days

pull request commentmartanne/vis

lua: get lua to recognize bashrc file

Wouldn't you want to leave off the %? IIRC that's for the rest of the filename, but there should not be anything there in this case.

ccao001

comment created time in 3 days

PR opened martanne/vis

lua: get lua to recognize bashrc file
+1 -1

0 comment

1 changed file

pr created time in 4 days

startedmartanne/vis

started time in 5 days

startedmartanne/vis

started time in 5 days

fork tiagotriques/abduco

abduco provides session management i.e. it allows programs to be run independently from its controlling terminal. That is programs can be detached - run in the background - and then later reattached. Together with dvtm it provides a simpler and cleaner alternative to tmux or screen.

fork in 5 days

fork tiagotriques/dvtm

dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs.

fork in 5 days

startedmartanne/vis

started time in 5 days

startedmartanne/vis

started time in 5 days

startedmartanne/abduco

started time in 6 days

GollumEvent

PR opened martanne/vis

lexers: add meson build file lexer

A simple lexer for the Meson build specification file syntax. For simplicity keyword arguments were excluded from highlighting.

The lexer was build using the meson reference manual for version 0.56.0.

+160 -0

0 comment

2 changed files

pr created time in 6 days

startedmartanne/dvtm

started time in 6 days

fork fischerling/vis

A vi-like editor based on Plan 9's structural regular expressions

fork in 7 days

startedmartanne/abduco

started time in 7 days

startedmartanne/vis

started time in 8 days

pull request commentmartanne/vis

text: ignore unused-result in error path

Yes, all current solutions are more or less ugly... No idea why casting to void does no longer work. How about something like this?

if (fchdir(cwd)) /* ignore return */ ;
eworm-de

comment created time in 8 days

PR opened martanne/vis

distinguish between immediate and waiting operators

and correct a couple of typos

+20 -11

0 comment

1 changed file

pr created time in 9 days

startedmartanne/vis

started time in 9 days

more