Re: How to run automatically a script as soon root login

2024-05-13 Thread Will Mengarini
Nobody has yet applauded this glorious implementation of the 1960s GOTO statement in *Bash*?! * Mario Marietto [24-05/13=Mo 13:37 +0200]: > function jumpto > { > label=$1 > cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$') > eval "$cmd" > exit > } Anyway,

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-15 Thread Will Mengarini
* Mariusz Gronczewski [24-02/23=Fr 10:33 +0100]: >>> It's entirely US political feel-good activism that >>> doesn't change anything but wastes people's time. Do >>> you actually think pressing on brake pedal oppresses >>> anybody? Because it also has master and slave cylinders. >>> >>> All it

Re: Useful Unix compatible commands

2024-02-26 Thread Will Mengarini
* Jonathan Matthew Gresham [24-02/25=Su 16:01 -0500]: > [...] I have been reading a Unix system administrators textbook. > ps -e > [...] > kill process > [...] > ls -R > [...] > If you know any more that can work on GNU compatible software or > Unix compatible software please indicate the

Re: Does "LC_ALL=C" work on all shells?

2024-02-13 Thread Will Mengarini
> On Tue, Feb 13, 2024 at 09:47:38PM +0100, Franco Martelli wrote: >> ~# LC_ALL=C apt install >> [... works on ...] all shells other than bash? csh, korn, dash, zsh ... * Greg Wooledge [24-02/13=Tu 15:59 -0500]: > [...] all the Bourne family shells [...] > > In csh, you need to use env. Like

Re: script/history

2024-02-04 Thread Will Mengarini
* Gareth Evans [24-02/04=Su 09:46 +]: > Re the script command, does anyone know of a way to make > commands run during a script session appear in bash history too? You want the 'history -r' command, "explained" by `help history`. After you end the script, you're back in the bash instance

Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-05-14 Thread Will Mengarini
* Schwibinger Michael [23-05/14=Sun 09:32 +]: > This is not working: > https://tutorialforlinux.com/2021/03/06/step-by-step-driver-epson-et-m1100-et-m1120-ubuntu-20-04-installation/2/ We need to know what fails. Exactly what do you do, and what results does it produce? On Sun, May 07, 2023

Re: shell script run in backend

2023-05-14 Thread Will Mengarini
* Tom Reed [23-05/14=Sun 14:21 +0800]: > I have a long run shell script [...]. Currently the script > is running in front-end in shell. How can I run it with > the backend way? Can I register it as a system service? Just run 'myScript&' (the trailing '&' tells the shell to run it in the

Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-05-07 Thread Will Mengarini
* Brian [23-05/08=Mo 00:27 +0100]: > https://download3.ebz.epson.net/dsc/f/03/00/14/48/15/1d37501ad39bd2b5753 \ > cce3b2715b3e2fef557/epson-inkjet-printer-escpr_1.7.26-1lsb3.2_amd64.deb That includes a literal space in the middle of that hash (because the space before the backslash is taken

Re: my immature thoughts on perl

2023-04-03 Thread Will Mengarini
* cor...@free.fr [23-04/04=Tu 10:35 +0800]: > For instance, in ruby (irb) this is quite smooth: > irb(main):001:0> [1,2,3,4].map{|x|x+1}.reduce{|x,y|x+y} > => 14 > > And in scala (shell): > scala> List(1,2,3,4).map{ _+1 }.reduce{_+_} > res1: Int = 14 > In perl there is no interactive shell [...]

Re: Cannot rum multiple command on remote machine via SSH

2023-02-04 Thread Will Mengarini
* Greg Wooledge [23-02/04=Sa 10:15 -0500]: > Is LAP2 a Debian system, or something else? OP said LAP2 is Debian stable.

Re: Touchpad synaptics changes name after resume

2022-12-03 Thread Will Mengarini
* Ottavio Caruso [22-12/03=Sa 10:37 +]: > $ uname -a > Linux t440 6.0.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian > 6.0.3-1~bpo11+1 (2022-10-29) x86_64 GNU/Linux > > I have two scripts that enable/disable touchpad > [running the commands] > xinput enable "SynPS/2 Synaptics TouchPad" >

Re: MUD

2022-10-13 Thread Will Mengarini
* Greg Wooledge [22-10/13=Th 08:03 -0400]: >> Originally, Multi-User Dungeon. >> >> http://catb.org/esr/jargon/html/M/MUD.html >> >> The one that I saw was set up as a sort of user-extensible text >> adventure setting. I don't know how they've evolved since then. * mick.crane [22-10/13=Th

Re: sigc++ library missing object.h file

2022-10-08 Thread Will Mengarini
* Greg Wooledge [22-10/08=Sa 12:45 -0400]: > > I did a google search and came up with > > which says: > > [...] Remove the sigc++/object.h header [...] Because it now contains no API > See

Re: question re tar

2022-09-18 Thread Will Mengarini
* jr [22-09/18=Su 12:59 +0100]: > When I create an archive with '-cvWf' I'm used to finding only the files > specified, but every time I use 'tar' on this Debian, there is a "link" for > each and every file. Why? eg: > -rw--- jr/jr 256 2022-06-1 22:10 .config/pulse/cookie > hrw---

Re: determining hotkeys for a program, without a manual?

2022-08-21 Thread Will Mengarini
* Karen Lewellen [22-08/21=Sun 13:30 -0400]: > I have a DOS utility [...]. Is there any simple way > to review the program code and discover 2 hot keys? Try running the binary through the 'strings' command to see whether there's any in-program documentation that helps: strings

Re: Mail Transfer Agent

2022-08-21 Thread Will Mengarini
Eskimo.com is $7/month for mail + Linux shell access (multiple servers, various distributions including Debian). * Polyna-Maude Racicot-Summerside [22-08/21=Su 02:36 -0400]: > Hi, > I'm having problem with my actuel email provider (the one that goes with > my web hosting plan). It deals badly

Re: nft newbie

2022-07-06 Thread Will Mengarini
* gene heskett [22-07/06=We 18:50 -0400]: > [...] iptables is out of support, replaced I > guess with nft. [...] whats the command to [...] > > The man page while quite voluminus is as > usual mostly bereft of useful examples.

Perl CPAN Catch-22 + ADHD (was: How's ...)

2022-07-04 Thread Will Mengarini
* Weaver [22-07/04=Mo 00:43 -0700]: >>> ... your day going? * Will Mengarini [22-07/04=Mo 07:50 -0700]: >> Hairier than Gene Heskett's nostrils, because "up"grading Perl >> from 5.8.8 to 5.34.1 [caused a kind of failure normally fixed >> using the Perl m

Re: How's ...

2022-07-04 Thread Will Mengarini
t or offended that I consider my own body to be my property and not that of the physicians' guild. So, how's ... -- ... your day going? perl -le"print unpack '%C*',MENGARINI"

Re: Problem with csh

2022-07-02 Thread Will Mengarini
On Sat, Jul 02, 2022 at 01:18:08PM -0400, Stephen P. Molnar wrote: comp@AbNormal:~$ csh Bad : modifier in $ '/'. On Sat, Jul 02, 2022 at 03:31:12PM -0400, Bijan Soleymani wrote: >> Quick Google search shows it is an issue with the syntax of defining >> environment variables: >>

Re: stopping job before shutdown.

2022-06-29 Thread Will Mengarini
* mick crane [22-06/29=We 13:31 +0100]: >>> [...] when turning off PC with power button >>> there is the message, "stopping job" [...] * gene heskett [22-06/29=We 09:08 -0400]: >> That method of stopping the pc is quite dangerous [...] * to...@tuxteam.de [22-06/29=We 16:46 +0200]: > [...] the

Re: I *think* I found the apache2 docs, but it's in .html and I cannot get firefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread Will Mengarini
Firefox Let us know if the instructions you Google up are insufficient. > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." There are FIVE boxes to be used in defense of liberty: search, soap, ballot, jury, and ammo.

Re: Bash and the PS1 environment variable [was: grep: show matching line from pattern file]

2022-06-02 Thread Will Mengarini
* David Christensen [22-06/02=Th 19:18 -0700]: > [...] > Now I can almost match your prompt -- there is a dash before 'bash': > > 2022-06-02 19:05:10 dpchrist@laalaa ~ > $ PS1="\\h/${TTY#/dev/} \\s$SHLVL \\w \\A \$?\\\$" > laalaa/pts/8 -bash1 ~ 19:08 0$ > > The dash seems to be coming from the

Re: Bash and the PS1 environment variable [was: grep: show matching line from pattern file]

2022-06-02 Thread Will Mengarini
* David Christensen [22-06/02=Th 18:01 -0700]: >On 6/2/22 17:12, Will Mengarini wrote: >> * David Christensen [22-06/02=Th 15:50 -0700]: >>> On 6/2/22 15:13, Will Mengarini wrote: > >>>> In this transcript, th

Re: grep: show matching line from pattern file

2022-06-02 Thread Will Mengarini
* David Christensen [22-06/02=Thu 15:50 -0700]: > On 6/2/22 15:13, Will Mengarini wrote: >> * Greg Wooledge [22-05/28=Sa 17:11 -0400]: >>> [...] >>> #!/usr/bin/perl >>> use strict; use warnings; >>> [...] >>> open PATS, ">> [...] &

Re: grep: show matching line from pattern file

2022-06-02 Thread Will Mengarini
* Greg Wooledge [22-05/28=Sa 17:11 -0400]: > [...] > #!/usr/bin/perl > use strict; use warnings; > [...] > open PATS, " [...] You need "or die", not "|| die", because of precedence: what you coded checks whether " perl -le"print unpack '%C*',MENGARINI"

Re: Recommendations for a home server running Debian Bullseye (11)?

2022-04-27 Thread Will Mengarini
parts? Alternatives to Newegg? -- Will Mengarini Free software: the Source will be with you, always.

Re: simple talking clock / reminder for when monitor is off and it is dark

2022-03-22 Thread Will Mengarini
* Samuel Wales [22-03/20=Su 23:03 -0700]: > [...] i want debian to tell me the time at certain times. Nobody has yet mentioned the festival package, which is a full text-to-speech system. Once you have that installed, you can use cron or at jobs to speak whatever you want at specific times.

Re: bashrc problem

2022-01-12 Thread Will Mengarini
dkman-init.sh" ]] && source \ >>> "$HOME/.sdkman/bin/sdkman-init.sh" >>> >>> $ . .bashrc >>> $ which scala >>> /home/xxx/.sdkman/candidates/scala/current/bin/scala >>> >>> How can I make it take effect aut

Re: bashrc problem

2022-01-12 Thread Will Mengarini
* Yamada??? [22-01/12=We 19:49 +0800]: > I have a .bashrc file in my home dir, whose content is shown as follows. > But every time I log into the system, I have to source this file by hand. > > $ which scala > /usr/bin/scala > > $ cat .bashrc > #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO

Re: A .profile puzzle

2021-10-17 Thread Will Mengarini
* Gene Heskett [21-10/17=Su 12:18 -0400]: > [...] opening a terminal hasn't called > a ". .profile" since about jessie [...] Check whether you *also* have either .bash_profile or .bash_login, because either of those supersedes .profile: ls -lA ~/.bash_{profile,login}

Re: Debian Linux keyboard mapping files ...

2021-07-01 Thread Will Mengarini
* Albretch Mueller [21-07/01=Th 01:59 -0400]: > there should be files mapping (most probably unicode) number > <-> glyph for each language. From where can I get them? Does have what you want? If not, try `locate kmap`.

Re: Social-media antipathy (was Re: How i can optimize my operating system?)

2021-05-09 Thread Will Mengarini
d, and colorful life! -- Will Mengarini Free software: the Source will be with you, always. perl -le"print unpack '%C*',MENGARINI"

Re: How to view a troff formatted file?

2021-02-22 Thread Will Mengarini
Your groff command references $o but your script sets no value for it, so $o is either empty or inherited from your environment. * Alain D D Williams [21-02/22=Mo 12:58 +]: > On Mon, Feb 22, 2021 at 06:04:15AM -0600, Richard Owlett wrote: >> I have downloaded a program with a man-page in

Re: iptables -Z option

2021-02-09 Thread Will Mengarini
Your issue looks like this bug, but I don't know how to fix it: . * Bonno Bloksma [21-02/09=Tue 15:52 +]: > For years I have had a firewall script the sets and/or resets my > firewall rules. [It starts near] the top with some lines

Re: po...@lists.debian.org

2021-01-10 Thread Will Mengarini
ed [for a Usenet server] -- that is, 1 MIPS > and and a megabit/second of bandwidth will do pretty well. > > A Raspberry Pi is overkill. -- Will Mengarini @nypost: New research finds Jupiter is flinging asteroids at Earth. @ChuckWendig: Honestly, do you blame it? -- teh Internet

Re: May I please have a block cursor in nano?

2020-12-25 Thread Will Mengarini
* Bob Bernstein [20-12/25=Fr 20:46 -0500]: > OF COURSE the app looks to the terminal for its cursor > policy, and OF COURSE my terminal (mintty running in > cygwin -- LONG story) also lacked a block cursor. That sounds as if the problem remains unsolved. Three solutions: The first is based on

Re: rsync --delete

2020-10-17 Thread Will Mengarini
* Mike McClain [20-10/16=Fr 17:09 -0500]: > [...] A section of the backup script is so: > Params=(-a --inplace --delete); > [...] > echo /usr/bin/rsync $Params --exclude-from=/home/mike/.rsync_exclude . > $Flash/mike Try this to be sure your shell is doing what you think: debian/pts/14 bash ~

Real bounces from debian-user

2020-07-06 Thread Will Mengarini
om mail I *did* get; I need the URLs for mail I *didn't* get. SUMMARY: How can I either: - Retrieve all my recent debian-user bounces, or a list thereof; or: - Minimizing web traffic, retrieve a list of all recent debian-user mail that I can then, minimizing hack time, compare with all

Re: Reminder about the Debian Code of Conduct

2020-06-25 Thread Will Mengarini
nduct and potential moderation seems to represent, > should be delighted that no scapegoat was designated. > > Yet, although some may try and play naive, I'm pretty sure > the concerned people know who they are and what my email > is referring about, and that seems quite enough to me. YOU KNO

Re: waaay offtopic

2020-05-27 Thread Will Mengarini
Also, other U.S insurance alternatives may not have the same options. -- Will Mengarini KADAN: We're helping them to lead productive, happy lives. RAVOC: By altering their memories? KADAN: The treatment I provide improves their lives and makes them better workers. In turn, our e

Re: Hmmm... /boot is too small. what's the best way to increase it's size?

2020-05-10 Thread Will Mengarini
k/resize > of /home, but how do I add that space to /dev/sda2? > > I can't just move up the end of /dev/sda2 = start of > /dev/sda3 without backing up and restoring, can I? > > Any suggestions would be appreciated. Consider the time you've spent posing this question, waiting for the an

Re: scp overwriting precaution?

2020-02-26 Thread Will Mengarini
* Greg Marks [20-02/26=We 21:48 -0600]: > [...] if I accidentally copy an older version of > a file on my laptop to a newer version of the > file on my server, the newer version is lost. > > Is it possible to configure my server so that [it creates a > backup on the server of any existing file

Re: Jittery desktop mode.

2020-01-20 Thread Will Mengarini
* Peter Easthope [20-01/19=Su 17:36 -0600]: > [...] components in the desktop begin flashing [...] > indicator in the center of the screen rapidly cycles > [...] seems to be triggered by a mouse click [...]. At > present I wouldn't know what to file a bug report against. This seems more like an

Re: automounting sshfs

2020-01-18 Thread Will Mengarini
* Rainer Dorsch [20-01/18=Sa 23:38 +0100]: > ls: cannot access '/home/spatzen/Ablage/': Too many levels of symbolic links Whenever I've seen this, it's been because some symlink is referring (possibly indirectly) to itself. So find ~/Ablage -type l could be used to find all symlinks, and

Re: I need to be root to run this script

2020-01-14 Thread Will Mengarini
* l0f...@tuta.io [20-01/15=We 01:19 +0100]: >> ls -R /etc/sudoers.dcat /etc/sudoers >> ls -l /usr/local/bin/backlight-brightness * kaye n [20-01/15=Wed 10:57 +0800]: > [...] > kaye@laptop:~$ ls -R /etc/sudoers.dcat /etc/sudoers > [...] l0f4r0's commands were missing a newline. These were the

Re: I need to be root to run this script

2020-01-14 Thread Will Mengarini
* l0f...@tuta.io [20-01/15=We 01:19 +0100]: >>> ls -R /etc/sudoers.dcat /etc/sudoers >>> ls -l /usr/local/bin/backlight-brightness * kaye n [20-01/15=We 10:57 +0800]: >> [...] >> kaye@laptop:~$ ls -R /etc/sudoers.dcat /etc/sudoers >> [...] * Will Mengarini

Re: shell wrappers for trig and other mathematical functions

2019-10-02 Thread Will Mengarini
f the programs had a set of good conventions, > then they would provide a model for writing others if the functions i want > are not already available in perl (or other interpreter). > > Thanks again for the suggestion and example!! :) > > dan /pts/8 bash ~ 04:33 0$withsetf(){

Re: buster: multiple instances of konqueror?

2019-09-05 Thread Will Mengarini
A general solution to problems like this is to run the alternate instance as a different user. Example: adduser doppel # also creates /home/doppel sudo -u doppel konqueror # may use /home/doppel for new config files * D. R. Evans [19-09/05=Thu 10:08 -0600]: > Dan Ritter wrote on 9/5/19 9:36

Re: Shell Script Help

2019-05-04 Thread Will Mengarini
* Patrick Bartek [19-05/04=Sa 08:08 -0700]: > [...] Perform an operation on files in unique, sequential > directories [...] never more than 99 -- usually a lot > less. The actual number will vary job to job. [...] If the sequentially-numbered directories already exist: `man find` Else: for

Re: Paypal and Linux in a low graphics environment.

2018-11-15 Thread Will Mengarini
l servers, as well as the usual amenities like mail, news, and my own web site; and tech support is very responsive. You might want to investigate <http://www.eskimo.com/>. -- Will Mengarini Free software: the Source will be with you, always. O< ASCII ribbon campaign - stop HTML mail - www.asciiribbon.org sh -c 'echo -n MENGARINI|sum -s|colrm 4'

Re: Help me Linux

2018-10-30 Thread Will Mengarini
> I TRIED TO INSTALL DEBIAN MANY TIMES BUT FAILED BADLY. I NEVER USED DEBIAN. > I believe whoever reading this mail is far more knowledgeable and > experienced than me and having good knowledge of Linux. Please help me! Studying will help you

Re: sort (-g) [offtopic]

2018-02-19 Thread Will Mengarini
* Ionel Mugurel Ciobica [18-02/18=Su 16:55 +0100]: > [... How can something like > "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX" > [be sorted? ...] See `aptitude show msort`; it probably does what you need.

Re: sudo

2017-11-08 Thread Will Mengarini
* Josh W. [17-11/08=We 14:56 -0600]: > I am trying to figure out how to add a user to sudo. Not sure of the > process. Could somebody point me in the right direction. Thanks! sudo adduser beeblebrox sudo # man adduser

Re: Opening Intellicast Causes Firefox to close

2017-11-08 Thread Will Mengarini
> Compiling the src reminded me of years ago when I used to compile the > Linux kernel - an agonizingly long procedure, but it finally finished. I find it helps to keep reminding myself that computers save time. -- Will Mengarini <sel...@eskimo.com> F

Re: Opening Intellicast Causes Firefox to close

2017-11-07 Thread Will Mengarini
es are > now far beyond being deterministic or even vaguely testable. When the heavy hand of government is starting to look preferable to market forces, we're in truly-late-stage capitalism. (1) I am not a crook. (2) America does not torture. (3) Don't be evil. -- Will Mengarini

Re: Another Devuan annoyance: CLI default apps

2017-11-01 Thread Will Mengarini
* Ron OLGIATI [17-10/31=Tu 19:11 -0300]: >> [...] Devuan Jessie, I tried to use crontab [...] >> under Devuan, crontab opens the file with nano [...] * deloptes [17-11/01=We 09:23 +0100]: > [...] OP wanted to edit crontab, which needs root

Re: Another Devuan annoyance: CLI default apps

2017-10-31 Thread Will Mengarini
R=vim export VISUAL=vim Or modify as needed if you're using some other vi than Vim, or some other shell than Bash. -- Will Mengarini <sel...@eskimo.com> Free software: the Source will be with you, always.

No live CD ISOs without GUI desktops?

2017-06-23 Thread Will Mengarini
https://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid/ lists many ISOs, but all have graphic desktops, so none would fit on a 650 MB CD-ROM, of which I have lots; I don't have larger media. The situation for the amd64 architecture is identical. https://www.debian.org/distrib/ points

Re: Here's how to make yourself happier

2014-03-04 Thread Will Mengarini
:.*naturalli...@dcemail.com * 1^0 ^From:.*arnoldb...@cosmicemail.com * 1^0 ^From:.*usspookslovesys...@muchomail.com * 1^0 ^From:.*fredw...@mail.ru * -2147483646^0 $JUNK This works on 64-bit as well as 32-bit systems. Unscored conjuncts can precede the alternatives: :0: * !^From:Will Mengarini sel