Line length limit

Hi,
I'm having a problem with a large group (about 2500 members). I first thougt this is a Directory Server Problem, but the Server Log is identical for small and large groups and does not show any problems. Additionally even if i put the group (with all members) into /etc/group, I still cant see the group!
When using vi to edit /etc/group it sais: line too long.
I figured out this to be a problem with the maximum line length defined in /usr/include/limits.h (LINE_MAX). The value set here is 2048, but my line is about 13K.
Could my explanation be correct? If so, how can I change the line limit to a bigger value?
thanks,
David

Hi Martin,
I might not have explaned enough the issue. I dont want to edit the file with vi, this was just what I experienced on the side. My real problem is, that Solaris doesnt know this group, even though it is in /etc/group!
id just shows the gid number, but not the group name:
bash-2.05$ id
uid=21345(ab123) gid=10000
bash-2.05$ groups
10000
getent doesnt know the group too:
bash-2.05$ getent group gp_everyone
[No output]
And this is constrained by the Solaris system as I think. Because of the limited line length. Do you know how to reconfigure Solaris 9 and 10 for a longer line length?
big thanks
--David                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Set line length

    I belong to a travel discussion group and they request that all e-mails are received in plain text and with a 60 character per line limit. How do I set the line length to a maximum of 60 characters?

    Dear Diana,
    This seems really antiquated. I can't think of any discussion groups I belong to that ask you to set the line length of my contributions.
    Whatever. Since no one has replied to you, I offer a completely clunky way of doing this. I can't see where Mail has this capability/preference setting.
    Anyway, go to barebones software's web site and download the free application TextWrangler. It's just a text editing program. BBedit will do the job too but I'm assuming you don't have that.
    In TextWrangler, set up a document with a 60 character width (open a new document, go to Edit-->Text Options... and check "Soft Wrap Text" and under the "to character width" option put "60" in the box).
    You can save this document with a silly name so you don't have to create it every time you want to format a mail.
    Next, either compose a mail in the document or paste your text into it.
    It will be 60 characters wide at this point, but the breaks will be "soft"; you need to go to Text-->Add Line Breaks. Now you can copy your text and paste it into an email.
    This sounds like a lot of steps but it is easy. You could probably Applescript it.
    Anyway, there is probably a much better answer to your question, but I didn't want to leave you hanging longer. Once your problem leaves the front page it gets less and less attention.
    Also, note that in Mail preferences you can find the option to compose and send mails as plain text rather than rich text.
    G4 933 mhz Quicksilver   Mac OS X (10.4.8)   Wacom Intuos 2 tablet; Epson 2400 Photo; HP Deskjet 6840; LaCie 80gb D2 FWDV

  • What is the maximal line length of type any internal table

    Dear all,
    who can tell me what is the maximal line length of type any internal table.
    Thanks!

    There is no limit to the record length of an internal table.
    There is overall memory limit for every program (as setup by your basis). So, depending on the width of the ITAB, the number of records in ITAB is limited by the assigned memory.

  • Max line and Max line length restriction in FTP

    Hi all,
    We are using a FTP adapter in our BPEL service to read the input files from a FTP server location.
    Our service fails when the input file has more than 99 lines or if the length of the line exceeds 9 characters.
    i.e:
    Max allowed characters in a line (Max line length) is 9
    Max allowed lines in the file is 99
    If the above limit is exceeded we get the error saying that the FTP authentication failed or permission denied error.
    Do we need to set the Max line length and Max line parameters anywhere in weblogic console or in JCA properties.
    Kindly help us resolve the issue. Thanks in advance.
    Regards,
    Balaji R

    We do not have any schema for the file data since we are reading the file content as attachment.

  • How can i plot a histogram with using the results of Line Length

    PLS HELP.How can i prepare a histogram with using the results of line length code(It is somewhere in the middle).
    This is a final exam take-home question. I would appreciate if you can help?
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import java.text.*;
    import java.io.File;
    public class WordAnalyser extends JFrame implements ActionListener
    private JMenuItem jmiAc, jmiSil, jmiCikis, jmiAnaliz, jmiHakkinda, jmiKullanim;
    private JTextArea jta1, jta2;
    private JFileChooser jFileChooser = new JFileChooser();
    File hafizada;
    File aktarilan = new File("Sonuc.txt");
    // Main method
    public static void main(String[] args)
    WordAnalyser frame = new WordAnalyser(); /* Ana ekran olusturulur */
    frame.setSize(400, 300); /* Degerleri belirlenir */
    frame.setVisible(true); /* Gorunebilirligi ayarlanir */
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    public WordAnalyser()
    setTitle("Serkan Ozgen Dosya Inceleme Programina Hos Geldiniz");
    JMenuBar mb = new JMenuBar();
    setJMenuBar(mb);
    JMenu fileMenu = new JMenu("Dosya");
    fileMenu.setMnemonic('F');
    mb.add(fileMenu);
    JMenu helpMenu = new JMenu("Degerlendirme");
    helpMenu.setMnemonic('H');
    mb.add(helpMenu);
    JMenu kullanimMenu = new JMenu("Kullanim Kilavuzu");
    mb.add(kullanimMenu);     
    fileMenu.add(jmiAc = new JMenuItem("Ac", 'A'));
    fileMenu.add(jmiSil = new JMenuItem("Sil", 'S'));
    fileMenu.add(jmiCikis = new JMenuItem("Cikis", 'C'));
    helpMenu.add(jmiAnaliz = new JMenuItem("Analiz", 'D'));
    helpMenu.add(jmiHakkinda = new JMenuItem("Hakkinda", 'H'));
    kullanimMenu.add(jmiKullanim = new JMenuItem("Kullanim"));     
    getContentPane().add(new JScrollPane(jta1 = new JTextArea()), BorderLayout.CENTER);
    getContentPane().add(jta2 = new JTextArea(), BorderLayout.SOUTH);
    jmiAc.addActionListener(this);
    jmiSil.addActionListener(this);
    jmiCikis.addActionListener(this);
    jmiAnaliz.addActionListener(this);
    jmiHakkinda.addActionListener(this);
    jmiKullanim.addActionListener(this);
    public void actionPerformed(ActionEvent e)
    String actionCommand = e.getActionCommand();
    if (e.getSource() instanceof JMenuItem)
    if ("Ac".equals(actionCommand))
    Ac();
    else if ("Sil".equals(actionCommand))
    Sil();
    else if ("Cikis".equals(actionCommand))
    System.exit(0);
    else if ("Analiz".equals(actionCommand))
    sayim();
    else if ("Hakkinda".equals(actionCommand))
    JOptionPane.showMessageDialog(this,
    "!!!! Bu program text analizi gerceklestirir. Her hakki saklidir SERKAN OZGEN!!!!",
    "Bu program hakkinda",
    JOptionPane.INFORMATION_MESSAGE);
    else if ("Kullanim".equals(actionCommand))
         JOptionPane.showMessageDialog(this,
         " Ilk once dosya menusunden Ac i tiklayarak analiz etmek istediginiz Dosyayi seciniz (Lutfen uzantisi *.txt \nveya *.log olsun). Daha sonra Degerlendirme menusunden analizi tiklarsaniz dosyanizda kac adet rakam, harf, \ncumle ve kelime oldugunu gorebilirsiniz. Simdiden kolay gelsin",
         "Programin kullanim detaylari",
         JOptionPane.INFORMATION_MESSAGE);
    private void Ac()
    if (jFileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION)
    hafizada = jFileChooser.getSelectedFile();
    Ac(hafizada);
    // Acilan Dosyayi ana ekranda gostermeye yariyan bir method
    private void Ac(File file)
    try
    // Acilan dosyayi okuma ve ana ekranda gosterme
    BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));
    byte[] b = new byte[in.available()];
    in.read(b, 0, b.length);
    jta1.append(new String(b, 0, b.length));
    in.close();
    catch (IOException ex)
    // Temizle tusunun hangi ekranlara etki edecegini secme
    private void Sil()
    jta1.setText("");
    jta2.setText("");
    private void sayim()
    int buff;
    int sayac = 0;
    int Cumleler = 0;
    int Kelimeler = 0;
    int Karakterler = 0;
    int Satirlar = 0;
    int Rakamlar = 0;     
    boolean start = true;
    int linenum = 0;     
    try
    FileInputStream instream = new FileInputStream(hafizada);
    FileOutputStream outstream = new FileOutputStream(aktarilan);
         BufferedReader infile = new BufferedReader(new InputStreamReader(new FileInputStream(hafizada)));
    PrintStream out = new PrintStream(outstream);
         out.println("---Kelime Avcisinin Sonuclari---");
         String line = infile.readLine();
         while (line != null){
         int len = line.length();
         linenum++;
         line = infile.readLine();
         out.println("Line Length :"     + linenum + "\t" +len);
    while ((buff=instream.read()) != -1)
    switch((char)buff)
    case '?': case '.': case '!': /* Eger "?", "." veya "!" gorurse program cumleleri ve kelimeleri arttirir*/
    if (start == false)
    Cumleler++;
    Kelimeler++;
    start = true;
    break;
    case ' ': case '\t': case ',': case ';': case ':': case'\"': case'\'': /* Eger /t,;:\ ve \" bu isarteleri goruruse program kelimeleri arttirir */
    if (start == false)
    Kelimeler++;
    start = true;
    break;
              case 'n': case '\n': /* Eger \n gorurse satirlari arttirir */
              if (start == false)
                   Satirlar++;
                   Kelimeler++;
                   start = true;
              break;
    default:
    if (((char)buff >= 'a' && (char)buff<='z')|| /*a-z, A-Z veya - degerlerini gorurse karakterler arttirilir */
    ((char)buff >= 'A' && (char)buff<='Z')||
    ((char)buff == '-'))
    Karakterler++;
    if ((Kelimeler % 50) == 49)
    if (start == true)
                   out.println();     
    out.print((Kelimeler+1) + " ");
    out.print((char)buff);
    start = false;
              if ((char)buff >='0' && (char)buff <='9') {  /* 0-9 gorurse rakamlari arttiri */
                   Rakamlar++; }
    }// switch
         }//while
    instream.close();
    out.println();
    out.println();
    out.println("Karakter sayisi: " + Karakterler);
         out.println("Kelime sayisi: " + Kelimeler);
    out.println("Cumle sayisi: " + Cumleler);
         out.println("Satir sayisi: "+ Satirlar);
         out.println("Rakam sayisi: "+ Rakamlar);
    outstream.close();
    try
    BufferedInputStream in = new BufferedInputStream(new FileInputStream(aktarilan));
    byte[] b = new byte[in.available()];
    in.read(b, 0, b.length);
    jta2.append(new String(b, 0, b.length));
    in.close();
    catch (IOException ex)
    catch (Exception e)
    System.out.println(e);
    }

    Why is it that you're not interested in IOExceptions?
    catch (IOException ex)
    } Empty catch blocks is a hallmark of foolish Java code. At least print out the stack trace.
    %

  • 10g - report object - filename property length limit

    I am posting this in the hopes that I can stop someone from beating their head against their desk for a couple of days like I did.
    In 10g forms (9.0.4.2.0), for a report object, there seems to be a limit to the length of the filename property - 79 characters. When it hits 80 characters, at runtime I get a "FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration"... error. Clicking the details button will show expanded info indicating a java exception "oracle.forms.net.ConnectionException: Forms session <x> aborted: unable to communicate with runtime process".
    It would be nice if help for the filename property could include the length limit.
    Gary

    Thanks for your attention.
    Gary
    P.S. Thanks also for your write-up and javabean code on your blog regarding how to open a report in a new window with titlebar, etc disabled. Works like a charm.

  • Custom fields and line length in Address Book

    Hi everyone. Does anyone know how to alter the permitted line length of a label in Address Book? If I create a custom label the label will be truncated if it is too long. This does not seem necessary as there can be loads of blank space to the right of the card window. In other words the label will not resize dynamically to accommodate a long custom label. I have a feeling that you may be able to edit a .plist file in the Package to adjust the default number of characters the label can have, but I'm a bit nervous about poking about when I'm not too knowledgeable. Any ideas?

    In other words the label will not resize dynamically to accommodate a long custom label.
    Of course not. You've chosen a specific label style/size, so if it were to resize dynamically, that would cause text to print where there is no label stock.
    You cannot edit any file to change the number of characters per label; at best, you could creae your own label size and define the margins, but that's it.
    Mulder

  • Calculating line length in Java

    Hi all;
    I've been using LineBreakMeasurer & AttributedString to measure line lengths. However, I now need to take into account:
    Small Caps
    Scaling (making each character thinner/wider).
    Spacing (adding/subtracting space after each character).
    Hyphenation, where line breaks can occur at specific places within words.
    Is there a way to do this using Java? The two fundamental things I need to get is:
    How long is a passed in string.
    For a passed in string and length, how many characters of the string fits in that length.
    I can do this using LineBreakMeasurer & AttributedString and calling it character by character. But is there a better way?
    thanks - dave

    Hi, Have you had a look at the FontMetrics class? That might be an option.

  • URGENT:  vertical lines length in the Mainwindow in smartforms

    hI,
            In main window 4 vertical lines are there like.. below
    item | material no.er | mat.desc |  quantity |  total price
           |                      |                |              |
    Now the problem is:  these vertical lines entered into the next below window.. Now I want to reduce the length of these vertical lines.
      Please explain where can I reduce  to these vertical lines length.
    Thanks and Regards,
    Surya

    Hi,
    in the beginning of the report program:
    report  <program_name> line-size <give the length say eg:150>.
    <b>reward points if useful.</b>
    regards,
    Vinod Samuel.

  • How can I establish a line length (72 chars) and get TB to wordwrap at that length?

    I would like to establish a line length for email that I compose or receive. How can I do that? How can I get TB to wordwrap at that length and not some shorter length?

    I did that - and found several items for wrap.
    All except the one noted - mailnews.wraplength - have a status of default, type boolean and value false.
    mail.compose.wrap_to_window_width
    mail.wrap_long_lines
    plain_text.wrap_long_lines
    view_source.wrap_long_lines
    mailnews.wraplength
    status: default
    type: integer
    value: 72
    I promised to be careful, so a last check here - can I change that value to 80 or 50 or something other than 72 without messing up Thunderbird?
    Thanks,
    Terry_S

  • Line Out (Lime Color) Right Side not working.

    I plugged in a 3.5m into my Line Out, I have it connected to my stero aux. My stero is working fine and everything with the sound is working right. No shortage in my wires. When I plug it into my Headphone jack it works fine but in my line out the right side only works but the left side sounds really really low. I have adjusted the levels and balance.
    I think that the Maufacture must of missed up on the line out size. That's the only thing I can come up with.

    this has happened to me. What part do I need to ask for in the shop. My sound was muffled, but I removed the speaker plug from the back and put it in the headset in the front and the whole thing is great now. I just need to now what part I need to ask for so I can fix it. I will google how to do it.
    7 - Audio: Line Out (lime)
    Heres my specks
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01486318&lang=en&cc=us&taskI...

  • Maximum line length in JTextAreas/Documents ?

    Hi there,
    apparently JTextAreas may not hold text with lines more than 32776 characters
    (with line length I mean distance between line breaks :-). Is this a documented limitation or did I trap into a bug?
    (Happened with 1.3.x and 1.4.x, Linux and Windows).
    Kind Regards,
    --Holger Klwitter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    See: [http://kenhamady.com/cru/archives/1240|http://kenhamady.com/cru/archives/1240]

  • Question: why default line length as 72 ?

    hello everyone,
    i was just adviced to stick to default line length in abap editor as 72 [which ABAP recommends too] or else in complex and lengthy programs it will generate core dump !!
    is it true ?
    and why it is adviced to stick to 72 length  and not greater than that and why it will give core dump ??
    thanks in advance

    @Rohan,
    ABAP is not new language. It old language and intiallly it support the 72 character per row. Which is the non graphical display support maximum 80 column per row and each row has begin some previlage space around the 8 characters. 
    But after each release and graphical display come to exist, It support more then 72 character per line, it is not mandatory but in case of dynamic program(program generate runtime). it has internal check  character per rows should not be 72 character/line. For dynamic program you should have to restict the line size which should not go beyond the 72 character.
    Kind Regards
    Ravishankar Lanjewar
    Moderator Message: Please check the date of the original post before replying. Thread locked.
    Message was edited by: Suhas Saha

  • ExternalInterface.call String parameter length limit???

    Is there a String length limit to the amount of chars a
    String can contain when passed as a parameter to
    ExternalInterface.call()?
    Also, are there any chars that ExternalInterface.call()
    cannot serialize in a string?? Like \n, \t ...etc.
    The livedocs don't answer these questions.

    thanks for your reply but i just figured it out.
    ExternalInterface.call("jsFunc", longString);
    There is seems to be no char limit that i came across cause i
    was able to shove 2K in there.
    The problem is the newlines in the string, they must get
    messed up during serialization. Just make sure you clean the string
    of newlines like so:
    longString = longString.split("\r").join("
    ").split("\n").join(" ");
    ExternalInterface.call("jsFunc", longString);
    works fine......

  • Arrowhead adds to line length?

    Ai 10.0.3
    OSX 10.3.4
    I am trying to dimension some signage for a set of architectural plans. Previously I had always used 'Filter > Stylize > Add Arrowheads...' to do this. Recently I've found that arrowheads are also available under 'Effect > Stylize > Add Arrowheads...'. I really enjoy all the live effects and the ability to edit them after the fact as well as preview when first creating them. I particularly enjoy the live arrows from the standpoint that when I move the line endpoint, the arrowhead automatically reorients to the correct angle.
    That's all good, but on to the problem. Both types of arrowheads do NOT fall within the original line endpoints. It boggles my mind why someone would design arrowheads to behave this way? It obviously makes dimensioning very difficult and time consuming. Instead of snapping to the endpoints of some artwork or using the transform palette to numerically enter a distance, compensations have to constantly be made for the length of the arrow.
    I've always had to do this with the 'filter arrows'. It was a pain, but since the arrow was actually artwork, I could get info about it concerning how much length it added. The 'live arrows' do not even provide this level of workaround because being 'live', they are not selectable as artwork without expanding their appearance, which removes their 'live' characteristics.
    Question? My question is this - does anyone know of a method whereby the arrowhead (live or filter) does NOT add to the overall line length? Has anyone come across another, more efficient workaround to what I've been trying.
    I know of one fairly elegant solution in plugin form - HotDoor CadTools. I would love to be able to use that for a number of reasons, but have not been able to get management approval for purchase. So in the meantime, any help would be greatly appreciated.
    Thanks.

    > How is it possible to add your own symbol to the start and end of a path...
    I have long argued that anything you define as a Symbol (in the Symbols Palette) should be made available for application as Arrowheads. Meanwhile, try this to get a basic principle down:
    1. Rectangle Tool: ClickShiftDrag to draw a small square.
    2. DoubleClick the rotate tool to rotate the square 45 degrees.
    3. Press the minus key to get the Remove Point Tool. Click the leftmost point to delete it. You now have a right-pointing triangle. Give it a fill of none, solid stroke.
    4. Drag the triangle and drop it into the Brushes Palette. In the resulting dialog, choose Pattern Brush.
    5. Drag the new Pattern Brush from the Brushes Palette onto the page.
    6. Note that the bounding box of the triangle is rectangular. This is a Group which contains two objects: The triangle you drew, and an unfilled, unstroked rectangle, which is under the triangle in the stacking order. This invisible rectangle is what determines the "tile size" of the artwork when it is used in the Brush.
    7. With the DirectSelect Pointer, press Alt and drag across where you know there is an edge of the invisible rectangle, without dragging across the triangle. This "directSelects" the whole rectangular path.
    8. Transform Palette: Click one of the right points of the 9-point proxy icon. Then set the Width to some small value, like 1 pt. (but not to zero).
    9. Deselect. Then normal-select the whole group. Press Alt. Drag and drop the group onto the End Tile of your Pattern Brush.
    10. The Group is still on the page. DoubleClick the Rotate tool and rotate it 180 degrees. AltDrag and drop this onto the Start Tile of your Pattern Brush.
    11. Rectangle Tool: Draw a small square. Fill of none. Stroke of none. AltDrag and drop this onto the Side Tile of your Pattern Brush (the tile where the very first triangle originally appeared when you first defined the Brush. This replaces the Side Tile of the Brush with, effectively, nothing.
    Now try it out:
    12. Line Tool: Draw a line. Apply the Brush. Note that the "arrowheads" are positioned very near the ends of the path, instead of protruding out beyond them as do AI's normal Arrowheads.
    13. DirectSelect one endpoint of the path. Drag it nearer and nearer the other end. Note that even when it gets very near, the triangles retain their shape. Drag even closer until the two triangles actually overlap. Still they retain their proportion (within a very small variance--it's a function of how narrow you made the invisible box. If, however, you had given the width of the invisible box a value of zero, the end tiles would distort when the path is very short.)
    14. Now draw another line or curvey path. Apply the Brush. Expand Appearance. Ungroup. Note that the invisible box you used to define the Side Tiles did not result in a bunch of invisible boxes along the length of the path. (This is a good thing.)
    15. So now you have custom arrowheads. But the length of the path is invisible. Appearance Palette: Add New Stroke. Make the new stroke whatever color, width you want. Drag the whole path to the Graphic Styles Palette to define a Style which you can apply to other paths with one click.
    All this convoluted bother is
    almost like a custom arrowheads feature common in som many other drawing programs. But it is not perfect. If the path is tightly curved at either of its endpoints, the End and Start Tiles artwork will still deform in an attempt to bend around the curve. In most cases, you can circumvent this by placing a short straight segment beyond the curvepoint.
    Again: Illustrator need these improvements:
    The existing Arrowheads Effect dialog needs to be changed to simply include popup menus showing the currently defined Symbols, and a little preview frame that lets you position the Symbol in relation to the endpoint of the path.
    The Brush Options dialog for Pattern Brushes needs to be given a checkbox which disallows distortion of end tiles.
    JET

Maybe you are looking for

  • Slow Performance on Mac..!!!

    hi people. purchased a 30GB, 5G iPod from authorised apple reseller in my country. - It takes quite a long time to be recognized by iTunes (version 6.0.3) on my G4 (933 MHz, 1 GB RAM, OS X 10.4.3) whereas on the PC at work it reads it automatically.

  • BBC iPlayer no longer works on iPhone (UK)

    Have been able to access and play BBC iPlayer content without any problem for ages but it has stopped working. When I tap the click to play button it will play the sound but video will no longer load - just sits there on splash screen with Play butto

  • File getting Delayed

    Hi, My scenario is that daily I am getting one file at a specified time but sometime that file gets delayed by 3 hour or 4 hours. when I check log in moni  I get following. Where I can see that the message took time in DB_ENTRY_QUEUING. <SAP:Name typ

  • Require more than 10 addtional fields in CAC2 for display in CAt2

    Hi , We have a requirement to have more than 10 additional fields in CAC2 , SAP provides only 10 additional field. Anyone has an idea how to do it. Thanks Ira

  • Issue with user running Outlook on Windows XP

    We are having an issue with many of our users who have had their sent items disappear from Outlook. We are running Exchange 2010 SP2 with Rollup 8. All users on Windows 7 appear to be working fine, it is just users on XP that are having the issue. Al