Re: [gentoo-user] [SOLVED] SSH xterm not working properly during install
On Wed, Jul 08, 2020 at 03:42:29PM -0400, Walter Dnes wrote > As I mentioned in another post, the "toe" command shows which TERM > types you terminal supports. xterm (the app) doesn't support "linux" > TERM type. The solution was to set TERM to "xterm" at both ends. > Basically, run "toe" on both machines and find a common entry that they > both support. I've got a bootable install running... yay! There's still some setup to do, but I can handle it from my desktop. One thing I might forward to the maintainers as a documentation bug/suggestion... If you're doing a remote install via ssh, *BEFORE THE REBOOT* run "ssh-keygen" on the install target, and then... scp ~/.ssh/id_rsa.pub root@:/mnt/gentoo/root/.ssh/authorized_keys This allows a root connection from your machine to the target machine, so that you're not locked out . In my case, I only had to walk a few steps to the laptop, run ssh-keygen, edit /etc/ssh/sshd.config, restart sshd, and login manually via ssh. If you're doing a really remote install, it could be embarressing. After uploading my key, I've changed sshd.config back and restarted sshd. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Re: SSH xterm not working properly during install
On 7/8/20 10:05 PM, james wrote: On 7/8/20 9:48 AM, Grant Edwards wrote: On 2020-07-08, Walter Dnes wrote: Today I decided to ssh into the install, and cut + paste stuff into an ssh xterm into the install.� This went flying along really fast until I went to emerge after having updated make.conf.� I got a slew of weird errors. I've been installing Gentoo that way for almost 20 years and never had a problem.� I very rarely use xterm though -- I used aterm for years, switched to rxvt, and then to urxvt. It turns out that make.conf was majorly butchered after I had done some "simple" edits over ssh.� This seems to be a terminfo problem, so it may apply to more than just nano. -- Grant x11-misc/urxvtconfig might be useful to you https://github.com/daedreth/URXVTConfig hth, James AND 'rich' looks like it picks up color to fancy features, if somebody figures out how to set it up on gentoo: https://pypi.org/project/rich/ "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal " This one has been on the 'todo' list for me for a while. hth, James
Re: [gentoo-user] Re: SSH xterm not working properly during install
On 7/8/20 9:48 AM, Grant Edwards wrote: On 2020-07-08, Walter Dnes wrote: Today I decided to ssh into the install, and cut + paste stuff into an ssh xterm into the install. This went flying along really fast until I went to emerge after having updated make.conf. I got a slew of weird errors. I've been installing Gentoo that way for almost 20 years and never had a problem. I very rarely use xterm though -- I used aterm for years, switched to rxvt, and then to urxvt. It turns out that make.conf was majorly butchered after I had done some "simple" edits over ssh. This seems to be a terminfo problem, so it may apply to more than just nano. -- Grant x11-misc/urxvtconfig might be useful to you https://github.com/daedreth/URXVTConfig hth, James
Re: [gentoo-user] what does this equery display show me?
On Thu, Jul 09, 2020 at 12:46:42AM +0200, n952162 wrote: > Is ncurses dependent on gpm? > > $ /equery g sys-libs/ncurses-6.2-r1/ > * Searching for ncurses6.2-r1 in sys-libs ... > > * dependency graph for sys-libs/ncurses-6.2-r1 > `-- sys-libs/*ncurses*-6.2-r1 amd64 > `-- sys-libs/*gpm*-1.20.7-r2 (sys-libs/gpm) amd64 > [abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? > abi_mips_n64(-)? abi_mips_o32(-)? abi_riscv_lp64d(-)? abi_riscv_lp64(-)? > abi_s390_32(-)? abi_s390_64(-)?] > [ sys-libs/ncurses-6.2-r1 stats: packages (2), max depth (1) ] It depends whether the `gpm` USE-flag is set or not. From the ncurses ebuild: (See [1] for documentation regarding the ${MULTILIB_USEDEP} eclass variable.) DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )" [2] The list of architectures you're seeing is an expansion of ${MULTILIB_USEDEP} as defined by the `multilib-build` (or in this case, `multilib-minimal` eclass); this can be removed from the output by passing the local option -U to depgraph. As all of these are disabled, I'm guessing you're not running a multi-lib profile. > Note that there's a gpm USE flag for ncurses, but it's *--* What do you mean, "but it's *--*" ? Do you mean it's disabled ? Equery lists dependencies as specified by the DEPEND ebuild variable, regardless of your own system's USE-flags. Try running the same equery command for something with lots of optional dependencies, such as Firefox, and you'll see the same behaviour. [1] https://devmanual.gentoo.org/eclass-reference/multilib-build.eclass/index.html#lbAF [2] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/ncurses/ncurses-6.2-r1.ebuild#n26 -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
[gentoo-user] what does this equery display show me?
Is ncurses dependent on gpm? $ /equery g sys-libs/ncurses-6.2-r1/ * Searching for ncurses6.2-r1 in sys-libs ... * dependency graph for sys-libs/ncurses-6.2-r1 `-- sys-libs/*ncurses*-6.2-r1 amd64 `-- sys-libs/*gpm*-1.20.7-r2 (sys-libs/gpm) amd64 [abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? abi_mips_n64(-)? abi_mips_o32(-)? abi_riscv_lp64d(-)? abi_riscv_lp64(-)? abi_s390_32(-)? abi_s390_64(-)?] [ sys-libs/ncurses-6.2-r1 stats: packages (2), max depth (1) ] $ /qdepends -d sys-libs/ncurses-6.2-r1/ sys-libs/ncurses-6.2-r1: Note that there's a gpm USE flag for ncurses, but it's *--*
[gentoo-user] equery results different for same pkg on different installations
Hi, If I enter "equery uses sys-libs/readline" on one machine, it gives my a bunch of USE variables for sys-libs/ncurses-6.2-r1, some enabled, some not. When I run the same command on another machine, it tells me !!! No USE flags found for sys-libs/ncurses-6.2-r1 What am I doing wrong?
[gentoo-user] [SOLVED] SSH xterm not working properly during install
On Wed, Jul 08, 2020 at 01:48:42PM -, Grant Edwards wrote > I've been installing Gentoo that way for almost 20 years and never had > a problem. I very rarely use xterm though -- I used aterm for years, > switched to rxvt, and then to urxvt. As I mentioned in another post, the "toe" command shows which TERM types you terminal supports. xterm (the app) doesn't support "linux" TERM type. The solution was to set TERM to "xterm" at both ends. Basically, run "toe" on both machines and find a common entry that they both support. -- Walter Dnes I don't run "desktop environments"; I run useful applications
[gentoo-user] [SOLVED] SSH xterm not working properly during install
On Tue, Jul 07, 2020 at 10:58:48PM -0600, Grant Taylor wrote > On 7/7/20 10:40 PM, Walter Dnes wrote: > > Thanks, I missed that. I'll try again and see how it goes. > > If you continue to have problems, I would very much like to know the > particulars. > > My experience has been that changing the TERM environment variable has > had very little success in fixing things like this. > > In fact, the only way that I see it working is if you are TERM is set to > something MASSIVELY wrong for your actual terminal. I.e. trying to send > fancy xterm / ANSI control sequences to an old dumb terminal like a VT100. Once you know what questions to ask, things become easier. Knowing that it was a TERM mismatch, a bit of googling turned up the "toe" command, which lists what your terminal supports. It looks like the install CD defaults to TERM="linux", which xterm (the app) doesn't support, according to "toe". Setting TERM on both ends to "xterm" solves the problem. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Quickest/easiest Gentoo install?
On 7/8/20 1:09 AM, Matt Connell (Gmail) wrote: On Tue, 2020-07-07 at 23:50 -0400, james wrote: I have a proton mail account, the free one, very basic. Proton mail doesn't allow standard IMAP/SMTP, which is relevant given the below. If you want to use a mail client, protonmail is probably a non-starter for you Will this guide allow thunderbird and other complex apps to send/receive mail from the postfix server, (thunderbird) ? Yes, the guide uses dovecot which is a modern IMAP server. Postfix is used exclusively for SMTP as an MTA, for sending. OK, you have convinced me. I'm got to spin up some extra gentoo systems (rasp.Pi.4) and get the static IPs from the isp. I'll drop a line, when ready. DO feel encourages to just keep replying to this thread, with links, suggested config options and anything else. I'm going for the entire enchilada, here:: (2) primary dns servers, one mail server (system) and one basic simple web server.
[gentoo-user] Re: SSH xterm not working properly during install
On 2020-07-08, Walter Dnes wrote: > Today I decided to ssh into the install, and cut + paste stuff into > an ssh xterm into the install. This went flying along really fast > until I went to emerge after having updated make.conf. I got a slew > of weird errors. I've been installing Gentoo that way for almost 20 years and never had a problem. I very rarely use xterm though -- I used aterm for years, switched to rxvt, and then to urxvt. > It turns out that make.conf was majorly butchered after I had done > some "simple" edits over ssh. This seems to be a terminfo problem, so > it may apply to more than just nano. -- Grant
Re: [Gentoo] : Re: [gentoo-user] logcheck fallback detection message
Jul 7, 2020, 22:35 by a...@suugaku.co.uk: On Tue, Jul 07, 2020 at 08:48:33AM -0400, elu6-u...@spamex.com wrote: Noticed the line "Using fallback detection... please install python-magic for better gzip detection." I installed python-magic, but that makes no difference. Anybody have any idea how to get rid of it? With which PYTHON_TARGETS was `python-magic` built ? Please post the output of `emerge --info python-magic` (place it as an attachment to the e-mail, not a link to an external hosting service). -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA Output is attached as requested. Snippet: PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 (-python3_8) (-python3_9)" Tom Naujokas (elu6-u259 at spamex.com) Portage 2.3.99 (python 3.7.7-final-0, default/linux/x86/17.0/desktop/gnome, gcc-9.3.0, glibc-2.30-r8, 5.4.28-ck-bcache i686) = System Settings = System uname: Linux-5.4.28-ck-bcache-i686-AMD_Sempron-tm-_Processor_3400+-with-gentoo-2.6 KiB Mem: 1865660 total,280144 free KiB Swap: 53710844 total, 53710068 free Timestamp of repository gentoo: Wed, 08 Jul 2020 09:00:01 + Head commit of repository gentoo: a419a4c32987fc825ff2cbfc0dcaa4fed186b99e sh bash 5.0_p17 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 ccache version 3.7.9 [disabled] app-shells/bash: 5.0_p17::gentoo dev-lang/perl:5.30.3::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo dev-util/ccache: 3.7.9::gentoo dev-util/cmake: 3.16.5::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc:9.3.0::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool:2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="@FREE" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8-sse3 -mmmx -m3dnow -msse -msse2 -msse3 -mno-ssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=k8 -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=k8-sse3 -mmmx -m3dnow -msse -msse2 -msse3 -mno-ssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=k8 -O2 -fomit-frame-pointer" DISTDIR="/var/cache/distfi
Re: [gentoo-user] Quickest/easiest Gentoo install?
On Wednesday, 8 July 2020 03:54:43 BST james wrote: > On 7/7/20 9:20 PM, Walter Dnes wrote: > > On Tue, Jul 07, 2020 at 01:47:31PM -0400, james wrote > > > >> Good news: I have dozens of potential solutions to what you seek. I will > >> post a few, that best (potentially) satisfy your solution-request. > >> Please let me know what your try and what is wrong with what I suggest. > >> (it helps me). > >> > >> > >> Bad news: I am currently very disorganized. > >> > >Thay all seem to come with various software pre-installed that I don't > > > > need/want. I decided to try a quickie manual install, but ran into > > problems, which are a separate thread. Just one semi-related question > > here. Do I still need both LINGUAS and L10N in make.conf? On my > > desktop I currently have... > > > > LINGUAS="en en_US" > > L10N="en en-US" > > Walter, > > I have both of those in my make.confs on all gentoo systems. I'm not > saying that's the best, but yes I have > similar: > > > LINGUAS="en_US" > L10N="en-us" > > > hth, > James Unless you have old packages installed but not updated for a while now and they which use LINGUAS, L10N is all you should need: https://gentoo.org/support/news-items/2016-06-23-l10n-use_expand.html signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] SSH xterm not working properly during install
On 8/7/20 12:58 pm, Grant Taylor wrote: > On 7/7/20 10:40 PM, Walter Dnes wrote: >> Thanks, I missed that. I'll try again and see how it goes. > > If you continue to have problems, I would very much like to know the > particulars. > > My experience has been that changing the TERM environment variable has > had very little success in fixing things like this. > > In fact, the only way that I see it working is if you are TERM is set > to something MASSIVELY wrong for your actual terminal. I.e. trying to > send fancy xterm / ANSI control sequences to an old dumb terminal like > a VT100. > > Seeing as how ANSI / XTERM* is effectively a significant super set of > VT100, setting the TERM variable to an older less capable value does > little other than limit features. > > That being said, I have seen problems when there is a size mismatch > between what's running on the host and the terminal. Sort of like if > you re-sized the window after starting nano (et al.). Things can get > weird then. > > Beyond any of this, I'd be quite curious what problems you're having. > Try hitting the F11 key (full screen, hit again to go back )when logged in to rewrite the screen with the session rereading the screen sizes. BillK