02-15-2016
It's an easy way to dynamically build menus from a list of supplied words. c.f. man bash.
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I am a newbie here. Trying to find a way of writing a script to launch multiple terminal or console windows on solaris 9. I used to be able to do this using cmdtool on older versions of solaris and it was even possible to configure the size and screen position of the window and the title. ... (5 Replies)
Discussion started by: omerta
5 Replies
2. Shell Programming and Scripting
I developed a script in Lingon (which is an automated script editor developed for OS X) that is used to automatically restart programs only if they crash. The script itself does just that, but I only want it to load if I'm going to use the specific application that it's designed to protect. In... (3 Replies)
Discussion started by: JFraser1
3 Replies
3. OS X (Apple)
I developed a script in Lingon (which is an automated script editor developed for OS X) that is used to automatically restart programs only if they crash. The script itself does just that, but I only want it to load if I'm going to use the specific application that it's designed to protect. In the... (2 Replies)
Discussion started by: JFraser1
2 Replies
4. Programming
i wanted to execute some terminal commands on local linux, parse their output and display it to the user, i checked netcat source code but i couldnt understance it since im new to c (and linux at the same time).
so i was wondering if there is away to run an instance of terminal hidden, read and... (15 Replies)
Discussion started by: JonhyM
15 Replies
5. Shell Programming and Scripting
Hello,
I have a PERL-TK based GUI from which I want to launch a command on an existing UNIX terminal (this is also the parent terminal for this perl based gui window). The command I want to launch is interactive (there is no intention to interact with that command from the same PERL gui i.e. no... (2 Replies)
Discussion started by: AnuragJindal
2 Replies
6. OS X (Apple)
After I installed OS X Lion I haven't been able to launch x11 remotely (using ssh) from Terminal.
It works fine locally, and also remotely directly from the Xterm.
I log in to the unix server at my university from the terminal like this:
ssh -l -X login@host.com
This used to launch... (1 Reply)
Discussion started by: gnyrf
1 Replies
7. Red Hat
After installing centos iam not able to see the terminal icon in the applications menu to launch the command prompt in Centos.
However iam able to see the Open Terminal menu, when i right click and it is not working.
let me know what are the things i need to check.:b: (1 Reply)
Discussion started by: Kesavan
1 Replies
8. UNIX for Dummies Questions & Answers
Is it possible to execute a pbpaste command to an application or current application in focus?
Thanks (0 Replies)
Discussion started by: fhill2
0 Replies
9. UNIX for Dummies Questions & Answers
So, I'm in a graphical terminal (xfce4-terminal) and I was wondering, would there be a way to type a command, and it run in a new terminal window?? An example would be like, say that I want to open a .txt file, but I want it in a different window, instead of the one that I'm currently using because... (1 Reply)
Discussion started by: Huitzilopochtli
1 Replies
10. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
LEARN ABOUT XFREE86
displays
DISPLAYS(5) File Formats Manual DISPLAYS(5)
NAME
displays - Display Configuration File
DESCRIPTION
The interactive graphics programs Caesar, Magic, and Gremlin use two separate terminals: a text terminal from which commands are issued,
and a color graphics terminal on which graphical output is displayed. These programs use a displays file to associate their text terminal
with its corresponding display device.
The displays file is an ASCII text file with one line for each text terminal/graphics terminal pair. Each line contains 4 items separated
by spaces: the name of the port attached to a text terminal, the name of the port attached to the associated graphics terminal, the phos-
phor type of the graphics terminal's monitor, and the type of graphics terminal.
An applications program may use the phosphor type to select a color map tuned to the monitor's characteristics. Only the std phosphor type
is supported at UC Berkeley.
The graphics terminal type specifies the device driver a program should use when communicating with its graphics terminal. Magic supports
types UCB512, AED1024, and SUN120. Other programs may recognize different display types. See the manual entry for your specific applica-
tion for more information.
A sample displays file is:
/dev/ttyi1 /dev/ttyi0 std UCB512
/dev/ttyj0 /dev/ttyj1 std UCB512
/dev/ttyjf /dev/ttyhf std UCB512
/dev/ttyhb /dev/ttyhc std UCB512
/dev/ttyhc /dev/ttyhb std UCB512 (R)
In this example, /dev/ttyi1 connects to a text terminal. An associated UCB512 graphics terminal with standard phosphor is connected to
/dev/ttyi0.
FILES
Magic uses the displays file ~cad/lib/displays. Gremlin looks in /usr/local/displays.
SEE ALSO
magic(1)
3rd Berkeley Distribution 2/19/85 DISPLAYS(5)