slang-users mailing list

[2013 Date Index] [2013 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] slang and slack


Hi all,

I just installed the last slang-2.2.4 on my new slackware 14 system.
Now I am experiencing strange things :

SLSH_PATH is not set.

> slsh -v
Loading /usr/local/etc/slsh.rc
Loading /usr/local/share/slsh/autoload.sl
Loading /usr/local/share/slsh/slshrl.sl
Loading /usr/local/share/slsh/require.sl
Loading /usr/local/share/slsh/slshhelp.sl
Loading /usr/local/share/slsh/glob.sl
slsh version 0.8.6-0; S-Lang version: 2.2.4
Copyright (C) 2005-2011 John E. Davis <jed@xxxxxxxxxxx>
This is free software with ABSOLUTELY NO WARRANTY.

slsh> get_slang_load_path();
/usr/local/share/slsh/local-packagescZ·?×I·/usr/local/share/slsh

Note the junk on load path. It looks like the problem comes from
"prepend_to_slang_load_path" function defined in slsh.rc, which is
basicaly the "sprintf" function.

slsh > sprintf("%s%c%s", "/foo", 65, "/bar");
/foo/bar
slsh > printf("%s%c%s\n", "/foo", 65, "/bar");
/foo£V·O1F·/bar
16

Reversing to slang-2.2.3 or upgrating to slang-pre2.3.0-107 clear this
problem. I am unable to reproduce it on a slackware 13 system with
slang-2.2.4

Of course, Jed is also concern :

> jed --help
Unable to open jedusage.  Check the value of the S-Lang load path.
Traceback: evalfile
/usr/local/jed/lib/site.sl:3095:command_line_hook:Open failed

Am I missing something ? Any ideas are welcome.

Regards ;


Laurent.



[2013 date index] [2013 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]