WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
TCE Q&A Forum / Re: geany: how to disable autoindent on wrapped lines?
« Last post by GNUser on August 14, 2020, 02:34:44 PM »
Oops, I meant to post this in the "TCE Q&A Forum" section.
22
TCE Q&A Forum / [Solved] geany: how to disable autoindent on wrapped lines?
« Last post by GNUser on August 14, 2020, 02:24:12 PM »
I can't figure out how to make geany 1.36 display traditional paragraphs (indented first line, subsequent lines flush against the left margin). I have a hard time believing that such a capable text editor can't do something so simple--I must be missing a configuration setting somewhere.

To reproduce the issue:

1. Turn on line wrapping (Edit -> Preferences -> Editor -> Features -> check "Line wrapping")

2. Turn off autoindent (Edit -> Preferences -> Editor -> Indentation -> for "Auto-indent mode" choose "None")

3. Start typing until the line wraps and you have two lines

4. Go back to the beginning of the text and press Tab

Expected result: First line should be indented and second line should continue to touch the left margin.

Actual result: Both lines are displayed as indented.

Please, how can I achieve the expected result (i.e., how can geany display the first line as indented but keep subsequent lines in the same paragraph touching the left margin)?
23
getty: Set up for high-speed serial UART communication
The limiting factor on the UART speed is that UART Clock. It only allows baudrates of UART_CLK/16
Code: [Select]
tc@box:~$ sudo cat /sys/class/tty/tty1/subsystem/ttyS0/uartclk
1843200
tc@box:~$ calc 1843200/16
115200
tc@box:~$ sudo stty -F /dev/tty `calc 38400*3`
tc@box:~$ stty | grep speed
speed 115200 baud; line = 0;
tc@box:~$ sudo stty -F /dev/tty `calc 38400*30`
tc@box:~$ stty | grep speed
speed 1152000 baud; line = 0;

Code: [Select]
tc@box:~$ cat /sbin/autologin
#!/bin/busybox sh
. /etc/init.d/tc-functions
useBusybox

if [ -f /var/log/autologin ] ; then
    exec /sbin/getty 1152000 tty1
else
    touch /var/log/autologin
    exec login -f root
fi

Code: [Select]
# /etc/inittab: init configuration for busybox init.
# Boot-time system configuration/initialization script.
#
::sysinit:/etc/init.d/rcS

# /sbin/getty respawn shell invocations for selected ttys.
# data flow rate as 38.4k 115.2k 230.4k 460.8k. 921.6k 1152000
tty1::respawn:/sbin/getty -nl /sbin/autologin 1152000 tty1
tty2::respawn:/sbin/getty 38400 tty2
Summary: if you like to experiment with TC scripts, here is how I increased the speed 30 times for login.
Of course double of nothing is nothing, so do not expect more than few milliseconds gain, it was just for fun.
24
TCE Q&A Forum / Re: Would Tiny Core run Logitech Media Server
« Last post by diode84 on August 14, 2020, 10:36:23 AM »
This is perl 5, version 28, subversion 0 (v5.28.0) built for i486-linux-thread-m                                                                                    ulti

Yes, perl is the source of the incompatibility.  LMS included binaries are expecting.  i386-linux-thread-mulit-64int.

It's much easier to build a perl with that arch tag than trying to build the CPAN files for the perl that is built into TinyCore9.    I can followup with instructions a bit later today.
Yes that would be good.
25
TCE Q&A Forum / Re: Would Tiny Core run Logitech Media Server
« Last post by Paul_123 on August 14, 2020, 10:31:20 AM »
This is perl 5, version 28, subversion 0 (v5.28.0) built for i486-linux-thread-m                                                                                    ulti

Yes, perl is the source of the incompatibility.  LMS included binaries are expecting.  i386-linux-thread-mulit-64int.

It's much easier to build a perl with that arch tag than trying to build the CPAN files for the perl that is built into TinyCore9.    I can followup with instructions a bit later today.
26
TCE Q&A Forum / Re: Would Tiny Core run Logitech Media Server
« Last post by diode84 on August 14, 2020, 07:08:43 AM »
Can you show the full error?   That platform should be supported, unless perl is built with different flags.  It might be easier to build a matching version of perl.
The full error is
tc@box:~$ perl /mnt/sdb1/Storage/LMS/LMS/slimserver.pl
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSO                                                                                     N::XS Digest::SHA1 YAML::XS Sub::Name


This is perl 5, version 28, subversion 0 (v5.28.0) built for i486-linux-thread-m                                                                                     ulti

Copyright 1987-2018, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
*******

NOTE:

If you're running some unsupported Linux/Unix platform, please use the buildme.s                                                                                     h
script located here:

https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN

If 7.9 is outdated by the time you read this, Replace "7.9" with the major versi                                                                                     on
You should never need to do this if you're on Windows or Mac OSX. If the install                                                                                     ers
don't work for you, ask for help and/or report a bug.

*******

                       
Exiting..
tc@box:~$

27
Programming & Scripting - Unofficial / Re: extension audit script
« Last post by Juanito on August 14, 2020, 06:02:54 AM »
What is important is that /usr/local/tce.installed is root:staff - the file in it can be $USER:staff or root:staff
28
Programming & Scripting - Unofficial / Re: extension audit script
« Last post by aus9 on August 14, 2020, 05:21:48 AM »
I had a look at coreplayers's firefox get latest script. My coding skills need improving so I may be wrong

It appears there is agreement with the create TCE wiki that dir is root:staff for /usr/local/tce.installed
then the script under that dir is tc:staff

which means this part of the wiki may be wrong
Quote
sudo chown -R root:staff /tmp/package/usr/local/tce.installed

I can not remember if I originally wrote that....but feel free to blame me, as I would have based it on something someone said to me. If its wrong, lets fix. If its right then maybe submitqc is wrong?
29
TCE Bugs / Re: tce.installed folder permissions - submitqc
« Last post by aus9 on August 14, 2020, 05:16:24 AM »
30
TCE Bugs / Re: Gedit - X Window System Error
« Last post by aus9 on August 14, 2020, 04:17:45 AM »
Oops, not the WMs but some apps that work very good under Xorg are known to break under Wayland.
In case you are interested is....Wayland can have desktops, we do not call them window managers on Wayland..they are called compositors...and they either support xwayland or not.

sway was built with xwayland compiled support but has a config for those who wish to disable it. Other desktops that run on Wayland may or may not have xwayland support.

Hope that helps.
Pages: 1 2 [3] 4 5 ... 10