Sponsored Content
Full Discussion: Wanted: Feedback on TUI
The Lounge What is on Your Mind? Wanted: Feedback on TUI Post 302935704 by Corona688 on Wednesday 18th of February 2015 04:18:47 PM
Old 02-18-2015
I haven't tried it before, here's my thoughts on the installation process:

1) I find it ironic that I must edit a config file to get a text UI installed where I want it to.

2) It's disquieting that it would default to installing in /usr/ and have no easy way to change it.

Perhaps it could accept a PREFIX like ./configure does, and default it to /usr/local ? This is not what everyone would want, but could prevent big problems in the future, and would be much easier to change than editing 8 different lines.

Code:
        app=tui

        [ -f install.sh ] || cd "$(dirname "$0")"

        if [ -z "$PREFIX" ]
        then
                echo "You have not specified a PREFIX, so $app will install in /usr/local ." >&2
                echo "This is probably not what you want.  Run PREFIX=/usr $0 to install in standard paths." >&2
                PREFIX="/usr/local/"
        fi

        DIR_BIN="$PREFIX/bin"
        # Default paths:
        DIR_COMPL="/etc/bash_completion.d"
        DIR_APP=$PREFIX/share/$app
        DIR_CFG=/etc/$app
        DIR_DOC=$PREFIX/share/doc/$app
        DIR_MAN1=$PREFIX/share/man/man1
        DIR_TPL=$DIR_APP/templates


Last edited by Corona688; 02-18-2015 at 05:24 PM..
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Feedback on Script.

Hi all, Would like to get some feedback on a scrip that I've finished writing at home for work. Any constructive feedback from operations used to legibility, etc. would be appreciated - anything at all. It's my first real script that will be running on a clients server. The script is... (2 Replies)
Discussion started by: Cameron
2 Replies

2. UNIX for Dummies Questions & Answers

feedback form ?! :-(

hi, i am VERY new to UNIX. just wanted some help on a feedback form that i have hosted on a unix server. the feedback form is in asp and doesnt work on unix. any other language to get it working ?? HELP !!! (3 Replies)
Discussion started by: shahenil
3 Replies

3. Programming

Feedback algorithm

Hi I search an exemple of scheduling Feedback algorithm, or help about how to create one. Thanks (0 Replies)
Discussion started by: messier79
0 Replies

4. Shell Programming and Scripting

kshdb feedback

Hi I'm looking for some feedback on kshdb, what are peoples general feeling about it etc. Also has anyone used this as a test mechanism? I am thinking about trying to wrap a basic test script around this. (0 Replies)
Discussion started by: eeisken
0 Replies

5. HP-UX

Start SAM in TUI from CDE session

how can i start sam in TUI mode from a CDE session. i'm using hp-ux 11iv3 i tried to start SAM from a terminal from CDE session but each time i try to start it System Managment Homepage starts , so i telneted to server from a pc to start sam in TUI mode is there any other way to set my SAM to... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

6. UNIX for Advanced & Expert Users

where do the configuration files from Redhat (fedora) authconfig-tui reside?

I have tried moving out the /etc/ldap.conf as well as /etc/openldap/ldap.conf files. I have LDAP Authentication turned on in the TUI. It lets me define a host and base, but the entries are not saved to the above files. /etc/sysconfig/authconfig has a bunch of environmental variables, but none... (2 Replies)
Discussion started by: druidmatrix
2 Replies

7. Shell Programming and Scripting

[SH] TUI not always properly aligned

Heyas I havent found a thread to introduce, so i combine it with the issue i have. EDIT /* Removed Problem because solved */ My first contact with Linux was back in 1995 with slackware, beeing a gamer back then, i (sadly) didnt bother to dig deeper. I finaly joined the Linux community in... (0 Replies)
Discussion started by: sea
0 Replies

8. What is on Your Mind?

TUI for Raspery Pi?

Heyas Just followed a conversation on IRC#ffmpeg, actualy just from the logs as they were offline when i came back. Anyway, they were talking about a terminal interface for their Raspery Pi using SSH. But it might just be a great usage case for TUI. It should display well, i hope, but i... (2 Replies)
Discussion started by: sea
2 Replies

9. What is on Your Mind?

Wanted: Feedback on TUI (2)

Hello everyone It just so happend that TUI was rejected from GNU for the moment, with one of the reasons beeing that additional user feedback was required. So, if you like scripting, bash in specific, please have a try and report your feedback, to help me find all issues to fix, and as i... (0 Replies)
Discussion started by: sea
0 Replies

10. Shell Programming and Scripting

Feedback wanted for upcoming script language

Hi I'm currently rewriting a project from install-required to a pure runtime form. The former had required the project name and the definition of the command as name, as they all become functions now, this could be shorter. As you might have figured, the project already exists in another... (3 Replies)
Discussion started by: sea
3 Replies
GD(1)							      General Commands Manual							     GD(1)

NAME
gdlib-config - script to get information about the installed version of GD SYNOPSIS
gdlib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] DESCRIPTION
gdlib-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link pro- grams that use the GD library. It is also used internally to the .m4 macros for GNU autoconf that are included with the GD library. OPTIONS
gdlib-config accepts the following options (and more - run gdlib-config with no options for the rest): --version Print the currently installed version of the GD library on the standard output. --libs Print the linker flags that are necessary to link a GD program. --cflags Print the compiler flags that are necessary to compile a GD program. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that GD was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs or --cflags options. --exec-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that GD was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. COPYRIGHT
Copyright (C) 1998 Owen Taylor Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro- vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup- porting documentation. Modified for GD by Jonas Smedegaard GD(1)
All times are GMT -4. The time now is 02:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy