3
5
Fork
You've already forked xut
3

various small portability and other fixes. #43

Merged
mobinmob merged 15 commits from safety_portability_fixes into master 2025年11月22日 16:49:24 +01:00
No description provided.
mobinmob changed title from (削除) WIP: xut:make tput optional. (削除ここまで) to WIP: various small portability and other fixes. 2025年11月13日 21:07:41 +01:00
mobinmob force-pushed safety_portability_fixes from 85bc440a84 to d0c8696f7a 2025年11月13日 21:08:23 +01:00 Compare
Contributor
Copy link

If tput will be optional we can use standard color definitions if tput isn't used?

like

# Colors for output
RED='033円[0;31m'
GREEN='033円[0;32m'
YELLOW='033円[1;33m'
BLUE='033円[0;34m'
PURPLE='033円[0;35m'
CYAN='033円[0;36m'
MAGENTA='033円[0;95m'
RESET='033円[0m'

also what about not use colors if NO_COLOR variable is set?

info here: no color

If tput will be optional we can use standard color definitions if tput isn't used? like ``` # Colors for output RED='033円[0;31m' GREEN='033円[0;32m' YELLOW='033円[1;33m' BLUE='033円[0;34m' PURPLE='033円[0;35m' CYAN='033円[0;36m' MAGENTA='033円[0;95m' RESET='033円[0m' ``` also what about not use colors if NO_COLOR variable is set? info here: [no color](https://no-color.org/)
Author
Owner
Copy link

@zenobit

If tput will be optional we can use standard color definitions if tput isn't used?

like

# Colors for output
RED='033円[0;31m'
GREEN='033円[0;32m'
YELLOW='033円[1;33m'
BLUE='033円[0;34m'
PURPLE='033円[0;35m'
CYAN='033円[0;36m'
MAGENTA='033円[0;95m'
RESET='033円[0m'

I use tput in order to avoid doing exactly that...

also what about not use colors if NO_COLOR variable is set?

info here: no color

That is nice.

@zenobit >If tput will be optional we can use standard color definitions if tput isn't used? > >like >``` ># Colors for output >RED='033円[0;31m' >GREEN='033円[0;32m' >YELLOW='033円[1;33m' >BLUE='033円[0;34m' >PURPLE='033円[0;35m' >CYAN='033円[0;36m' >MAGENTA='033円[0;95m' >RESET='033円[0m' > >``` I use tput in order to avoid doing exactly that... >also what about not use colors if NO_COLOR variable is set? > >info here: [no color](https://no-color.org/) That is nice.
Author
Owner
Copy link

@zenobit NO_COLOR done (and much more...).

@zenobit NO_COLOR done (and much more...).
mobinmob force-pushed safety_portability_fixes from 3389a090f4 to 8fab428023 2025年11月18日 19:40:33 +01:00 Compare
Contributor
Copy link

rebase on master?

rebase on master?
mobinmob changed title from (削除) WIP: various small portability and other fixes. (削除ここまで) to various small portability and other fixes. 2025年11月22日 16:17:48 +01:00
mobinmob force-pushed safety_portability_fixes from 8fab428023 to 1ac601fdb3 2025年11月22日 16:25:51 +01:00 Compare
mobinmob force-pushed safety_portability_fixes from 9c923534bb to 668b6831af 2025年11月22日 16:48:10 +01:00 Compare
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mobinmob/xut!43
Reference in a new issue
mobinmob/xut
No description provided.
Delete branch "safety_portability_fixes"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?