Search found 2629 matches

by amigo
Tue 21 Mar 2017, 18:13
Forum: Utilities
Topic: write texts in terminal with cat
Replies: 1
Views: 1120

You can also use 'echo' and with either echo or cat use shell redirection to append to a file. With newer bash you can even insert text at a certain point using 'read' (IIRC).
by amigo
Mon 06 Mar 2017, 18:09
Forum: Truly off-topic conversations
Topic: What happened to our resident UFO gazer?
Replies: 15
Views: 370

Disassembled into separate objects, then decompiled into alien-readable source code.
by amigo
Mon 27 Feb 2017, 16:27
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 42083

That's why I mentioned 'appliance'. The distributor certainly has a right to protect the core functionality of the device they sell or build for, by limiting the ability of the user to change or interfere with that. And android provides an example of how all the tradition and convention (in the runt...
by amigo
Mon 27 Feb 2017, 10:08
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 42083

'chmod abc filename' is a less arbitrary and invasive way to set/unset perms than using 'chmod 01234 filename'. Both uses are valid in their place. For instance, any sort of program installation or system setup would probably use the numeric syntax to be sure that the perms were correct according to...
by amigo
Mon 27 Feb 2017, 09:21
Forum: Truly off-topic conversations
Topic: Your feelings and ideas concerning President Trump
Replies: 338
Views: 9722

I think it's not even accurate to call the ACA 'Obamacare'. His idea was to have Universal Health Care, but he didn't write the law or get his idea through. The bill was passed by mostly Republicans who had morphed the original idea from 'healthier people' into 'higher insurance premiums from more p...
by amigo
Sun 26 Feb 2017, 10:01
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 42083

The standard perms for executables is 755. Usually, the only exceptions are for deamons, servers and such, which belong to a special group so that permissions can be limited to just members of that group, and for setuid programs, like X, etc.
by amigo
Sun 26 Feb 2017, 09:53
Forum: Beginners Help ( Start Here)
Topic: Determine the x and y locations of desktop icons [Solved]
Replies: 9
Views: 1584

As you have found, the info is in the pinboard file. However, this: "if you (left) click on the icon placed on your desktop" the action that results from clicking on an icon is handled internally by the rox-filer. The action is context-specific, in that clicking on a directory icon opens t...
by amigo
Mon 20 Feb 2017, 20:08
Forum: Programming
Topic: urxvt-bash-systax-error
Replies: 3
Views: 1079

Neither setenv nor foreach are in bash or sh. Here's a quick translation into shell/bash code -should be pretty close, but I haven't checked it: #!/bin/bash # Environment path variables for the Qt package: if [ -z $QT4DIR ] ; then # It's best to use the generic directory to avoid # compiling in a ve...
by amigo
Sun 19 Feb 2017, 16:42
Forum: Programming
Topic: What's the benefit of Bash scripting / Bash scripts?
Replies: 20
Views: 4229

That's not a correct use of the term 'toolchain'. That's a 'pipe' or series of pipes. toolchain refers to the compiler, linker, libc trio used to produce binary objects from source code. Of course, you are write about the beauty and simplicity of using pipes to combine multiple programs into any sor...
by amigo
Thu 16 Feb 2017, 09:28
Forum: Misc
Topic: New forum members confusing?...
Replies: 21
Views: 6560

Actually, this forum is none other than the birthplace of 'alternative facts'. No single solution to a question has ever been offered here which would work on any, or even most puppy/user combinations. It may well be that no single solution has ever worked for _any_ other version/user. In this place...
by amigo
Wed 15 Feb 2017, 08:46
Forum: Truly off-topic conversations
Topic: Does anybody know anything about textadept?
Replies: 4
Views: 162

More dependencies=not so good
Especially against lua is that it's notoriously hard to get/keep working across differing systems.
Since this editor is console-based, it doesn't compare or replace directly your GUI editor geany.
by amigo
Tue 14 Feb 2017, 09:08
Forum: Truly off-topic conversations
Topic: Does anybody know anything about textadept?
Replies: 4
Views: 162

Dependence on lua is a drawback.
by amigo
Mon 13 Feb 2017, 13:01
Forum: Truly off-topic conversations
Topic: Your feelings and ideas concerning President Trump
Replies: 338
Views: 9722

It was a parliament or house of lords, where the royalists sat on the right side of the floor and the republicans -those who wanted to govern themselves- sat on the left side. The royalists were 'conservative' because they wanted things to remain the same. The republicans were the 'liberals' because...
by amigo
Sun 12 Feb 2017, 18:17
Forum: Programming
Topic: What's the benefit of Bash scripting / Bash scripts?
Replies: 20
Views: 4229

The main reason to learn *shell* programming (/bin/sh) is that it is always present on nearly every *NIX system. Bash has more features and is on *most* systems, so it is the most popular thing after 'sh' itself. More experienced admins probably go for 'zsh', Korn shell or use perl instead.
by amigo
Mon 30 Jan 2017, 11:48
Forum: Cutting edge
Topic: Easy Containers for Puppy Linux
Replies: 26
Views: 20898

Barry, anything that goes through X in any way is a security threat because the server runs suid. Anyone who can crash that server with malformed code, or uses a known bug, can get root access. Really containers are just a variation of the idea of chroot. And overlayfs is simply a LinusTorwald-appro...
by amigo
Thu 26 Jan 2017, 14:50
Forum: Truly off-topic conversations
Topic: America At War With Itself
Replies: 82
Views: 3221

Had a friend with an rd350b -'twas like lightning!
by amigo
Mon 23 Jan 2017, 20:52
Forum: Programming
Topic: how to reduce the size of the Qt directory?
Replies: 3
Views: 1169

demos, example and tests seem like probable candidates. mkspecs might only be related to compiling qt apps.
by amigo
Sat 21 Jan 2017, 13:53
Forum: Programming
Topic: How to find out SFS loaded under which pup_ro dir? (Solved)
Replies: 21
Views: 5792

You could also parse the output of the mount command.
by amigo
Sat 21 Jan 2017, 13:50
Forum: Users ( For the regulars )
Topic: How to run an app on my Android phone?
Replies: 5
Views: 1271

adb is 'android debugger' which lets you remotely access the android device from your PC. It is usable on all android devices. fastboot is similar, but does not work on all devices -it is dependent on there being a certain kind of bootloader -google devices are one of several brands/models which can...
by amigo
Sat 14 Jan 2017, 09:06
Forum: Hardware
Topic: How to use 5.25" floppy drives in Puppy? (Solved)
Replies: 18
Views: 9180

'man fd 4' or see here:
https://linux.die.net/man/4/fd

Code: Select all

fdnh1200 	1200K 	80 	15 	2 	8
fdnh1440 	1440K 	80 	18 	2 	40 
Change 'fdn' to 'fd0' or 'fd1' as needed and experiment with the sizes, as needed.