WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by Juanito on September 29, 2026, 01:04:54 PM »
Did you set flwm, aterm and wbar onboot as well as graphics-KERNEL and Xorg-7.7-3d?

What error message did you get?
42
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 29, 2026, 12:40:57 PM »
ok, i put those two tcz in the onboot and i set the preference of the virtualbox that way,
but it didnt work. What can I do now?

thanks!
43
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 29, 2026, 12:17:32 PM »
Ok, I am trying that.
In the mean time, is it possible to do this?
I find that the font of the default terminal to be so good! But when I use VIM, I think because the terminal only support a small number
of colours, the colorscheme looks off and awful. Is it possible to fix that? Also, I tried to use LXterminal, it seems that's the other option for
terminal, the default font is not nearly as good. Is it possible to either make the default terminal support more colours, or use the
same font for aterm or xterm in LXterminal?

-thanks
44
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by Juanito on September 29, 2026, 06:28:14 AM »
I managed to get hold of virtualbox, loaded the TinyCorePure64 iso and then used tc-install-GUI to install TinyCorePure64 in the vm.

Xorg-7.7 didn't want to start a gui, but using graphics-KERNEL and Xorg-7.7-3d the gui started.

You can use the virtualbox preferences expert tab to change the display resolution to "hints" and then set a resolution, but leaving it in "auto" seems to scale OK with the window.

I added vbox-KERNEL to the repo, but so far I haven't managed to get a shared folder working nor 3d graphics (it's using llvmpipe at present).
45
Small update: still running after 47hr under custom TC17.1 with reverted network card patch.
I will be out until next weekend.
I will keep it running and see how far it gets. Don't expect updates for a week.

Its running with the original write() command and with stress program running in parallel that brings cpu to 80% and network to 90%.

This is a major improve. This custom kernel is now running 40x longer than the standard kernel under same use. And counting. It's still strange as I do not see the netdev_err() logline that I added to the modified function getting triggered.
When I'm back I will test with pr_emerg() longline as there is a small change that the netdev_err() logging is suppressed. Also I will make a custom built with no modified source.
Left ro right: stability improve is massive!
46
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by Juanito on September 28, 2026, 03:39:51 AM »
I don't have virtualbox to test, but you need to check which extensions, if any, you have set to load "onboot" (you can do this with the apps gui).

If the Xfbdev extension is set "onboot", remove it and put Xorg-7.7 in it's place. Check that you have a minimum set of extensions "onboot" (for example Xorg-7.7, flwm, aterm and wbar) and reboot.

Alternatively, you can remove all extensions from "onboot", reboot and then load a minimum set of extensions and "startx".
47
Programming & Scripting - Unofficial / Fastest way of deleting first line of a large file
« Last post by Rich on September 27, 2026, 11:13:46 PM »
Recently while formatting a log file I ran into a problem
caused by the first line in the file. I originally I used this
command to remove it (sed.tcz was installed):
Code: [Select]
sed -i '1d' FilenameWhen I tried it on a larger test file I felt it was a little slow.
So I ran some timing tests on several different techniques.

Running under TC10 x86 Dell Dimension E310:
Code: [Select]
tc@E310:~/Scripting/Timing$ ./DeleteHeaderTiming.sh

# Delete first line from Test.Log timing test.
File Test.Log size: 4102673 bytes containing 35557 lines

 # Alter original file, GNU.
 0.438    /usr/local/bin/sed -i '1d' Test.Log

 # Alter original file, busybox.
 0.094    busybox sed -i '1d' Test.Log

 # Using a second file, GNU.
 0.068    /usr/local/bin/sed '1d' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.094    busybox sed '1d' Test.Log > Test.Log2

 # Using a second file, GNU.
 0.030    /usr/local/bin/tail -n +2 Test.Log > Test.Log2

 # Using a second file, busybox.
 0.026    busybox tail -n +2 Test.Log > Test.Log2

 # Using a second file, GNU.
 0.208    /usr/local/bin/awk 'NR>1' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.536    busybox awk 'NR>1' Test.Log > Test.Log2

 # Using a second file, GNU.
 0.147    /usr/local/bin/awk 'NR==1 { print > /dev/null; next } 1' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.546    busybox awk 'NR==1 { print > /dev/null; next } 1' Test.Log > Test.Log2

Turns out my choice was one of the slower ones. Interestingly, it
turns out the busybox version would have been a better choice.
Fastest was this solution:
Code: [Select]
tail -n +2 Test.Log > Test.Log2Considering how close the execution times were, I'd say the GNU
and busybox versions are pretty much equal.

I decided to repeat the test on a more capable machine.
TC14 x86_64 HP G62:
Code: [Select]
tc@HP-G62:~/SystemHealth$ ./DeleteHeaderTiming.sh

# Delete first line from Test.Log timing test.
File Test.Log size: 4102779 bytes containing 35558 lines

 # Alter original file, GNU.
 0.063    /usr/local/bin/sed -i '1d' Test.Log

 # Alter original file, busybox.
 0.076    busybox sed -i '1d' Test.Log

 # Using a second file, GNU.
 0.033    /usr/local/bin/sed '1d' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.058    busybox sed '1d' Test.Log > Test.Log2

 # Using a second file, GNU.
 0.014    /usr/local/bin/tail -n +2 Test.Log > Test.Log2

 # Using a second file, busybox.
 0.010    busybox tail -n +2 Test.Log > Test.Log2

 # Using a second file, GNU.
 0.123    /usr/local/bin/awk 'NR>1' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.162    busybox awk 'NR>1' Test.Log > Test.Log2
Once again, the  tail  version was the clear winner.
Once again, the execution times were so close that the GNU and
busybox versions could be considered to be equal.

Prior to creating a file, each technique begins with:
Code: [Select]
# Make sure all tests start with a clean cache.
sudo cache-clear
sync

# Create our test file.
busybox cp -f "$File" "$TestFile"

# Remove any previous results.
rm -f "$TestFile2"
48
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 27, 2026, 01:24:05 PM »
I am using VirtualBox. Is that ok?
49
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 27, 2026, 01:14:34 PM »
What do I do after installing   Xorg-7.7.tcz?
50
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 27, 2026, 01:00:19 PM »
oh uh, I used TC intalll GUI.tcz.
Which xorg-7.7. should i install? there are so many.
Pages: 1 ... 3 4 [5] 6 7 ... 10