Open aksr opened 4 years ago
- Open
sam
.- Create (one or) two files via
new
from the RMB-menu.- Give them names via
f
command, for example:f file1
f file2
.- Execute
X w
.After step 4., you'll get:
?no file name
.(p9p's
sam
works fine.)
Thanks for your report!
I am using an older version of sam here and cannot reproduce the issue, which version are you using? I would then try to bisect from my version to yours to narrow down the issue.
Thanks!
Christian
-- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease.
@ckeen: Latest (5893679).
@ckeen: Latest (5893679).
Hm, strange, I cannot reproduce the issue with the latest either. Which OS is this?
-- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease.
@ckeen: You're forgeting something, execute the steps carefully. (OS: Arch Linux)
Edit: It seems it is the name where the problem lies, the name should be only one letter or number, (e.g. f 1
, f 2
, f a
...)!
@ckeen: Try it with this new info. (I'm writing a new comment since I'm not sure if you saw the last one (after I edited it), since you're responding via email.)
In the file sam.c
, function getname
(line: 535), I changed return genstr.n-1
to return genstr.n
, and it seems to work now. Not sure if anything else is broken, though.
I'll investigate further.
@ckeen: You're forgeting something, execute the steps carefully. (OS: Arch Linux)
Ah I see now, and you have figured it out too... I typed two letters by accident...
-- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease.
sam
.new
from the RMB-menu.f
command, for example:f 1
f 2
. (names should be only one letter or number)X w
.After step 4., you'll get:
?no file name
.(p9p's
sam
works fine.)Edit: It seems it is the name where the problem lies, names should be only one letter or number (e.g.
f 1
,f 2
,f a
...)