[SH] TUI not always properly aligned


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting [SH] TUI not always properly aligned
# 1  
Old 09-26-2013
Introduction

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 2011, when i droped Windows and made the complete switch to linux.
Besides every 2-3 months uptime loging to Windows for a few hours gaming i do all that really matters on Linux.

That said, i was a fan of batch scripts in DOS/Windows, and heck, i LOVE THE SHELL in *nix systems!
If i just understood it better, but as time goes on that is increasingly the case Smilie
I've been a hobby coder all of my (computer-)life, but i never ever attached a course, and the only books i've read on developing were Visual Basic 3,4 and 5....
Any further 'knowledge' on coding languages happend plainly on a need to use basis.

Last edited by sea; 09-28-2013 at 10:50 PM.. Reason: got problem solved
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Re-aligned text file into one raw

Hi, Anyone can help on how to re-aligned the data into one raw; Input Text File: TESTA Carbon A China 06/28/2016 Active Vol. 8210, No. 2048, New Era 02/25/2010 ... (1 Reply)
Discussion started by: fspalero
1 Replies

2. 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

3. What is on Your Mind?

Wanted: Feedback on TUI

Hello Couldnt think of a better place than "What is on your Mind". So me have that project https://www.unix.com/shell-programming-and-scripting/253496-tui-text-user-interface-framework-scripts.html. :b: Eventhough i tried to describe it well in its thread and its README.md on github, i've... (15 Replies)
Discussion started by: sea
15 Replies

4. 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

5. 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

6. 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

7. Shell Programming and Scripting

Output columns needs to be aligned

Hi All I'm running a shell script and the output is something like: Col1 Col2 Col3 aaaa aaaaaaa aaaaa bbbbb bbbbb bbbbbb ccc cccccc ccccccc But I require the output to printed as given below: Col1 Col2 Col3 aaaa ... (4 Replies)
Discussion started by: nkamalkishore
4 Replies

8. Shell Programming and Scripting

SQL output vertically aligned?

I used the SQL query (taken from other threads here) to get the expected values to be written into a file. myQuery=`sqlplus -s cr_appsrvr/appsrvr@qwi << EndofFile set heading off; set tab off; set wrap off; set pages 0; set feedback off; SELECT CLEARINGHOUSE_TRACE_NUM, INSURED_ID FROM... (4 Replies)
Discussion started by: swame_sp
4 Replies

9. Solaris

Error: Memory Address Not aligned

Hi, The following error message occured when I was trying to reboot my SUN machine: Memory address not aligned Its a Sun 280 R , Ultra SPARC III What should I do. Varma (3 Replies)
Discussion started by: gunnervarma
3 Replies

10. AIX

df output is not aligned.

When I issue a "df" command the columns of the output are not aligned. QMN012:.../oracle> df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 524288 439592 17% 5423 6% / /dev/M121A_HOME 3080192 2343764 24% 7263 2%... (1 Reply)
Discussion started by: marcogilbert
1 Replies
Login or Register to Ask a Question
setnetlp(1M)															      setnetlp(1M)

NAME
setnetlp - configure the LP spooling system for network printers SYNOPSIS
/usr/sbin/setnetlp /usr/sbin/setnetlp -p printer [options] /usr/sbin/setnetlp -x printer DESCRIPTION
The command configures network printers in the LP spooling systems with specified printer model interface file. It is used to add and remove specified printer that is referred as a LP destinations, change configuration of the printer if the printer exists. Network printers that support lpd protocol or JetDirect interface can be configured by The command is a shell procedure. It calls lpad- min(1M) command for lpd printer configuration. It may also call addqueue(1) and removequeue(1) commands for configuring printers with Jet- Direct interface when the optional software HP JetDirect Printer Installer for Unix is installed on the system. Exactly one of the -p, -x options or no options must be present for every legal invocation of -p printer Names a printer to which all of the options below refer. If printer does not exist, it will be created. -x printer Removes the printer from the LP spooling system. The printer is a LP destination configured in the LP spooling sys- tem. No other options are allowed with -x. The following options are required for -p and can appear in any order. -orm machine The name of the remote machine or IP address of the network printer is machine. -om model This option selects a printer model interface program for printer. The model is one of the model file name at /usr/lib/lp/model/* supplied with the LP software or generated by psmsgen(1M). Refer to lpadmin(1M) Models for details. One and only one of the following options is required for -p and can appear in any order. -orp rprinter The name of the remote printer queue that has configured on the remote machine is rprinter. This option is required to configure lpd printer and can not be used with -jd option. -jd When this option is specified, configures the printer using commands provided by HP JetDirect Printer Install- er for Unix Interactive terminal user interface (TUI) will be invoked when is invoked without any options. At the TUI, values of all options described above can be set. In addition, for some printer model, defaults of model interface options also can be customized. When HP JetDi- rect Printer Installer for Unix is available on the system, some recommended initial values for options may be provided for some printer model. The model customization support feature by is available only for TUI. No customization is performed by non-interactive invocation of To customize model options for a printer without the TUI, pre-customized model file needs to be generated before running for configuring the printer. EXAMPLES
Assuming a LIPS printer supported lpd protocol on a network as remote printer host name lphost and remote printer name lipslp the command: /usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS4 causes the spool system to use the local printer netlp and the local model file LIPS4. FILES
SEE ALSO
lpadmin(1M), addqueue(1), removequeue(1), psmsgen(1M) setnetlp(1M)