After using this a lot now, I notice it's best to start with your terminal very wide or maximized, as long commands will cause the display to wrap a line on itself. With the terminal wide enough it doesn't seem to be an issue.
Puppy Linux Security Questions!
-
- Posts: 2879
- Joined: Fri Jul 31, 2020 3:37 am
- Has thanked: 2202 times
- Been thanked: 876 times
Re: Puppy Linux Security Questions!
geo_c
Old School Hipster, and Such
-
- Posts: 1948
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 172 times
- Been thanked: 369 times
Re: Puppy Linux Security Questions!
a simple weather symbol in each prompt
https://github.com/jdotjdot/BashWeather ... me-ov-file
or if you want a more complete forecast....
https://askubuntu.com/questions/1305029 ... inal-opens
with something like
https://wttr.in/seattle
in the script
- Governor
- Posts: 882
- Joined: Sat Nov 12, 2022 7:11 pm
- Location: https://www.heritage.org/voterfraud/
- Has thanked: 224 times
- Been thanked: 46 times
Re: Puppy Linux Security Questions!
geo_c wrote: ↑Sun Sep 01, 2024 9:52 amI'll play around with that full path prompt. edit It's returning 0 for some reason.
@Governor here's a simple one I settled on last night, also you can always type pwd at the prompt and get the full path in about 1 second:
Code: Select all
PS1="\e[31m[\u]\e[32m\W/\e[32m\e[33m$:\e[0m"
Using Fossapup64_9.5
So far I got this.
PS1='\[\e[93;104;1m\]\w\[\e[0m\]>'
I have the following problems with it.
It shows a weird path to the directory, one which I do not recognize and can't use.
I want this: /mnt/sdc1/Documents
It shows this: /c-drive-NTFS/c-drive-NTFS-1/Documents
How do I get my usual path?
How do I get the entire screen to be blue, and all text on the screen to be bold yellow (including all that is typed or echoed to the screen)?
Thanks!
Governor
-
- Posts: 2879
- Joined: Fri Jul 31, 2020 3:37 am
- Has thanked: 2202 times
- Been thanked: 876 times
Re: Puppy Linux Security Questions!
It seems to work the way you want it on Uxterm in KLV-Airedale.
That would be using either .Xresources or .Xdefaults. In Fossapup there is a uxrvt terminal gui that will write you a new config. It's in the menu. I think it's called uxrvt control or something like that.
geo_c
Old School Hipster, and Such
- Governor
- Posts: 882
- Joined: Sat Nov 12, 2022 7:11 pm
- Location: https://www.heritage.org/voterfraud/
- Has thanked: 224 times
- Been thanked: 46 times
Re: Puppy Linux Security Questions!
Unfortunately, that isn't working in my fossapup64_9.5.
Governor
-
- Posts: 2879
- Joined: Fri Jul 31, 2020 3:37 am
- Has thanked: 2202 times
- Been thanked: 876 times
Re: Puppy Linux Security Questions!
I haven't used fossapup 9.5 in a good while, but I just discovered a few days ago that using xterminals, like xterm, uxterm, and uxrvt, if you hold the control key and right click or left click on the terminal space, you get two sets of options. I was stunned, I never knew that existed. If you don't want to choose one of those options, it seems you need to release the mouse button over some neutral space like that title area of the option box. But it works, and there are several options there.
This option seems to be present in most of my OSs with a standard xterm.
geo_c
Old School Hipster, and Such
-
- Posts: 1948
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 172 times
- Been thanked: 369 times
Re: Puppy Linux Security Questions!
me either, I guess I was mistaken about which terminal was shipped with fossapup. perhaps if GoV could tell us which terminal program he is asking about.