09-07-2013
Thanks Scrutinizer.I am afraid that's a huge file of 1500 lines.But to my strange it works fine with most of the machine except one.I was wondering if the maximum number of lines to be displayed for edit tool (nedit,gedit) is set to a low value for that particular machine.
Is there a way where we can SET it to MAX.
Thanks
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have only slight difference between remarks (gray) and code (black)
using c and c++ how cani change remark to other color ?
The option preferences/language mode/c++ doesn't help (0 Replies)
Discussion started by: eynkesef
0 Replies
2. Shell Programming and Scripting
Hi,
I am a newbie to both Linux and this forum.
I was trying to pull out the data from a database but it is not showing up in the multiple lines, with my limited knowledge i linux u tried to format this but wasn't exactly getting what i wanted.
The screenshot below shows my problem.
... (2 Replies)
Discussion started by: Ninjaa
2 Replies
3. Shell Programming and Scripting
I have a file with a list of config files numbered on the lefthand side 1-300. I need to have bash read each lines number and assign it to a variable so it can be chosen by the user called by the script later.
Ex. 1 some data
2 something else
3 more stuff
which number do you... (1 Reply)
Discussion started by: glev2005
1 Replies
4. Shell Programming and Scripting
When a file generated by a shell script is sent as a mail (not an attachment), in MS Outlook, single lines of the file are displayed as two/three lines (as the lines are long). Is there a way to make each line to be displayed in 'single line with scroll bar' to enable viewing of the long line?
... (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
5. Shell Programming and Scripting
When a file generated by a shell script is sent as a mail (not as an attachment), in MS Outlook, single lines of the file are displayed as two/three lines (as the lines are long). Is there a way to make each line to be displayed in 'single line with scroll bar' to enable viewing of the long line? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies
6. Shell Programming and Scripting
hey guys,
I tried searching but most 'search and replace' questions are related to one liners.
Say I have a file to be replaced that has the following:
$ cat testing.txt
TESTING
AAA
BBB
CCC
DDD
EEE
FFF
GGG
HHH
ENDTESTING
This is the input file: (3 Replies)
Discussion started by: DeuceLee
3 Replies
7. Shell Programming and Scripting
I am working on an assignment to pull all the records from excel sheet programatically and use the data for further calculations.
In this process, I first defined 10 records in excel sheet and executed the below code.
In the first run it is OK. But after deleting last few rows in excel sheet and... (0 Replies)
Discussion started by: giridhar276
0 Replies
8. Shell Programming and Scripting
Hi,
I have been stuck in this requirement where my file contains the below format.
20150812170500846959990854-25383-8.0.0
"ABC Report" hp96880
"4952"
20150812170501846959990854-25383-8.0.0 End of run
20150812060132846959990854-20495-8.0.0
"XYZ Report" vg76452
"1006962188"... (6 Replies)
Discussion started by: Chinmaya Kabi
6 Replies
9. UNIX for Beginners Questions & Answers
I have a directory of files, I can show the number of lines in each file and order them from lowest to highest with:
wc -l *|sort
15263 Image.txt
16401 reference.txt
40459 richtexteditor.txt
How can I also print the number of unique lines in each file?
15263 1401 Image.txt
16401... (15 Replies)
Discussion started by: spacegoose
15 Replies
lta(4) Kernel Interfaces Manual lta(4)
Name
lta - lta pseudoterminal interface
Syntax
options LAT
pseudo-device lat
pseudo-device lta[n]
Description
The pseudoterminal interface provides support for local area transport (LAT) service. LAT service allows users to access remote nodes
through the Ethernet.
To configure the LAT service for your machine, you must:
o Edit the system configuration file.
o Edit the file.
o Create LAT special files.
o Edit the file.
Instructions for performing these tasks are further documented in the Guide to Ethernet Communications Servers.
Edit the Configuration File
Edit the configuration file to include the option and the and pseudo-devices. The configuration file to edit is located in
/sys/conf/vax/HOSTNAME or /sys/conf/mips/HOSTNAME (depending on your processor), where HOSTNAME is the name of your host processor, in
uppercase.
The optional value for the pseudo-device entry defines the number of LAT lines to configure, a number between 1 and 256. If you do not
specify a value, the default is 16 lines. For example, if you want to configure 32 LAT devices into your system, the entry for the LAT
lines is:
pseudo-device lta32
To use the system as a load host for remote note maintenance functions such as loading and controlling terminal servers, you must also
include an options entry for and a pseudo-device entry for in the configuration file.
Edit the /etc/rc.local File
Edit the file to restart LAT service automatically when the system reboots. Add the following entry after the commands for local daemon
startup:
if [ -f /etc/lcp ]; then
/etc/lcp -s > /dev/console & echo -n ' lat' >/dev/console
fi
Create LAT Special Files
Create the LAT special files by running the program from the directory and specifying the option. You create one LAT special file for each
LAT device. For example, the following commands create 32 device special files for LAT devices:
# cd /dev
# MAKEDEV lta0
# MAKEDEV lta1
The option range is 1 to 7. The maximum number of LAT special files is 256.
Edit the /etc/ttys File
Edit the file to include entries for all the LAT special files you created using the command. For more information on how to add these
entries, see
Files
Contains terminal devices defined to the machine.
Contains terminal devices defined to the machine (modem lines only).
See Also
ttys(5), MAKEDEV(8)
Guide to Ethernet Communications Servers
lta(4)