modes.c (2a4562393f80633b81c11d4f7df00548d1cc3c48) | modes.c (3617ddfc33101e0c75cac231ca0c335f8182fa99) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 177 unchanged lines hidden (view full) --- 186 187struct modes omodes[] = { 188 { "opost", OPOST, 0 }, 189 { "-opost", 0, OPOST }, 190 { "litout", 0, OPOST }, 191 { "-litout", OPOST, 0 }, 192 { "onlcr", ONLCR, 0 }, 193 { "-onlcr", 0, ONLCR }, | 1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 177 unchanged lines hidden (view full) --- 186 187struct modes omodes[] = { 188 { "opost", OPOST, 0 }, 189 { "-opost", 0, OPOST }, 190 { "litout", 0, OPOST }, 191 { "-litout", OPOST, 0 }, 192 { "onlcr", ONLCR, 0 }, 193 { "-onlcr", 0, ONLCR }, |
194 { "ocrnl", OCRNL, 0 }, 195 { "-ocrnl", 0, OCRNL }, |
|
194 { "tabs", 0, OXTABS }, /* "preserve" tabs */ 195 { "-tabs", OXTABS, 0 }, 196 { "oxtabs", OXTABS, 0 }, 197 { "-oxtabs", 0, OXTABS }, | 196 { "tabs", 0, OXTABS }, /* "preserve" tabs */ 197 { "-tabs", OXTABS, 0 }, 198 { "oxtabs", OXTABS, 0 }, 199 { "-oxtabs", 0, OXTABS }, |
200 { "onocr", ONOCR, 0 }, 201 { "-onocr", 0, ONOCR }, 202 { "onlret", ONLRET, 0 }, 203 { "-onlret", 0, ONLRET }, |
|
198 { NULL }, 199}; 200 201#define CHK(s) (*name == s[0] && !strcmp(name, s)) 202 203int 204msearch(argvp, ip) 205 char ***argvp; --- 37 unchanged lines hidden --- | 204 { NULL }, 205}; 206 207#define CHK(s) (*name == s[0] && !strcmp(name, s)) 208 209int 210msearch(argvp, ip) 211 char ***argvp; --- 37 unchanged lines hidden --- |