Check-in [21c66096d7]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Install n2o-completion.sh
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 21c66096d704c67bf46a460a0e27220735264f2f
User & Date: bernd 2020-07-28 21:19:28
Context
2020-07-29
20:43
Insert haves+sigs check-in: 30ad4bfacf user: bernd tags: trunk
2020-07-28
21:19
Install n2o-completion.sh check-in: 21c66096d7 user: bernd tags: trunk
2020-07-22
21:01
Prepare change of ihave ids: Need to be signed check-in: d25d483cd5 user: bernd tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.in.

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
...
176
177
178
179
180
181
182


183
184
185
186
187
188
189
	  threefishlib.fs startn2o.fs startn2ogui.fs doc/net2o-logo.png	      \
	  version.fs.in android/net.fs android/notify.fs linux/net.fs	      \
	  linux/notify.fs dhtroot.fs dvcs.fs qrscan.fs			      \
	  android/qrscan-android.fs linux/qrscan-linux.fs doc/net2o-200.png   \
	  doc/net2o.png doc/user.png json/parser.fs json/g+-schema.fs	      \
	  json/g+-import.fs json/fb-schema.fs json/twitter-schema.fs	      \
	  json/test.fs json/test.json json/diaspora-schema.fs html/parser.fs  \
	  xml/parser.fs xml/blogger-atom.fs

ICONS = icons/hicolor/128x128/apps/net2o.png				      \
	icons/hicolor/16x16/apps/net2o.png				      \
	icons/hicolor/192x192/apps/net2o.png				      \
	icons/hicolor/22x22/apps/net2o.png icons/hicolor/24x24/apps/net2o.png \
	icons/hicolor/256x256/apps/net2o.png				      \
	icons/hicolor/32x32/apps/net2o.png icons/hicolor/36x36/apps/net2o.png \
................................................................................
	@NOVERDIR@done
	for i in $(ICONDIRS) $(DESKTOPDIR); do \
		$(MKDIR) -p $(datadir)/$$i; \
	done
	for i in $(ICONS) $(DESKTOP); do \
		$(INSTALL_DATA) $(srcdir)/$$i $(datadir)/$$i; \
	done



%.dirui:
	$(RMDIR) $(datadir)/gforth/$(GFVER)/$(@:%.dirui=%); \

%.scriptui:
	-@VERDIR@$(RM) $(bindir)/$(@:%.scriptui=%)-@PACKAGE_VERSION@; \
	$(RM) $(bindir)/$(@:%.scriptui=%); \







|







 







>
>







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
...
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
	  threefishlib.fs startn2o.fs startn2ogui.fs doc/net2o-logo.png	      \
	  version.fs.in android/net.fs android/notify.fs linux/net.fs	      \
	  linux/notify.fs dhtroot.fs dvcs.fs qrscan.fs			      \
	  android/qrscan-android.fs linux/qrscan-linux.fs doc/net2o-200.png   \
	  doc/net2o.png doc/user.png json/parser.fs json/g+-schema.fs	      \
	  json/g+-import.fs json/fb-schema.fs json/twitter-schema.fs	      \
	  json/test.fs json/test.json json/diaspora-schema.fs html/parser.fs  \
	  xml/parser.fs xml/blogger-atom.fs n2o-completion.sh

ICONS = icons/hicolor/128x128/apps/net2o.png				      \
	icons/hicolor/16x16/apps/net2o.png				      \
	icons/hicolor/192x192/apps/net2o.png				      \
	icons/hicolor/22x22/apps/net2o.png icons/hicolor/24x24/apps/net2o.png \
	icons/hicolor/256x256/apps/net2o.png				      \
	icons/hicolor/32x32/apps/net2o.png icons/hicolor/36x36/apps/net2o.png \
................................................................................
	@NOVERDIR@done
	for i in $(ICONDIRS) $(DESKTOPDIR); do \
		$(MKDIR) -p $(datadir)/$$i; \
	done
	for i in $(ICONS) $(DESKTOP); do \
		$(INSTALL_DATA) $(srcdir)/$$i $(datadir)/$$i; \
	done
	if [ -d /etc/bash_completion.d ]; then \
	$(INSTALL_DATA) n2o-completion.sh /etc/bash_completion.d; fi

%.dirui:
	$(RMDIR) $(datadir)/gforth/$(GFVER)/$(@:%.dirui=%); \

%.scriptui:
	-@VERDIR@$(RM) $(bindir)/$(@:%.scriptui=%)-@PACKAGE_VERSION@; \
	$(RM) $(bindir)/$(@:%.scriptui=%); \

Changes to classes.fs.

140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
...
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
    $value: name$ \ group name
    $value: id$   \ id of current message
    $value: msg$  \ decrypted message
    64value: timestamp \ timestamp of message
    field: peers[]
    field: keys[]
    field: log[]
    field: hashs[]
    field: pks#
    field: perms# \ pk -> permission map
    field: mode
    \ mode bits:
    1 3 bits: otr# lock# visible#
    : bit-ops: ( bit -- )
        parse-name [{: d: name :}l name rot [: emit type ;] $tmp nextname ;]
................................................................................
    scope: host
    field: pri#
    field: id
    lfield: ipv4
    $10 +field ipv6
    wfield: portv4
    wfield: portv6
    field: anchor \ net2o anchor (is a pubkey)
    field: route  \ net2o route
    field: revoke \ is a revoke path
    field: key    \ psk for connection setup
    field: ekey   \ ephemeral key a la MinimaLT
    64field: ekey-to \ ephemeral key timeout
    }scope
end-class address-class







|







 







|







140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
...
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
    $value: name$ \ group name
    $value: id$   \ id of current message
    $value: msg$  \ decrypted message
    64value: timestamp \ timestamp of message
    field: peers[]
    field: keys[]
    field: log[]
    field: haves[] \ hashs+devices+sig sorted by date
    field: pks#
    field: perms# \ pk -> permission map
    field: mode
    \ mode bits:
    1 3 bits: otr# lock# visible#
    : bit-ops: ( bit -- )
        parse-name [{: d: name :}l name rot [: emit type ;] $tmp nextname ;]
................................................................................
    scope: host
    field: pri#
    field: id
    lfield: ipv4
    $10 +field ipv6
    wfield: portv4
    wfield: portv6
    field: anchor \ net2o anchor (is a pubkey+hostname)
    field: route  \ net2o route
    field: revoke \ is a revoke path
    field: key    \ psk for connection setup
    field: ekey   \ ephemeral key a la MinimaLT
    64field: ekey-to \ ephemeral key timeout
    }scope
end-class address-class

Added n2o-completion.sh.





>
>
1
2
# n2o bash and zsh completion
complete -o default -W "$(n2o help 2>&1 | tail -n +2 | grep -v ^=== | cut -f1 -d' ')" n2o

Changes to wiki/commands.md.

1
2
3
4
5
6
7
8
9
10
# Commands #

Version 0.9.8-20200618.

net2o separates data and commands.  Data is passed through to higher
layers, commands are interpreted when they arrive.  For connection
requests, a special bit is set, and the address then isn't used as
address, but as IV for the opportunistic encoding.

The command interpreter is a stack machine with two data types: 64


|







1
2
3
4
5
6
7
8
9
10
# Commands #

Version 0.9.8-20200716.

net2o separates data and commands.  Data is passed through to higher
layers, commands are interpreted when they arrive.  For connection
requests, a special bit is set, and the address then isn't used as
address, but as IV for the opportunistic encoding.

The command interpreter is a stack machine with two data types: 64